diff --git a/dev-python/kamene/Manifest b/dev-python/kamene/Manifest index 375ce2a92..4f34342c2 100644 --- a/dev-python/kamene/Manifest +++ b/dev-python/kamene/Manifest @@ -1 +1 @@ -DIST kamene-0.32.tar.gz 2215536 BLAKE2B 4c7d71a338f9810d7d3273f168537d4964082e706e999c269a36aa5bf51c80b3900654bb1a9be5f04e308d5d5c448d82edfb12a74d1238f59a4821208d36307a SHA512 456d2fae41126de089bc5ef278a567a45392c648d45c633cd587a9215c317ff4796cae89c341fdfdcc21c4d7d7047eaa3084511b4d4893f423a42e4193b54e0f +DIST kamene-0.32.tar.gz 1198207 BLAKE2B 4e1f263c2e1c6083e43329ba04892b7c233e4c5755d7c4841ecda099bbc2fc424dbe29d28915064076d873d91058228ae83b94d19abc50e5bbdfdb7faba257d8 SHA512 ba0e7ceb41e0687a8b8deb743f4cc8dc00021200ae028faac0afc3a1f202ac2c2cfdc7ebd7ea6ab3af4790e8393c9d1ed5b8f80f16bf0783e5058f29d2038ea6 diff --git a/dev-python/kamene/kamene-0.32-r1.ebuild b/dev-python/kamene/kamene-0.32-r1.ebuild new file mode 100644 index 000000000..190933bfe --- /dev/null +++ b/dev-python/kamene/kamene-0.32-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Network packet and pcap processing tool, forked from scapy" +HOMEPAGE="https://github.com/phaethon/kamene" +SRC_URI="https://github.com/phaethon/kamene/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="crypt graphs pyx" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + crypt? ( dev-python/cryptography[idna,${PYTHON_USEDEP}] ) + graphs? ( dev-python/networkx[${PYTHON_USEDEP}] ) + dev-python/dill[${PYTHON_USEDEP}] + dev-python/ipaddress[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/netifaces[${PYTHON_USEDEP}] + pyx? ( dev-python/pyx[${PYTHON_USEDEP}] )" + +src_unpack() { + default + unpack "${S}/doc/kamene.1.gz" +} + +python_prepare_all() { + #do not install compressed man + sed -e '/data_files/d' -i setup.py || die + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + doman "${WORKDIR}"/kamene.1 +} diff --git a/dev-python/kamene/kamene-0.32.ebuild b/dev-python/kamene/kamene-0.32.ebuild deleted file mode 100644 index e9357b110..000000000 --- a/dev-python/kamene/kamene-0.32.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{5,6,7} ) - -IUSE="test" -inherit distutils-r1 - -DESCRIPTION="Network packet and pcap processing tool, forked from scapy" -HOMEPAGE="https://github.com/phaethon/kamene" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -python_prepare_all() { - #do not install compressed man - sed -e '/data_files/d' -i setup.py || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - unpack "./doc/kamene.1.gz" - doman kamene.1 -} diff --git a/dev-python/kamene/metadata.xml b/dev-python/kamene/metadata.xml new file mode 100644 index 000000000..5455c8635 --- /dev/null +++ b/dev-python/kamene/metadata.xml @@ -0,0 +1,19 @@ + + + + + email@linxon.ru + Yury Martynov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Enable dev-python/networkx support for draw network graphs + Enable dev-python/pyx support for psdump/pdfdump commands + + + phaethon/kamene + +