aboutsummaryrefslogtreecommitdiff
path: root/python/pyscard
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyscard')
-rw-r--r--python/pyscard/pyscard.SlackBuild9
-rw-r--r--python/pyscard/pyscard.info6
2 files changed, 4 insertions, 11 deletions
diff --git a/python/pyscard/pyscard.SlackBuild b/python/pyscard/pyscard.SlackBuild
index 96ca75041d..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.1}
+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
diff --git a/python/pyscard/pyscard.info b/python/pyscard/pyscard.info
index 8839f70b9d..2b5af40417 100644
--- a/python/pyscard/pyscard.info
+++ b/python/pyscard/pyscard.info
@@ -1,8 +1,8 @@
PRGNAM="pyscard"
-VERSION="2.2.1"
+VERSION="2.3.0"
HOMEPAGE="https://pyscard.sourceforge.io/"
-DOWNLOAD="https://github.com/LudovicRousseau/pyscard/archive/2.2.1/pyscard-2.2.1.tar.gz"
-MD5SUM="7c306dc3b6a50127539ce6283711569e"
+DOWNLOAD="https://github.com/LudovicRousseau/pyscard/archive/2.3.0/pyscard-2.3.0.tar.gz"
+MD5SUM="1c4252e6b6a030a639ed097d1f84fd26"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pcsc-lite"