From 23cc2353383a19c7ea9b40eaa5d61f07cf36288a Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 18 Jan 2017 23:20:57 +0000 Subject: python/pyPdf: Fixed tarball handling. Signed-off-by: David Spencer --- python/pyPdf/pyPdf.SlackBuild | 8 +++----- python/pyPdf/pyPdf.info | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'python/pyPdf') diff --git a/python/pyPdf/pyPdf.SlackBuild b/python/pyPdf/pyPdf.SlackBuild index 8facf6c0a1..8b26dd6f22 100644 --- a/python/pyPdf/pyPdf.SlackBuild +++ b/python/pyPdf/pyPdf.SlackBuild @@ -24,13 +24,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyPdf -SRCNAM=pyPDF2 +SRCNAM=PyPDF2 VERSION=${VERSION:-1.26.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCDIRNAM=PyPDF2 - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -66,9 +64,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCDIRNAM-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCDIRNAM-$VERSION +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/pyPdf/pyPdf.info b/python/pyPdf/pyPdf.info index 6f051ec010..f8b4408dce 100644 --- a/python/pyPdf/pyPdf.info +++ b/python/pyPdf/pyPdf.info @@ -1,7 +1,7 @@ PRGNAM="pyPdf" 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" +DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/1.26.0/PyPDF2-1.26.0.tar.gz" MD5SUM="3959e3a15606e4b6c0405487cefb4e21" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3