system/slpkg: Updated for version 3.2.2.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2016-10-27 00:51:12 +03:00 committed by Willy Sudiarto Raharjo
parent 136cff81a0
commit 7c74907c8f
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 25 additions and 10 deletions

View file

@ -5,8 +5,14 @@ to install packages. Slpkg makes it easier to maintain groups
of machines without having to manually update.
Optional dependencies:
python2-pythondialog (for dialog box interface)
pygraphviz (for drawing dependencies diagram)
graph-easy (for drawing ascii dependencies diagram)
aria2 (alternative downloader)
httpie (alternative downloader)
- python2-pythondialog (for dialog box interface)
- pygraphviz (for drawing dependencies diagram)
- 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

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg
VERSION=${VERSION:-3.2.0}
VERSION=${VERSION:-3.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -56,6 +56,9 @@ fi
set -e
PYTHON=python
[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@ -72,7 +75,13 @@ find -L . \
# avoid install configuration files and man page over setup.py
sed -i 's/if "install"/if ""/' setup.py
python setup.py install --root=$PKG
# Python 3 support
if [ "$PYTHON3" = "yes" ]; then
sh convert-py3k
cd py3k/$PRGNAM
fi
$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

View file

@ -1,8 +1,8 @@
PRGNAM="slpkg"
VERSION="3.2.0"
VERSION="3.2.2"
HOMEPAGE="https://github.com/dslackw/slpkg"
DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.2.0.tar.gz"
MD5SUM="1a006b491e0d3cb5613f37bdf1847c6c"
DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.2.2.tar.gz"
MD5SUM="137a121ff3dc9f37abd3af6e2a6ae6c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""