cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pyscard
-VERSION=${VERSION:-2.0.10}
+VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-fsleg}
PKGTYPE=${PKGTYPE:-txz}
# Build additional documentation
if [ "${DOCS:-no}" != "no" ]; then
- cd smartcard/doc
- make html
- cp -aR _build/html $PKG/usr/doc/$PRGNAM-$VERSION/
- cd ../..
+ sphinx-build src/smartcard/doc $PKG/usr/doc/$PRGNAM-$VERSION/html
+ rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,.doctrees}
fi
cp -aR \
- ACKS ChangeLog LICENSE TODO README.md smartcard/Examples \
+ ACKS ChangeLog LICENSE TODO README.md src/smartcard/Examples \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
PRGNAM="pyscard"
-VERSION="2.0.10"
+VERSION="2.2.0"
HOMEPAGE="https://pyscard.sourceforge.io/"
-DOWNLOAD="https://github.com/LudovicRousseau/pyscard/archive/2.0.10/pyscard-2.0.10.tar.gz"
-MD5SUM="96ea193949b739b6e3e7e65dbc41c4dd"
+DOWNLOAD="https://github.com/LudovicRousseau/pyscard/archive/2.2.0/pyscard-2.2.0.tar.gz"
+MD5SUM="7774ddaec1c9c367030ae2a0150b576b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pcsc-lite"