python/pySmartDL: Updated for version 1.2.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-02-10 06:47:36 +07:00 committed by Erik Hanson
parent f9ea7faea9
commit 7a3665cb6b
3 changed files with 12 additions and 9 deletions

View file

@ -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/

View file

@ -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

View file

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