]> git.t-rg.ws Git - slackbuilds.git/commitdiff
pyscard: updated to version 2.2.0
authorfsLeg <fsleg@t-rg.ws>
Sat, 30 Nov 2024 19:03:03 +0000 (22:03 +0300)
committerfsLeg <fsleg@t-rg.ws>
Sat, 30 Nov 2024 19:03:03 +0000 (22:03 +0300)
pyscard/pyscard.SlackBuild
pyscard/pyscard.info

index 2ee31cb2585a689100a5ec5ee8d68e2ced971487..ba400b9047e2e878ce30736b72be3472f51d8ed7 100755 (executable)
@@ -25,7 +25,7 @@
 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}
@@ -75,14 +75,12 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
 
 # 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
 
index d45bf7fdd21768a15e07f0af86edf94040dbb7d4..37229c829f5b260c938f22a12f17fe422728cefd 100644 (file)
@@ -1,8 +1,8 @@
 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"