summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/pySmartDL/README1
-rw-r--r--python/pySmartDL/pySmartDL.SlackBuild12
-rw-r--r--python/pySmartDL/pySmartDL.info8
3 files changed, 12 insertions, 9 deletions
diff --git a/python/pySmartDL/README b/python/pySmartDL/README
index f131528165..9313c1e5e6 100644
--- a/python/pySmartDL/README
+++ b/python/pySmartDL/README
@@ -8,5 +8,6 @@ Main features:
- Pause/Unpause feature.
- Hash checking.
- Non-blocking, shows progress bar, download speed and eta.
+- Python 3 Support
Documentation: http://itaybb.github.io/pySmartDL/
diff --git a/python/pySmartDL/pySmartDL.SlackBuild b/python/pySmartDL/pySmartDL.SlackBuild
index 3c2a2177a6..7ad3deb458 100644
--- a/python/pySmartDL/pySmartDL.SlackBuild
+++ b/python/pySmartDL/pySmartDL.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pySmartDL
-VERSION=${VERSION:-1.1.2}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,14 +71,16 @@ find -L . \
python setup.py install --root=$PKG
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+fi
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp "-a" \
- README.md PKG-INFO ChangeLog.txt LICENSE.txt \
- docs/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md PKG-INFO ChangeLog.txt LICENSE.txt docs/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/pySmartDL/pySmartDL.info b/python/pySmartDL/pySmartDL.info
index 8e6b17f60f..16d5533342 100644
--- a/python/pySmartDL/pySmartDL.info
+++ b/python/pySmartDL/pySmartDL.info
@@ -1,10 +1,10 @@
PRGNAM="pySmartDL"
-VERSION="1.1.2"
+VERSION="1.2.0"
HOMEPAGE="http://pypi.python.org/pypi/pySmartDL/"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pySmartDL/pySmartDL-1.1.2.tar.gz"
-MD5SUM="3dfdc85b91b0e2f976e8d784107bfba3"
+DOWNLOAD="https://pypi.python.org/packages/source/p/pySmartDL/pySmartDL-1.2.0.tar.gz"
+MD5SUM="58d2ec32512afd0b70e7643cd4fce5f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pysetuptools threadpool"
+REQUIRES="futures"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"