diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-19 23:38:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 23:59:30 +0700 |
commit | 57e8f4946243ceddb339521e08e208464cfc6726 (patch) | |
tree | 8f374145f4f2f91d14a998cfeafbabba41d097ba /python | |
parent | 8d48b4421183a399a80032e97072d0a32dc92f8e (diff) |
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/PyXB/PyXB.SlackBuild | 4 | ||||
-rw-r--r-- | python/ps_mem/ps_mem.SlackBuild | 4 | ||||
-rw-r--r-- | python/pyPdf/pyPdf.SlackBuild | 4 | ||||
-rw-r--r-- | python/python-ipcalc/python-ipcalc.SlackBuild | 4 | ||||
-rw-r--r-- | python/python-whisper/python-whisper.SlackBuild | 2 | ||||
-rw-r--r-- | python/python3-defusedxml/python3-defusedxml.SlackBuild | 2 | ||||
-rw-r--r-- | python/python3-dugong/python3-dugong.SlackBuild | 2 |
7 files changed, 10 insertions, 12 deletions
diff --git a/python/PyXB/PyXB.SlackBuild b/python/PyXB/PyXB.SlackBuild index 1f7c67aaac79..92097ccff2a6 100644 --- a/python/PyXB/PyXB.SlackBuild +++ b/python/PyXB/PyXB.SlackBuild @@ -59,8 +59,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf pyxb-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/pyxb-$PRGNAM-$VERSION.tar.gz cd pyxb-$PRGNAM-$VERSION chown -R root:root . find -L . \ diff --git a/python/ps_mem/ps_mem.SlackBuild b/python/ps_mem/ps_mem.SlackBuild index f77f629b1ef8..5dd178d02952 100644 --- a/python/ps_mem/ps_mem.SlackBuild +++ b/python/ps_mem/ps_mem.SlackBuild @@ -56,13 +56,11 @@ fi set -e -SRCVER="v3.6" - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCVER.tar.gz +tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ diff --git a/python/pyPdf/pyPdf.SlackBuild b/python/pyPdf/pyPdf.SlackBuild index 89330334575a..1f5f7149a504 100644 --- a/python/pyPdf/pyPdf.SlackBuild +++ b/python/pyPdf/pyPdf.SlackBuild @@ -50,8 +50,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +rm -rf $SRCDIRNAM-$VERSION +tar xvf $CWD/$SRCDIRNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $SRCDIRNAM-$VERSION chown -R root:root . diff --git a/python/python-ipcalc/python-ipcalc.SlackBuild b/python/python-ipcalc/python-ipcalc.SlackBuild index 9d274df6fc0f..9255fdcfa338 100644 --- a/python/python-ipcalc/python-ipcalc.SlackBuild +++ b/python/python-ipcalc/python-ipcalc.SlackBuild @@ -62,8 +62,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +rm -rf $SRCNAM-$SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$SRCNAM-$VERSION chown -R root:root . find -L . \ diff --git a/python/python-whisper/python-whisper.SlackBuild b/python/python-whisper/python-whisper.SlackBuild index bfdca3622c4e..175b827bda8c 100644 --- a/python/python-whisper/python-whisper.SlackBuild +++ b/python/python-whisper/python-whisper.SlackBuild @@ -63,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$SRCVER -tar xvf $CWD/$SRCVER.tar.gz +tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz cd $SRCNAM-$SRCVER chown -R root:root . find -L . \ diff --git a/python/python3-defusedxml/python3-defusedxml.SlackBuild b/python/python3-defusedxml/python3-defusedxml.SlackBuild index b2f87eb682ba..a5bdd82b6ff7 100644 --- a/python/python3-defusedxml/python3-defusedxml.SlackBuild +++ b/python/python3-defusedxml/python3-defusedxml.SlackBuild @@ -64,7 +64,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$REV -tar xvf $CWD/v$VERSION.tar.bz2 +tar xvf $CWD/v$VERSION.tar.bz2 || tar xvf $CWD/$SRCNAM-$REV.tar.bz2 cd $SRCNAM-$REV chown -R root:root . find -L . \ diff --git a/python/python3-dugong/python3-dugong.SlackBuild b/python/python3-dugong/python3-dugong.SlackBuild index f743d393b508..08603f2ff2fd 100644 --- a/python/python3-dugong/python3-dugong.SlackBuild +++ b/python/python3-dugong/python3-dugong.SlackBuild @@ -64,7 +64,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$REV -tar xvf $CWD/release-$VERSION.tar.bz2 +tar xvf $CWD/release-$VERSION.tar.bz2 || tar xvf $CWD/$SRCNAM-$REV.tar.bz2 cd $SRCNAM-$REV chown -R root:root . find -L . \ |