From 525296d08027fd237883862ef58cad2ebfebe5c6 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 8 Jun 2023 01:21:15 +0700 Subject: python/PyPDF2: Update source. Signed-off-by: Willy Sudiarto Raharjo --- python/PyPDF2/PyPDF2.SlackBuild | 10 ++++------ python/PyPDF2/PyPDF2.info | 6 +++--- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'python/PyPDF2') diff --git a/python/PyPDF2/PyPDF2.SlackBuild b/python/PyPDF2/PyPDF2.SlackBuild index 50ecac0f2e..9e67b2f982 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 7350b3e4f9..fafde12aaa 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="" -- cgit v1.2.3-65-gdbad