diff options
author | Ruben Schuller <sb@rbn.im> | 2022-01-31 21:01:40 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-02 11:23:17 +0700 |
commit | a424e36d8f4dc576f17300683f303f51887b9825 (patch) | |
tree | c9e528a547a11b1fa39cff14f4068ea402365544 /python/python-nbxmpp | |
parent | 8a0d7eb9147c98d93633a343e4f5e762815eceee (diff) | |
download | slackbuilds-a424e36d8f4dc576f17300683f303f51887b9825.tar.gz |
python/python-nbxmpp: Updated for version 2.0.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-nbxmpp')
-rw-r--r-- | python/python-nbxmpp/python-nbxmpp.SlackBuild | 15 | ||||
-rw-r--r-- | python/python-nbxmpp/python-nbxmpp.info | 8 |
2 files changed, 8 insertions, 15 deletions
diff --git a/python/python-nbxmpp/python-nbxmpp.SlackBuild b/python/python-nbxmpp/python-nbxmpp.SlackBuild index 3692292d8b..727ade12b6 100644 --- a/python/python-nbxmpp/python-nbxmpp.SlackBuild +++ b/python/python-nbxmpp/python-nbxmpp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-nbxmpp -# Copyright 2014-2018 Ruben Schuller +# Copyright 2014-2019 Ruben Schuller # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,11 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-nbxmpp -VERSION=${VERSION:-0.6.2} +VERSION=${VERSION:-2.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +TARNAM=${PRGNAM}-nbxmpp PKGTYPE=${PKGTYPE:-tgz} -TARNAM=nbxmpp if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -80,20 +80,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -r doc/* $PKG/usr/doc/$PRGNAM-$VERSION cp COPYING $PKG/usr/doc/$PRGNAM-$VERSION -cp PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cp ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python-nbxmpp/python-nbxmpp.info b/python/python-nbxmpp/python-nbxmpp.info index cd327d15ff..7e4b8a31bd 100644 --- a/python/python-nbxmpp/python-nbxmpp.info +++ b/python/python-nbxmpp/python-nbxmpp.info @@ -1,10 +1,10 @@ PRGNAM="python-nbxmpp" -VERSION="0.6.2" +VERSION="2.0.4" HOMEPAGE="https://dev.gajim.org/gajim/python-nbxmpp/" -DOWNLOAD="https://dev.gajim.org/gajim/python-nbxmpp/uploads/c2db525b46c9c4ac3ada293da7348b7c/nbxmpp-0.6.2.tar.gz" -MD5SUM="4db4a95b2d53f76afcad3233cd80129b" +DOWNLOAD="https://dev.gajim.org/gajim/python-nbxmpp/-/archive/nbxmpp-2.0.4/python-nbxmpp-nbxmpp-2.0.4.tar.gz" +MD5SUM="a67d681dd678733fc25809d714c106a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python-precis-i18n" MAINTAINER="Ruben Schuller" EMAIL="sb@rbn.im" |