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=""