From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/pcapy/Manifest | 3 +++ dev-python/pcapy/metadata.xml | 12 ++++++++++++ dev-python/pcapy/pcapy-0.11.1.ebuild | 24 ++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-python/pcapy/Manifest create mode 100644 dev-python/pcapy/metadata.xml create mode 100644 dev-python/pcapy/pcapy-0.11.1.ebuild (limited to 'dev-python/pcapy') diff --git a/dev-python/pcapy/Manifest b/dev-python/pcapy/Manifest new file mode 100644 index 000000000000..30e6d8a59f94 --- /dev/null +++ b/dev-python/pcapy/Manifest @@ -0,0 +1,3 @@ +DIST pcapy-0.11.1.tar.gz 31439 BLAKE2B c41a9ead869aea65470ff5db368f9eb8a813ac5aec4cde23e2375d1d9d5f9d9885d2ae88a147eb21820e3c1875ffa490a1476b346bd0eaf5082bab9e239bfb16 SHA512 60eebbeae84da33d7bd2eb2398687007a305e8986fcc183d8061fa50bbc0cdf9a66c17461a32a652ca39952dd0935b164bd98a200f82ffef00ffaa55409522a3 +EBUILD pcapy-0.11.1.ebuild 621 BLAKE2B 9e39cb9ebb77e8175f31abf2d6988f58bec55c84da18a76a8476f467ea29b1f137688c9c876909b906c4f8c902dc8a0b7c5d40b1186c6fb464ff16593e344530 SHA512 9b7a94b83d20ab72761bc86ce707980e2aa195a6c8d75c2a1c0c5ae7e10c2ae031f0b31f8ba189ca23cf15eef41b7a0325c1fff0dcd9ef5b30f1473fa94b0755 +MISC metadata.xml 358 BLAKE2B c89fc0ed9212d67a3ac2992ec231ee3a26c473e19e317ab3c0bb1002212838299a55ec6db99950d852c6760941e5c698f04db2213544ce9089303519a38e8c79 SHA512 f7a17e837c410ac604a0e1b4493c7219846a8c8cbcd5b4fb84ffc401b98c8eeacba4731dabad6f61bf1e4f172157c174d6a039725174e2f58b9dfbb89998635d diff --git a/dev-python/pcapy/metadata.xml b/dev-python/pcapy/metadata.xml new file mode 100644 index 000000000000..36420f308fae --- /dev/null +++ b/dev-python/pcapy/metadata.xml @@ -0,0 +1,12 @@ + + + + + chainsaw@gentoo.org + Tony Vroon + + + python@gentoo.org + Python + + diff --git a/dev-python/pcapy/pcapy-0.11.1.ebuild b/dev-python/pcapy/pcapy-0.11.1.ebuild new file mode 100644 index 000000000000..daa2e92b27fb --- /dev/null +++ b/dev-python/pcapy/pcapy-0.11.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 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} ) + +inherit distutils-r1 + +DESCRIPTION="Python pcap extension" +HOMEPAGE="https://www.coresecurity.com/corelabs-research/open-source-tools/pcapy" +SRC_URI="https://github.com/CoreSecurity/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="${DEPEND} + net-libs/libpcap" + +python_test() { + cd "${S}/tests" || die "Unable to activate test suite" + "${EPYTHON}" pcapytests.py || die "Tests failed with ${EPYTHON}" +} -- cgit v1.2.3