mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
python/pyPdf: Updated for version 1.25.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
452f9c8a5c
commit
ac3d5d6552
2 changed files with 14 additions and 11 deletions
|
@ -1,8 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Slackware build script for pyPdf.
|
# Slackware build script for pyPdf.
|
||||||
#
|
|
||||||
# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it>
|
# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it>
|
||||||
|
# Copyright 2015 Brenton Earl <brent@exitstatusone.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,10 +24,12 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=pyPdf
|
PRGNAM=pyPdf
|
||||||
VERSION=1.13
|
VERSION=1.25.1
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
SRCDIRNAM=PyPDF2
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
|
@ -40,7 +43,7 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
DOCS="PKG-INFO README"
|
DOCS="CHANGELOG LICENSE README.md"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -48,8 +51,8 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $SRCDIRNAM-$VERSION
|
||||||
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="pyPdf"
|
PRGNAM="pyPdf"
|
||||||
VERSION="1.13"
|
VERSION="1.25.1"
|
||||||
HOMEPAGE="http://pybrary.net/pyPdf/"
|
HOMEPAGE="https://mstamy2.github.io/PyPDF2/"
|
||||||
DOWNLOAD="http://pybrary.net/pyPdf/pyPdf-1.13.tar.gz"
|
DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/v1.25.1.tar.gz"
|
||||||
MD5SUM="7a75ef56f227b78ae62d6e38d4b6b1da"
|
MD5SUM="c129a049d6612ea9aa06aac7fe10252b"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
MAINTAINER="Marco Bonetti"
|
MAINTAINER="Brenton Earl"
|
||||||
EMAIL="sid77@slackware.it"
|
EMAIL="brent@exitstatusone.com"
|
||||||
|
|
Loading…
Reference in a new issue