summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-05-18 08:29:23 +0200
committerJeroen Roovers <jer@gentoo.org>2018-05-18 08:29:23 +0200
commit13bceb558e0d2405fcf2b45b0b84f26f6217cd71 (patch)
tree445d9af911b21d150c25eec615892a97a0e8d87e /dev-python
parentdev-ruby/amqp: add ruby24, ruby25 (diff)
downloadgentoo-13bceb558e0d2405fcf2b45b0b84f26f6217cd71.tar.gz
gentoo-13bceb558e0d2405fcf2b45b0b84f26f6217cd71.tar.bz2
gentoo-13bceb558e0d2405fcf2b45b0b84f26f6217cd71.zip
dev-python/pypcap: Version 1.2.2.
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pypcap/Manifest1
-rw-r--r--dev-python/pypcap/pypcap-1.2.2.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest
index 20fc03dc3a39..a9fc429ff65c 100644
--- a/dev-python/pypcap/Manifest
+++ b/dev-python/pypcap/Manifest
@@ -1,2 +1,3 @@
DIST pypcap-1.2.0.tar.gz 134873 BLAKE2B ac9b64077fb6f400a7b06aebb4169dcda6465e8fae2e56451cb9cc74d49a20f7294dea3bb876dfe895ee8181187cb7e3de78cdecf628d738cea1916c542fb2ce SHA512 8046bd314a6cad4aaa0ad2b17aad36011dc234656d9f314644440d7f9a3152ec578e9d58b20c29332f0c59159e019ee967fedb06108e535c9486ab9119b80c99
DIST pypcap-1.2.1.tar.gz 141506 BLAKE2B 66fb9e96f0e7741b4c1b22a54b2d42a952742315b3e054680ca03b7e4f3761331f62b96eee759a4c2419c256cc2e909e040046522c43ed80cc31d19bb98927ab SHA512 987ae06b8aa53047c31bb316d5301a03ab86fe7882394b07cbfd22da78a2f515706485f39b07c0073c549159616605fe2b03ace33e2067c7cdaa4ba9c4f33ae6
+DIST pypcap-1.2.2.tar.gz 141606 BLAKE2B 7611a7c61e23d2a20a0575dca5404e5c1edd6ba84f072ef0bdc303f35a6b26e69f1e0cf29f6d1a75c6934a84956f57cbc3fdffb39d6122882dc93231e243e3b2 SHA512 fa5b2ba37cafa83b9586d52345bba62ab6203c46a97a7b114ce166864be0e0947737d5bb79d9c12e054255aa9cb9f675a152c78b7e7b1c5a63dd6b54575b7282
diff --git a/dev-python/pypcap/pypcap-1.2.2.ebuild b/dev-python/pypcap/pypcap-1.2.2.ebuild
new file mode 100644
index 000000000000..f0425cdf8a9e
--- /dev/null
+++ b/dev-python/pypcap/pypcap-1.2.2.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
+}