python/python-precis-i18n: Updated for version 1.1.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
c0f3e5ee3f
commit
eb8aaa2a86
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
# Slackware build script for python-precis-i18n
|
# 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.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=python-precis-i18n
|
PRGNAM=python-precis-i18n
|
||||||
SRCNAM="$(echo "$PRGNAM" | sed 's/python-//' | tr - _)"
|
SRCNAM="$(echo "$PRGNAM" | sed 's/python-//' | tr - _)"
|
||||||
VERSION=${VERSION:-1.0.5}
|
VERSION=${VERSION:-1.1.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -48,20 +49,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
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
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
CHANGELOG.rst LICENSE.txt README.rst \
|
CHANGELOG.md LICENSE.txt README.md \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="python-precis-i18n"
|
PRGNAM="python-precis-i18n"
|
||||||
VERSION="1.0.5"
|
VERSION="1.1.0"
|
||||||
HOMEPAGE="https://pypi.org/project/precis-i18n/"
|
HOMEPAGE="https://pypi.org/project/precis-i18n/"
|
||||||
DOWNLOAD="https://files.pythonhosted.org/packages/67/f8/cee056e175b6975cc14affc3d492aa7d3464d154e0011d627e27ec5df0bc/precis_i18n-1.0.5.tar.gz"
|
DOWNLOAD="https://files.pythonhosted.org/packages/ac/bc/189db10d33239407f753a9551cc3c113e00062be8c85d1f76cebaeb4f292/precis_i18n-1.1.0.tar.gz"
|
||||||
MD5SUM="0554002403b4c5e2e64f9374e80aee23"
|
MD5SUM="1faee59bb311dc7e7ea5c0a1bfb077fe"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in New Issue