diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2018-01-01 11:19:50 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:55:56 +0700 |
commit | e233cb703f8965a271c16f0bf0db01e705d57476 (patch) | |
tree | b26601072aa01cd55ba4fdaac9aea31becf4241c | |
parent | d1e55d2b91a2ff9902ed6eef7bd5b8cf1b90cc94 (diff) | |
download | slackbuilds-e233cb703f8965a271c16f0bf0db01e705d57476.tar.gz |
system/slpkg: Updated for version 3.3.3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r-- | system/slpkg/README | 6 | ||||
-rw-r--r-- | system/slpkg/slpkg.SlackBuild | 15 | ||||
-rw-r--r-- | system/slpkg/slpkg.info | 6 |
3 files changed, 6 insertions, 21 deletions
diff --git a/system/slpkg/README b/system/slpkg/README index 9af2fcae89..48a2063b79 100644 --- a/system/slpkg/README +++ b/system/slpkg/README @@ -10,9 +10,3 @@ Optional dependencies: - graph-easy (for drawing ascii dependencies diagram) - aria2 (alternative downloader) - httpie (alternative downloader) - - -NOTE: If you want to build slpkg for use with Python 3.x (needs the -optional dependency python3) pass the script PYTHON3=yes, like: - -PYTHON3=yes ./slpkg.SlackBuild diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild index 4840d857f2..5f0b181588 100644 --- a/system/slpkg/slpkg.SlackBuild +++ b/system/slpkg/slpkg.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for slpkg -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slpkg -VERSION=${VERSION:-3.3.2} +VERSION=${VERSION:-3.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,9 +56,6 @@ fi set -e -PYTHON=python -[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3 - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -75,13 +72,7 @@ find -L . \ # avoid install configuration files and man page over setup.py sed -i 's/if "install"/if ""/' setup.py -# Python 3 support -if [ "$PYTHON3" = "yes" ]; then - sh convert-py3k - cd py3k/$PRGNAM -fi - -$PYTHON setup.py install --root=$PKG +python setup.py install --root=$PKG 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 diff --git a/system/slpkg/slpkg.info b/system/slpkg/slpkg.info index 7b00f60460..e48c1b44d8 100644 --- a/system/slpkg/slpkg.info +++ b/system/slpkg/slpkg.info @@ -1,8 +1,8 @@ PRGNAM="slpkg" -VERSION="3.3.2" +VERSION="3.3.3" HOMEPAGE="https://github.com/dslackw/slpkg" -DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.3.2/slpkg-3.3.2.tar.gz" -MD5SUM="7eb3f0cd2d78fcd073420a5152ec14cd" +DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.3.3/slpkg-3.3.3.tar.gz" +MD5SUM="da0c65f15f8c8b53edd964a703560e79" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |