diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-02-10 06:47:36 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-11 12:15:07 -0600 |
commit | 7a3665cb6bfa731fcfe2905fbb7fe66749ef8e64 (patch) | |
tree | 6066a287c6097316e8f4a2e7091170d5c5b460e2 /python/pySmartDL/pySmartDL.SlackBuild | |
parent | f9ea7faea93ad47b68d5aa4af47b88bd3695bf3d (diff) | |
download | slackbuilds-7a3665cb6bfa731fcfe2905fbb7fe66749ef8e64.tar.gz |
python/pySmartDL: Updated for version 1.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pySmartDL/pySmartDL.SlackBuild')
-rw-r--r-- | python/pySmartDL/pySmartDL.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
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 |