diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pcapy |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pcapy')
-rw-r--r-- | dev-python/pcapy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pcapy/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pcapy/pcapy-0.11.1.ebuild | 24 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pcapy/Manifest b/dev-python/pcapy/Manifest new file mode 100644 index 000000000000..5ec64cb0e4a4 --- /dev/null +++ b/dev-python/pcapy/Manifest @@ -0,0 +1,3 @@ +DIST pcapy-0.11.1.tar.gz 31439 SHA256 92420a5807805fbb38119eb9ac383099317216efeddd3030333d2de430731c65 SHA512 60eebbeae84da33d7bd2eb2398687007a305e8986fcc183d8061fa50bbc0cdf9a66c17461a32a652ca39952dd0935b164bd98a200f82ffef00ffaa55409522a3 WHIRLPOOL b9dad4c5a6dfd67d98323eed849f10d7e627c4cc4c3ca04729a962de264d07822ae8612b3d80d90664a7112a547fe3123a25029a77282b355cc1c1fb8554b3ed +EBUILD pcapy-0.11.1.ebuild 621 SHA256 1d6660aacde53f98f7ce681c3e8416b316371f547cb833d83229231bed20ec05 SHA512 9b7a94b83d20ab72761bc86ce707980e2aa195a6c8d75c2a1c0c5ae7e10c2ae031f0b31f8ba189ca23cf15eef41b7a0325c1fff0dcd9ef5b30f1473fa94b0755 WHIRLPOOL f4684df1d5cf24992fd880daa78ed8e9dd5a617b452adc34c760b28ae63c2b709168820303bdc4816dbb392e6525a45457fa4a3cb315a7901561cb5e169f0c0c +MISC metadata.xml 358 SHA256 a0ec717b3c92a0292658be3f9b49c88e3807c4fef6eed620ca79d73897435c6f SHA512 f7a17e837c410ac604a0e1b4493c7219846a8c8cbcd5b4fb84ffc401b98c8eeacba4731dabad6f61bf1e4f172157c174d6a039725174e2f58b9dfbb89998635d WHIRLPOOL b3f8ef642481163608c01d39f12f705922cf6249c369b65f545b616aa64baf67655d4934005ca13dd82c8cd2656c0c9fa0c5f0994d29aa9728c236f3ea17f24a 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 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> 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}" +} |