Browse Source

python/pysnmp: Update DEPs

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/198/head
Isaac Yu 3 years ago
committed by Willy Sudiarto Raharjo
parent
commit
46c7d060bd
  1. 7
      python/pysnmp/pysnmp.SlackBuild
  2. 2
      python/pysnmp/pysnmp.info

7
python/pysnmp/pysnmp.SlackBuild

@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pysnmp
VERSION=${VERSION:-4.1.16d}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -80,7 +77,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
python setup.py install --root=$PKG
python2 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

2
python/pysnmp/pysnmp.info

@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/pysnmp/pysnmp-4.1.16d.tar.gz"
MD5SUM="c8e015c3c1935294d2e235cee47768dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pyasn1 python2-pycrypto"
REQUIRES="python2-pyasn1 python2-pycrypto"
MAINTAINER="Ilya Etingof"
EMAIL="ilya@glas.net"
Loading…
Cancel
Save