summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-05-01 15:11:38 +0200
committerJeroen Roovers <jer@gentoo.org>2018-05-01 15:11:38 +0200
commit7b439d141d32f40b0cccdb8832093104ba3044ef (patch)
treeea617e91ea96b9f8bbf39258f38d2adb2b1a3162
parentwww-servers/tornado: drop to ~arm64 (diff)
downloadgentoo-7b439d141d32f40b0cccdb8832093104ba3044ef.tar.gz
gentoo-7b439d141d32f40b0cccdb8832093104ba3044ef.tar.bz2
gentoo-7b439d141d32f40b0cccdb8832093104ba3044ef.zip
dev-python/pypcap: Version 1.2.1.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
-rw-r--r--dev-python/pypcap/Manifest1
-rw-r--r--dev-python/pypcap/pypcap-1.2.1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest
index 63e6b6525ec6..20fc03dc3a39 100644
--- a/dev-python/pypcap/Manifest
+++ b/dev-python/pypcap/Manifest
@@ -1 +1,2 @@
DIST pypcap-1.2.0.tar.gz 134873 BLAKE2B ac9b64077fb6f400a7b06aebb4169dcda6465e8fae2e56451cb9cc74d49a20f7294dea3bb876dfe895ee8181187cb7e3de78cdecf628d738cea1916c542fb2ce SHA512 8046bd314a6cad4aaa0ad2b17aad36011dc234656d9f314644440d7f9a3152ec578e9d58b20c29332f0c59159e019ee967fedb06108e535c9486ab9119b80c99
+DIST pypcap-1.2.1.tar.gz 141506 BLAKE2B 66fb9e96f0e7741b4c1b22a54b2d42a952742315b3e054680ca03b7e4f3761331f62b96eee759a4c2419c256cc2e909e040046522c43ed80cc31d19bb98927ab SHA512 987ae06b8aa53047c31bb316d5301a03ab86fe7882394b07cbfd22da78a2f515706485f39b07c0073c549159616605fe2b03ace33e2067c7cdaa4ba9c4f33ae6
diff --git a/dev-python/pypcap/pypcap-1.2.1.ebuild b/dev-python/pypcap/pypcap-1.2.1.ebuild
new file mode 100644
index 000000000000..f0425cdf8a9e
--- /dev/null
+++ b/dev-python/pypcap/pypcap-1.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+inherit distutils-r1
+
+DESCRIPTION="Simplified object-oriented Python extension module for libpcap"
+HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.org/project/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}]
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.6-mktemp.patch
+)
+
+python_compile() {
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}