summaryrefslogtreecommitdiff
path: root/dev-python/pcapy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /dev-python/pcapy
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'dev-python/pcapy')
-rw-r--r--dev-python/pcapy/Manifest2
-rw-r--r--dev-python/pcapy/pcapy-0.11.2.ebuild24
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/pcapy/Manifest b/dev-python/pcapy/Manifest
index bb0dc0696cd6..aa4c11d9b01a 100644
--- a/dev-python/pcapy/Manifest
+++ b/dev-python/pcapy/Manifest
@@ -1,3 +1,5 @@
DIST pcapy-0.11.1.tar.gz 31439 BLAKE2B c41a9ead869aea65470ff5db368f9eb8a813ac5aec4cde23e2375d1d9d5f9d9885d2ae88a147eb21820e3c1875ffa490a1476b346bd0eaf5082bab9e239bfb16 SHA512 60eebbeae84da33d7bd2eb2398687007a305e8986fcc183d8061fa50bbc0cdf9a66c17461a32a652ca39952dd0935b164bd98a200f82ffef00ffaa55409522a3
+DIST pcapy-0.11.2.tar.gz 32040 BLAKE2B 467d35dff94d2f32e66f9caae88bb43218f3391745230347c39e1db241543e4e9431cfe49185151025201d0913ca102d1f9567f4cf70a83d6fbbade76ec35ecf SHA512 353a2240a9b8541f30f9df472b6977664f94966fbda327aa72f73f26257086caf1db13d55c57859abf2237f5867c11b6ab582742e04d5c16184ea42dc547301c
EBUILD pcapy-0.11.1.ebuild 614 BLAKE2B 63a77610fe1070b5a9bb2c355de48748d7b7528477f6b34446841a908db5c50bc2744dfb940f957e29696f96816d4dded803170a4c715cb38df1dd8ae202a0b0 SHA512 f2315991450d136806627d7c6cad6a42393f5f6ea3ebeff5abdc3a9c371a41ae710abcdf85c4e5b7040ce30da91ecc2ce1c9345671be895ffb93a0b6bb82a92b
+EBUILD pcapy-0.11.2.ebuild 611 BLAKE2B cdd9fb5365d70cc5333afdb317de5ab1a672bbfea7b705169e38aad7a8d3d84ddaf53413a7d1f9d639750ef849e76e31f235ad0eee7c5713a6985fdc1c9a2e37 SHA512 ce96227f633bf4cad8f894804b1a7aa50bf8582ec7b86833c65c92f0935018701f613bb39dd5553e8459b47c03d3c46154f7b3d30d2d32cff8ef11068177c0b9
MISC metadata.xml 358 BLAKE2B c89fc0ed9212d67a3ac2992ec231ee3a26c473e19e317ab3c0bb1002212838299a55ec6db99950d852c6760941e5c698f04db2213544ce9089303519a38e8c79 SHA512 f7a17e837c410ac604a0e1b4493c7219846a8c8cbcd5b4fb84ffc401b98c8eeacba4731dabad6f61bf1e4f172157c174d6a039725174e2f58b9dfbb89998635d
diff --git a/dev-python/pcapy/pcapy-0.11.2.ebuild b/dev-python/pcapy/pcapy-0.11.2.ebuild
new file mode 100644
index 000000000000..78a8a1c5989d
--- /dev/null
+++ b/dev-python/pcapy/pcapy-0.11.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,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}"
+}