summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-01-24 13:01:16 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:59:05 +0700
commit34afb764dace11b9669551bdbd611be288c39f19 (patch)
treeb5f2abd86b9cbeb7843cf58c00e31d6cd2c22ba4 /python
parent49cbf80282164b8b362bacb3e76edcfbb9e08cff (diff)
downloadslackbuilds-34afb764dace11b9669551bdbd611be288c39f19.tar.gz
python/affine: Updated for version 1.2.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python')
-rw-r--r--python/affine/affine.SlackBuild8
-rw-r--r--python/affine/affine.info6
2 files changed, 5 insertions, 9 deletions
diff --git a/python/affine/affine.SlackBuild b/python/affine/affine.SlackBuild
index d8c7cb41e5..ab541a8497 100644
--- a/python/affine/affine.SlackBuild
+++ b/python/affine/affine.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=affine
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,11 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/python/affine/affine.info b/python/affine/affine.info
index 7bb764d3fd..0007f58f3e 100644
--- a/python/affine/affine.info
+++ b/python/affine/affine.info
@@ -1,8 +1,8 @@
PRGNAM="affine"
-VERSION="1.0"
+VERSION="1.2.0"
HOMEPAGE="https://github.com/sgillies/affine"
-DOWNLOAD="https://pypi.python.org/packages/source/a/affine/affine-1.0.tar.gz"
-MD5SUM="6076a7f052e08d191865c00af0fdad30"
+DOWNLOAD="https://github.com/sgillies/affine/archive/1.2.0.tar.gz"
+MD5SUM="5bf3f43c667484ffc6329e0d4d22049a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""