summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2015-11-10 23:57:19 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-14 07:07:34 +0700
commitac3d5d65520c7a061396f1312321267addc769ea (patch)
treee7214c811744ec1862d8a102095155f1f3e3cf9e
parent452f9c8a5ca87d1f9a75ba3b3c962bcd3e4e8ca1 (diff)
downloadslackbuilds-ac3d5d65520c7a061396f1312321267addc769ea.tar.gz
python/pyPdf: Updated for version 1.25.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--python/pyPdf/pyPdf.SlackBuild13
-rw-r--r--python/pyPdf/pyPdf.info12
2 files changed, 14 insertions, 11 deletions
diff --git a/python/pyPdf/pyPdf.SlackBuild b/python/pyPdf/pyPdf.SlackBuild
index 6b8268988a..8933033457 100644
--- a/python/pyPdf/pyPdf.SlackBuild
+++ b/python/pyPdf/pyPdf.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/sh
# Slackware build script for pyPdf.
-#
+
# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it>
+# Copyright 2015 Brenton Earl <brent@exitstatusone.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyPdf
-VERSION=1.13
+VERSION=1.25.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCDIRNAM=PyPDF2
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -40,7 +43,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="PKG-INFO README"
+DOCS="CHANGELOG LICENSE README.md"
set -e
@@ -48,8 +51,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $SRCDIRNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/python/pyPdf/pyPdf.info b/python/pyPdf/pyPdf.info
index 93fd50c98a..79c1996f06 100644
--- a/python/pyPdf/pyPdf.info
+++ b/python/pyPdf/pyPdf.info
@@ -1,10 +1,10 @@
PRGNAM="pyPdf"
-VERSION="1.13"
-HOMEPAGE="http://pybrary.net/pyPdf/"
-DOWNLOAD="http://pybrary.net/pyPdf/pyPdf-1.13.tar.gz"
-MD5SUM="7a75ef56f227b78ae62d6e38d4b6b1da"
+VERSION="1.25.1"
+HOMEPAGE="https://mstamy2.github.io/PyPDF2/"
+DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/v1.25.1.tar.gz"
+MD5SUM="c129a049d6612ea9aa06aac7fe10252b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Marco Bonetti"
-EMAIL="sid77@slackware.it"
+MAINTAINER="Brenton Earl"
+EMAIL="brent@exitstatusone.com"