summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pypcap')
-rw-r--r--dev-python/pypcap/Manifest1
-rw-r--r--dev-python/pypcap/pypcap-1.1.5.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest
index 0ef34b2c898a..5c3b7cb00730 100644
--- a/dev-python/pypcap/Manifest
+++ b/dev-python/pypcap/Manifest
@@ -1,2 +1,3 @@
DIST pypcap-1.1.3.tar.gz 44805 SHA256 cc0786efd527f16c5f0d08accf3cbd9ff8971ddc284a445cdabf2e47b458a377 SHA512 c8c3634173246838cd1d716ffd630cc149daa171749ab22901b352ed98f58c1377a754bf8510c33dc338deec4c80e5462eaf8baec502f1edb79cfac3ab8844bc WHIRLPOOL 2354f992aace04acad55e2dd8563543d5b4a408734259c228b6f3e30be587248e6db228b87b76c78e7e78b8a7007e4411684e8822dc9d0c3768df9a6ff07bcbc
DIST pypcap-1.1.4.tar.gz 41371 SHA256 294d92a36ece9a09369b9b9dc1bfb81fdd4a9d3b38cf96fb4638ca52f7f0c647 SHA512 46e12c45c0615ec1ec7498e613695f05290abcf42081e7f65f549db48c0a242ec015061d4124c7a173b0f26faa6704f2b700de4c35f9bf5480514081b3a52944 WHIRLPOOL 0a24030eaebfe734e119fd1d23714009f6a9c71dbdd4123097cf5397134517604372873a0d5305dad4abb60574d6410504ef217fa4b899e356476222f6650a56
+DIST pypcap-1.1.5.tar.gz 47978 SHA256 04f289783f4920baab4a2144821d0be7e8a2bde7259284dd4a7e775d0016ced0 SHA512 15df8f966abb6e29f3dfbd0c7f39bb2c3616b4352667e62dc08da287c427e611ec32ac543103d0e5864e5beb86bb9353bf1417bc6680a46e79e06496d4bba353 WHIRLPOOL 4d3473ef08faa9a5e4e53e8518187071fc4b4be4a51cf1fe7ddab871501d03c44d7e88b7c21a80cbf9b4dfb653225b600b0c1651ba6a83d92a2970bc59513934
diff --git a/dev-python/pypcap/pypcap-1.1.5.ebuild b/dev-python/pypcap/pypcap-1.1.5.ebuild
new file mode 100644
index 000000000000..47adba28bdb6
--- /dev/null
+++ b/dev-python/pypcap/pypcap-1.1.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Simplified object-oriented Python extension module for libpcap"
+HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.python.org/pypi/pypcap"
+SRC_URI="https://github.com/pynetwork/pypcap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+
+RDEPEND="net-libs/libpcap"
+DEPEND="
+ ${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+python_compile() {
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}