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/python-iptables |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-iptables')
-rw-r--r-- | dev-python/python-iptables/Manifest | 7 | ||||
-rw-r--r-- | dev-python/python-iptables/metadata.xml | 25 | ||||
-rw-r--r-- | dev-python/python-iptables/python-iptables-0.11.0.ebuild | 36 | ||||
-rw-r--r-- | dev-python/python-iptables/python-iptables-0.12.0.ebuild | 36 |
4 files changed, 104 insertions, 0 deletions
diff --git a/dev-python/python-iptables/Manifest b/dev-python/python-iptables/Manifest new file mode 100644 index 000000000000..4110f644d7dd --- /dev/null +++ b/dev-python/python-iptables/Manifest @@ -0,0 +1,7 @@ +DIST python-iptables-0.11.0.tar.gz 73582 SHA256 55bdd0d8e3d0b4c27e4d61bf6f21ada1e19146c0adf65e5093e254a126abcce9 SHA512 5bbaeb09dc256738e3a168fa5941f39e50074eb1ac3ce18545a48c55eb06ef70fd974ad3153dc07ca67b1ef88a2a2c537a9f8d3ac85add990f6d15e9d37aa0a4 WHIRLPOOL 5ecc28a1f65389e63c962408f058ac0795a5ebd846320f4d9de4ad35e6bb7a8ee7dff4555af0c4c9c42d303b7b0f6de372c042d4219141446680ba45b8216ac4 +DIST python-iptables-0.12.0.tar.gz 40831 SHA256 9815fd5ba780fd14b5f8cf8a93e007c0e603019738813a806e37553cd72e4c33 SHA512 bf79288fac53542e523c8ed0e4e0711792cf524100e39f57f10d3581d1b958712875a765f690b3d5ec6e28af9de48d2f3dd0a787c7037ebfc6f8bf87b5e321b2 WHIRLPOOL 360c3dec7c1122ba53cf7f158ff463937a119fbc818ac879403ac943c0f0d04043c89559468274332e3050e4fd84a8d95f8a30b7a783aaa0c023420278c3422c +EBUILD python-iptables-0.11.0.ebuild 888 SHA256 aaa183501ac3457351956ef43e29f267078fab4f3aa0097d37a5a4bafbd8b221 SHA512 5a9b8dfc069f8024ea1ecffa631453a44a6ac0c932ce5c3fab7d9974aeb9bfd17f4f8cab2948efd87083e91dd0c35b3ec2e7ce7284b78364abe0de6d80ffdc20 WHIRLPOOL 2a3a39b94421230b5b45bbb5b471138b1bc032449e49e4f48190904267254488e8dd631d2c2caf91d9b2421502215d14aa4f9d6f010ca6a98402e7268aca2298 +EBUILD python-iptables-0.12.0.ebuild 888 SHA256 aaa183501ac3457351956ef43e29f267078fab4f3aa0097d37a5a4bafbd8b221 SHA512 5a9b8dfc069f8024ea1ecffa631453a44a6ac0c932ce5c3fab7d9974aeb9bfd17f4f8cab2948efd87083e91dd0c35b3ec2e7ce7284b78364abe0de6d80ffdc20 WHIRLPOOL 2a3a39b94421230b5b45bbb5b471138b1bc032449e49e4f48190904267254488e8dd631d2c2caf91d9b2421502215d14aa4f9d6f010ca6a98402e7268aca2298 +MISC ChangeLog 3519 SHA256 eb81fad89d3e89b5b73997cdd56b902da592218a44efeb25206a14c2ba41377a SHA512 6683d33681ce307884f391c9dcda18856b28af1fb4f21c626cb63a168956188f05c671b056df5afd284f9d04ca5613afa2c778b55932cfcb2ab77480350077a3 WHIRLPOOL 9a858ebe2dd7eeb005c00fa9fd423901067d5e1ede0e749c5bd7756423f5c3f9a708f2e225ef9d9679bb28c8fc65fa7ec40ed4e4393b32c916b788c74bbee896 +MISC ChangeLog-2015 3121 SHA256 c0d22cdb49833b5b4c9566c8f26b503a517e062015376eebaaab690c4af78919 SHA512 65b98552b79b631774b20f9655468341b31d3d7b312df09116ccdfaf5a24604e59a7150e86b810b66b187091a8a3c52591ff28c28f134b51e550f1370ff48017 WHIRLPOOL 7f98103f96c1b3f4816cfe46218320d8d07e6cbb8622395a3d1ce700335b8300d52e17f867730589870b15f67e2a33812f469ce243bc36e9352807ca3dfb200b +MISC metadata.xml 1340 SHA256 f6a9146de2e718605415221ad698fb2c640d0f4689dbf5efddc351457d7ff257 SHA512 90c875cee0c4ea9e2f34d509152cdd4d83a41010b8a858515fa3bc766bb0ba11e047957f4c005fdaf2e49b088df78cb3b4414a5ecfdb1b6ded550eb6c9dd01d9 WHIRLPOOL 00c9b5372bb1723a0790a60a0cabb3024ec681740421079419d0e385a2fa3a82d204be47c068c6a155b349221ecf2d7e2a3dd2d5d24933e0f5ca9d0a062cf2ab diff --git a/dev-python/python-iptables/metadata.xml b/dev-python/python-iptables/metadata.xml new file mode 100644 index 000000000000..65690818b3ab --- /dev/null +++ b/dev-python/python-iptables/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + Python Bindings for IPtables: Iptables is the tool that is used to manage netfilter, + the standard packet filtering and manipulation framework under Linux. As the iptables + manpage puts it: Iptables is used to set up, maintain, and inspect the tables of IPv4 + packet filter rules in the Linux kernel. Several different tables may be defined. + Each table contains a number of built-in chains and may also contain user-defined + chains. Each chain is a list of rules which can match a set of packets. Each rule + specifies what to do with a packet that matches. This is called a target, which may be + a jump to a user-defined chain in the same table. Python-iptables provides python + bindings to iptables under Linux. Interoperability with iptables is achieved via + using the iptables C libraries (libiptc, libxtables, and the iptables extensions), not + calling the iptables binary and parsing its output. + </longdescription> + <upstream> + <remote-id type="pypi">python-iptables</remote-id> + <remote-id type="github">ldx/python-iptables</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-iptables/python-iptables-0.11.0.ebuild b/dev-python/python-iptables/python-iptables-0.11.0.ebuild new file mode 100644 index 000000000000..e294f95ec8fc --- /dev/null +++ b/dev-python/python-iptables/python-iptables-0.11.0.ebuild @@ -0,0 +1,36 @@ +# 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,5,6}} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for iptables" +HOMEPAGE="https://github.com/ldx/python-iptables" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="net-firewall/iptables + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +# tests manipulate live iptables rules, so disable them by default + +python_prepare_all() { + # Prevent un-needed d'loading during doc build + sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/python-iptables/python-iptables-0.12.0.ebuild b/dev-python/python-iptables/python-iptables-0.12.0.ebuild new file mode 100644 index 000000000000..e294f95ec8fc --- /dev/null +++ b/dev-python/python-iptables/python-iptables-0.12.0.ebuild @@ -0,0 +1,36 @@ +# 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,5,6}} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for iptables" +HOMEPAGE="https://github.com/ldx/python-iptables" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="net-firewall/iptables + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +# tests manipulate live iptables rules, so disable them by default + +python_prepare_all() { + # Prevent un-needed d'loading during doc build + sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +} |