Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-iptables/
Date: Tue, 15 Sep 2020 00:54:29
Message-Id: 1600131260.3d4c3851e028d344cd33c868c65e59382ec8002b.chutzpah@gentoo
1 commit: 3d4c3851e028d344cd33c868c65e59382ec8002b
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Tue Sep 15 00:53:53 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 00:54:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d4c3851
7
8 dev-python/python-iptables-1.0.0: Version bump
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-3.0.6, Repoman-3.0.1
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/python-iptables/Manifest | 1 +
15 .../python-iptables/python-iptables-1.0.0.ebuild | 28 ++++++++++++++++++++++
16 2 files changed, 29 insertions(+)
17
18 diff --git a/dev-python/python-iptables/Manifest b/dev-python/python-iptables/Manifest
19 index c8bfab36f5b..c94ad37ec5f 100644
20 --- a/dev-python/python-iptables/Manifest
21 +++ b/dev-python/python-iptables/Manifest
22 @@ -1 +1,2 @@
23 DIST python-iptables-0.13.0.tar.gz 83456 BLAKE2B 9c8da40437d408c6bb49e700b8d1663e7fdb0a1001b15409cf4c8b9edf612f75eb546207bc86d0535f8fb3744e42244f3e067dff80037c5a3eadc028ec8024f3 SHA512 1693924b8ee79b3b0929b57e86908282d53d28044b063d7bd169a6e9c1b45b5b6b4a79e54d024beedbfd6e42f88417eb2d0312bf90895702a3b8bfe2c2eb22b2
24 +DIST python-iptables-1.0.0.tar.gz 52245 BLAKE2B f61cf655440a40c96e49452caa1070046e539313ce709c629cb93c11ac66d51dad5fb11c183a8babbba5766b8bea27d0ab604d7aec104775371791cedc2262f6 SHA512 417ebec4391c6967f3b1cfa56d79dc1c6d053570d71bb29713ed327ee1fd52e0be9c3b9a62a1ae666644bbb472e5174402584cd5ddfb0b24c11e1d30773bcea5
25
26 diff --git a/dev-python/python-iptables/python-iptables-1.0.0.ebuild b/dev-python/python-iptables/python-iptables-1.0.0.ebuild
27 new file mode 100644
28 index 00000000000..53037c8775b
29 --- /dev/null
30 +++ b/dev-python/python-iptables/python-iptables-1.0.0.ebuild
31 @@ -0,0 +1,28 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{6..9} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Python bindings for iptables"
40 +HOMEPAGE="https://github.com/ldx/python-iptables"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +RDEPEND="net-firewall/iptables"
48 +
49 +# tests manipulate live iptables rules, so disable them by default
50 +RESTRICT="test"
51 +
52 +distutils_enable_sphinx doc
53 +distutils_enable_tests setup.py
54 +
55 +python_prepare_all() {
56 + # Prevent un-needed d'loading during doc build
57 + sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
58 + distutils-r1_python_prepare_all
59 +}