1 |
commit: 269373bba471e5d178660dd198463f88a965b4c2 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 28 00:04:18 2017 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 28 00:04:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=269373bb |
7 |
|
8 |
dev-python/python-iptables: Version bump to 0.12.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
dev-python/python-iptables/Manifest | 1 + |
13 |
.../python-iptables/python-iptables-0.12.0.ebuild | 36 ++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-iptables/Manifest b/dev-python/python-iptables/Manifest |
17 |
index 421530d645e..55380564eaf 100644 |
18 |
--- a/dev-python/python-iptables/Manifest |
19 |
+++ b/dev-python/python-iptables/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-iptables-0.11.0.tar.gz 73582 SHA256 55bdd0d8e3d0b4c27e4d61bf6f21ada1e19146c0adf65e5093e254a126abcce9 SHA512 5bbaeb09dc256738e3a168fa5941f39e50074eb1ac3ce18545a48c55eb06ef70fd974ad3153dc07ca67b1ef88a2a2c537a9f8d3ac85add990f6d15e9d37aa0a4 WHIRLPOOL 5ecc28a1f65389e63c962408f058ac0795a5ebd846320f4d9de4ad35e6bb7a8ee7dff4555af0c4c9c42d303b7b0f6de372c042d4219141446680ba45b8216ac4 |
22 |
+DIST python-iptables-0.12.0.tar.gz 40831 SHA256 9815fd5ba780fd14b5f8cf8a93e007c0e603019738813a806e37553cd72e4c33 SHA512 bf79288fac53542e523c8ed0e4e0711792cf524100e39f57f10d3581d1b958712875a765f690b3d5ec6e28af9de48d2f3dd0a787c7037ebfc6f8bf87b5e321b2 WHIRLPOOL 360c3dec7c1122ba53cf7f158ff463937a119fbc818ac879403ac943c0f0d04043c89559468274332e3050e4fd84a8d95f8a30b7a783aaa0c023420278c3422c |
23 |
|
24 |
diff --git a/dev-python/python-iptables/python-iptables-0.12.0.ebuild b/dev-python/python-iptables/python-iptables-0.12.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..e294f95ec8f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-iptables/python-iptables-0.12.0.ebuild |
29 |
@@ -0,0 +1,36 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
35 |
+inherit distutils-r1 |
36 |
+ |
37 |
+DESCRIPTION="Python bindings for iptables" |
38 |
+HOMEPAGE="https://github.com/ldx/python-iptables" |
39 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="Apache-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="doc" |
45 |
+ |
46 |
+DEPEND="net-firewall/iptables |
47 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
48 |
+RDEPEND="${DEPEND}" |
49 |
+ |
50 |
+# tests manipulate live iptables rules, so disable them by default |
51 |
+ |
52 |
+python_prepare_all() { |
53 |
+ # Prevent un-needed d'loading during doc build |
54 |
+ sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die |
55 |
+ distutils-r1_python_prepare_all |
56 |
+} |
57 |
+ |
58 |
+python_compile_all() { |
59 |
+ use doc && emake -C doc html |
60 |
+} |
61 |
+ |
62 |
+python_install_all() { |
63 |
+ use doc && local HTML_DOCS=( doc/_build/html/. ) |
64 |
+ distutils-r1_python_install_all |
65 |
+} |