diff options
Diffstat (limited to 'python/pyscard/pyscard.SlackBuild')
-rw-r--r-- | python/pyscard/pyscard.SlackBuild | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/python/pyscard/pyscard.SlackBuild b/python/pyscard/pyscard.SlackBuild index 70026bff19..78adc790a0 100644 --- a/python/pyscard/pyscard.SlackBuild +++ b/python/pyscard/pyscard.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyscard -VERSION=${VERSION:-2.2.2} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -67,13 +64,11 @@ find -L . \ python3 setup.py install --root=$PKG -# Strip binaries and libraries. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -# Build additional documentation if [ "${DOCS:-no}" != "no" ]; then sphinx-build src/smartcard/doc $PKG/usr/doc/$PRGNAM-$VERSION/html rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,.doctrees,objects.inv} @@ -84,10 +79,8 @@ cp -aR \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Copy the slack-desc into ./install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -# Make the package cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |