Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-iptables: python-iptables-0.5.0.ebuild ChangeLog python-iptables-0.3.0_p20130331.ebuild python-iptables-0.3.0-r3.ebuild
Date: Sat, 01 Nov 2014 14:26:34
Message-Id: 20141101142630.07E09936A@oystercatcher.gentoo.org
1 idella4 14/11/01 14:26:30
2
3 Modified: ChangeLog
4 Added: python-iptables-0.5.0.ebuild
5 Removed: python-iptables-0.3.0_p20130331.ebuild
6 python-iptables-0.3.0-r3.ebuild
7 Log:
8 bump; add py3 support, keyword x86, IUSE doc and all that goes with a doc build, remove edundant patch, tidy, fixes Bug #526276, rm old
9
10 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
11
12 Revision Changes Path
13 1.10 dev-python/python-iptables/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-iptables/ChangeLog?rev=1.10&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-iptables/ChangeLog?rev=1.10&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-iptables/ChangeLog?r1=1.9&r2=1.10
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-iptables/ChangeLog,v
22 retrieving revision 1.9
23 retrieving revision 1.10
24 diff -u -r1.9 -r1.10
25 --- ChangeLog 10 Aug 2014 21:19:05 -0000 1.9
26 +++ ChangeLog 1 Nov 2014 14:26:29 -0000 1.10
27 @@ -1,6 +1,13 @@
28 # ChangeLog for dev-python/python-iptables
29 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-iptables/ChangeLog,v 1.9 2014/08/10 21:19:05 slyfox Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-iptables/ChangeLog,v 1.10 2014/11/01 14:26:29 idella4 Exp $
32 +
33 +*python-iptables-0.5.0 (01 Nov 2014)
34 +
35 + 01 Nov 2014; Ian Delaney <idella4@g.o> +python-iptables-0.5.0.ebuild,
36 + -python-iptables-0.3.0-r3.ebuild, -python-iptables-0.3.0_p20130331.ebuild:
37 + bump; add py3 support, keyword x86, IUSE doc and all that goes with a doc
38 + build, remove edundant patch, tidy, fixes Bug #526276, rm old
39
40 10 Aug 2014; Sergei Trofimovich <slyfox@g.o>
41 python-iptables-0.3.0-r3.ebuild, python-iptables-0.3.0_p20130331.ebuild,
42
43
44
45 1.1 dev-python/python-iptables/python-iptables-0.5.0.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-iptables/python-iptables-0.5.0.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-iptables/python-iptables-0.5.0.ebuild?rev=1.1&content-type=text/plain
49
50 Index: python-iptables-0.5.0.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-iptables/python-iptables-0.5.0.ebuild,v 1.1 2014/11/01 14:26:29 idella4 Exp $
55
56 EAPI=5
57 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
58 inherit distutils-r1
59
60 DESCRIPTION="Python bindings for iptables"
61 HOMEPAGE="https://github.com/ldx/python-iptables"
62 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc"
68
69 DEPEND="net-firewall/iptables
70 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
71 RDEPEND="${DEPEND}"
72
73 # tests manipulate live iptables rules, so disable them by default
74 RESTRICT=test
75
76 python_prepare_all() {
77 # Prevent un-needed d'loading during doc build
78 sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
79 distutils-r1_python_prepare_all
80 }
81
82 python_compile_all() {
83 use doc && emake -C doc html
84 }
85
86 python_test() {
87 ${PYTHON} test.py || die "tests fail with ${EPYTHON}"
88 }
89
90 python_install_all() {
91 use doc && local HTML_DOCS=( doc/_build/html/. )
92 distutils-r1_python_install_all
93 }