From eb8aaa2a862d23c191e679e1b383a864ba646e8a Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Thu, 28 Dec 2023 21:12:18 +0900 Subject: python/python-precis-i18n: Updated for version 1.1.0. Signed-off-by: Andrew Clemons --- .../python-precis-i18n.SlackBuild | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'python/python-precis-i18n/python-precis-i18n.SlackBuild') diff --git a/python/python-precis-i18n/python-precis-i18n.SlackBuild b/python/python-precis-i18n/python-precis-i18n.SlackBuild index b9ce08491b..19b04c9f80 100644 --- a/python/python-precis-i18n/python-precis-i18n.SlackBuild +++ b/python/python-precis-i18n/python-precis-i18n.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for python-precis-i18n -# Copyright 2019-2023 Andrew Clemons, Wellington New Zealand +# Copyright 2019-2022 Andrew Clemons, Wellington New Zealand +# Copyright 2023 Andrew Clemons, Tokyo Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-precis-i18n SRCNAM="$(echo "$PRGNAM" | sed 's/python-//' | tr - _)" -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -84,7 +71,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGELOG.rst LICENSE.txt README.rst \ + CHANGELOG.md LICENSE.txt README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3