Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gupnp-igd: ChangeLog gupnp-igd-0.1.7.ebuild
Date: Sat, 26 Feb 2011 19:31:20
Message-Id: 20110226193110.4EB2E20054@flycatcher.gentoo.org
1 arfrever 11/02/26 19:31:10
2
3 Modified: ChangeLog gupnp-igd-0.1.7.ebuild
4 Log:
5 Use Python 2 (bug #356579).
6
7 (Portage version: 2.2.0_alpha25_p8/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.26 net-libs/gupnp-igd/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?rev=1.26&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?rev=1.26&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?r1=1.25&r2=1.26
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v
19 retrieving revision 1.25
20 retrieving revision 1.26
21 diff -u -r1.25 -r1.26
22 --- ChangeLog 26 Feb 2011 19:20:38 -0000 1.25
23 +++ ChangeLog 26 Feb 2011 19:31:10 -0000 1.26
24 @@ -1,6 +1,10 @@
25 # ChangeLog for net-libs/gupnp-igd
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v 1.25 2011/02/26 19:20:38 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v 1.26 2011/02/26 19:31:10 arfrever Exp $
29 +
30 + 26 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
31 + gupnp-igd-0.1.7.ebuild:
32 + Use Python 2 (bug #356579).
33
34 26 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 -gupnp-igd-0.1.3.ebuild, -gupnp-igd-0.1.6.ebuild:
36
37
38
39 1.10 net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild?rev=1.10&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild?rev=1.10&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild?r1=1.9&r2=1.10
44
45 Index: gupnp-igd-0.1.7.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild,v
48 retrieving revision 1.9
49 retrieving revision 1.10
50 diff -u -r1.9 -r1.10
51 --- gupnp-igd-0.1.7.ebuild 26 Feb 2011 18:05:33 -0000 1.9
52 +++ gupnp-igd-0.1.7.ebuild 26 Feb 2011 19:31:10 -0000 1.10
53 @@ -1,9 +1,11 @@
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild,v 1.9 2011/02/26 18:05:33 armin76 Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild,v 1.10 2011/02/26 19:31:10 arfrever Exp $
58
59 -EAPI=2
60 -inherit autotools eutils
61 +EAPI="3"
62 +PYTHON_DEPEND="python? 2:2.5"
63 +
64 +inherit autotools eutils python
65
66 DESCRIPTION="This is a library to handle UPnP IGD port mapping for GUPnP."
67 HOMEPAGE="http://gupnp.org"
68 @@ -22,6 +24,13 @@
69 sys-devel/gettext
70 dev-util/gtk-doc-am"
71
72 +pkg_setup() {
73 + if use python; then
74 + python_set_active_version 2
75 + python_pkg_setup
76 + fi
77 +}
78 +
79 src_prepare() {
80 epatch "${FILESDIR}"/${P}-make-382.patch
81 eautoreconf