diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-08 01:21:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-08 01:21:15 +0700 |
commit | 525296d08027fd237883862ef58cad2ebfebe5c6 (patch) | |
tree | 62a1e8e91ebe1bc2f8e0c0e6d3a2fe2cfa1ebe4e /python/PyPDF2 | |
parent | 3d4cf4f31cee5d4cacbc26ab8b444a05820d9bae (diff) |
python/PyPDF2: Update source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/PyPDF2')
-rw-r--r-- | python/PyPDF2/PyPDF2.SlackBuild | 10 | ||||
-rw-r--r-- | python/PyPDF2/PyPDF2.info | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/python/PyPDF2/PyPDF2.SlackBuild b/python/PyPDF2/PyPDF2.SlackBuild index 50ecac0f2eda4..9e67b2f9822d2 100644 --- a/python/PyPDF2/PyPDF2.SlackBuild +++ b/python/PyPDF2/PyPDF2.SlackBuild @@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPDF2 +SRCNAM=pypdf VERSION=${VERSION:-1.26.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,9 +40,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 @@ -73,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/python/PyPDF2/PyPDF2.info b/python/PyPDF2/PyPDF2.info index 7350b3e4f9577..fafde12aaa9af 100644 --- a/python/PyPDF2/PyPDF2.info +++ b/python/PyPDF2/PyPDF2.info @@ -1,8 +1,8 @@ PRGNAM="PyPDF2" VERSION="1.26.0" -HOMEPAGE="https://mstamy2.github.io/PyPDF2/" -DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/1.26.0/PyPDF2-1.26.0.tar.gz" -MD5SUM="3959e3a15606e4b6c0405487cefb4e21" +HOMEPAGE="https://github.com/py-pdf/pypdf/" +DOWNLOAD="https://github.com/py-pdf/pypdf/archive/refs/tags/1.26.0/pypdf-1.26.0.tar.gz" +MD5SUM="4c098ae57c6e189c3d8cfc2a8638426e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |