python/python-pcapy: Updated for version 0.11.3.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Brenton Earl 2018-04-11 22:49:13 +01:00 committed by Willy Sudiarto Raharjo
parent 088932d279
commit 3eb8b3c4dd
3 changed files with 15 additions and 15 deletions

View file

@ -1,15 +1,10 @@
--- pcapy-0.11.1.orig/setup.py 2017-01-16 09:38:07.000000000 -0700
+++ pcapy-0.11.1/setup.py 2017-04-06 17:01:20.736516673 -0600
@@ -79,8 +79,8 @@
--- pcapy-0.11.3/setup.py.orig 2018-04-09 14:01:47.209882717 -0600
+++ pcapy-0.11.3/setup.py 2018-04-09 14:06:58.308869383 -0600
@@ -88,7 +88,4 @@
library_dirs=library_dirs,
libraries=libraries)],
# scripts=['tests/pcapytests.py', 'tests/96pings.pcap'],
#scripts=['tests/pcapytests.py', 'tests/96pings.pcap'],
- data_files=[
- (os.path.join('share', 'doc', PACKAGE_NAME),
- ['README', 'LICENSE', 'pcapy.html']),
- ('tests', ['tests/pcapytests.py', 'tests/96pings.pcap'])]
+ #data_files=[
+ # (os.path.join('share', 'doc', PACKAGE_NAME),
+ # ['README', 'LICENSE', 'pcapy.html']),
+ # ('tests', ['tests/pcapytests.py', 'tests/96pings.pcap'])]
- (os.path.join('share', 'doc', PACKAGE_NAME), ['README', 'LICENSE', 'pcapy.html']),
- (os.path.join('share', 'doc', PACKAGE_NAME, 'tests'), glob.glob('tests/*'))]
)

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="python-pcapy"
VERSION="0.11.1"
VERSION="0.11.3"
HOMEPAGE="https://www.coresecurity.com/corelabs-research/open-source-tools/pcapy"
DOWNLOAD="https://github.com/CoreSecurity/pcapy/archive/0.11.1/pcapy-0.11.1.tar.gz"
MD5SUM="eb82db6abbffae1786c5bae51c951685"
DOWNLOAD="https://github.com/CoreSecurity/pcapy/archive/0.11.3/pcapy-0.11.3.tar.gz"
MD5SUM="a52f104c3dcadfb40275a48794634557"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""