python/python-precis-i18n: Updated for version 1.1.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Andrew Clemons 2023-12-28 21:12:18 +09:00 committed by Willy Sudiarto Raharjo
parent c0f3e5ee3f
commit eb8aaa2a86
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 7 additions and 20 deletions

View File

@ -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

View File

@ -1,8 +1,8 @@
PRGNAM="python-precis-i18n"
VERSION="1.0.5"
VERSION="1.1.0"
HOMEPAGE="https://pypi.org/project/precis-i18n/"
DOWNLOAD="https://files.pythonhosted.org/packages/67/f8/cee056e175b6975cc14affc3d492aa7d3464d154e0011d627e27ec5df0bc/precis_i18n-1.0.5.tar.gz"
MD5SUM="0554002403b4c5e2e64f9374e80aee23"
DOWNLOAD="https://files.pythonhosted.org/packages/ac/bc/189db10d33239407f753a9551cc3c113e00062be8c85d1f76cebaeb4f292/precis_i18n-1.1.0.tar.gz"
MD5SUM="1faee59bb311dc7e7ea5c0a1bfb077fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""