diff options
Diffstat (limited to 'python/python-pcapy/python-pcapy.SlackBuild')
-rw-r--r-- | python/python-pcapy/python-pcapy.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/python-pcapy/python-pcapy.SlackBuild b/python/python-pcapy/python-pcapy.SlackBuild index 9cae5a4cad..f27972bf09 100644 --- a/python/python-pcapy/python-pcapy.SlackBuild +++ b/python/python-pcapy/python-pcapy.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=python-pcapy SRCNAM=pcapy -VERSION=${VERSION:-0.11.1} +VERSION=${VERSION:-0.11.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -76,6 +76,11 @@ patch -p1 --verbose < $CWD/no-auto-docs-setup.py.diff 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 + 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 |