Gentoo Archives: gentoo-commits

From: "Olivier Crete (tester)" <tester@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gupnp-igd: ChangeLog gupnp-igd-0.2.1.ebuild gupnp-igd-0.1.7.ebuild gupnp-igd-0.1.11.ebuild gupnp-igd-0.2.0.ebuild
Date: Sat, 07 Jan 2012 03:39:33
Message-Id: 20120107033924.4728C20034@flycatcher.gentoo.org
1 tester 12/01/07 03:39:24
2
3 Modified: ChangeLog gupnp-igd-0.1.7.ebuild
4 gupnp-igd-0.1.11.ebuild
5 Added: gupnp-igd-0.2.1.ebuild
6 Removed: gupnp-igd-0.2.0.ebuild
7 Log:
8 Update gupnp-igd and add blocks for the older versions
9
10 (Portage version: 2.1.10.41/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.32 net-libs/gupnp-igd/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?rev=1.32&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?rev=1.32&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?r1=1.31&r2=1.32
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v
22 retrieving revision 1.31
23 retrieving revision 1.32
24 diff -u -r1.31 -r1.32
25 --- ChangeLog 13 Nov 2011 21:34:27 -0000 1.31
26 +++ ChangeLog 7 Jan 2012 03:39:24 -0000 1.32
27 @@ -1,6 +1,12 @@
28 # ChangeLog for net-libs/gupnp-igd
29 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v 1.31 2011/11/13 21:34:27 eva Exp $
31 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v 1.32 2012/01/07 03:39:24 tester Exp $
33 +
34 +*gupnp-igd-0.2.1 (07 Jan 2012)
35 +
36 + 07 Jan 2012; Olivier CrĂȘte <tester@g.o> gupnp-igd-0.1.7.ebuild,
37 + gupnp-igd-0.1.11.ebuild, -gupnp-igd-0.2.0.ebuild, +gupnp-igd-0.2.1.ebuild:
38 + Update gupnp-igd and add blocks for the older versions
39
40 *gupnp-igd-0.2.0 (13 Nov 2011)
41
42
43
44
45 1.13 net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild?rev=1.13&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild?rev=1.13&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild?r1=1.12&r2=1.13
50
51 Index: gupnp-igd-0.1.7.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild,v
54 retrieving revision 1.12
55 retrieving revision 1.13
56 diff -u -r1.12 -r1.13
57 --- gupnp-igd-0.1.7.ebuild 24 Oct 2011 06:08:54 -0000 1.12
58 +++ gupnp-igd-0.1.7.ebuild 7 Jan 2012 03:39:24 -0000 1.13
59 @@ -1,6 +1,6 @@
60 -# Copyright 1999-2011 Gentoo Foundation
61 +# Copyright 1999-2012 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild,v 1.12 2011/10/24 06:08:54 tetromino Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.7.ebuild,v 1.13 2012/01/07 03:39:24 tester Exp $
65
66 EAPI="3"
67 PYTHON_DEPEND="python? 2:2.5"
68 @@ -19,6 +19,7 @@
69 IUSE="python"
70
71 RDEPEND=">=net-libs/gupnp-0.13.2
72 + !>=net-libs/gupnp-0.17
73 >=dev-libs/glib-2.16:2
74 python? ( >=dev-python/pygobject-2.16:2 )"
75 DEPEND="${RDEPEND}
76
77
78
79 1.3 net-libs/gupnp-igd/gupnp-igd-0.1.11.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.11.ebuild?rev=1.3&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.11.ebuild?rev=1.3&content-type=text/plain
83 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.11.ebuild?r1=1.2&r2=1.3
84
85 Index: gupnp-igd-0.1.11.ebuild
86 ===================================================================
87 RCS file: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.11.ebuild,v
88 retrieving revision 1.2
89 retrieving revision 1.3
90 diff -u -r1.2 -r1.3
91 --- gupnp-igd-0.1.11.ebuild 24 Oct 2011 06:08:54 -0000 1.2
92 +++ gupnp-igd-0.1.11.ebuild 7 Jan 2012 03:39:24 -0000 1.3
93 @@ -1,6 +1,6 @@
94 -# Copyright 1999-2011 Gentoo Foundation
95 +# Copyright 1999-2012 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.11.ebuild,v 1.2 2011/10/24 06:08:54 tetromino Exp $
98 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.11.ebuild,v 1.3 2012/01/07 03:39:24 tester Exp $
99
100 EAPI="3"
101 PYTHON_DEPEND="python? 2:2.5"
102 @@ -19,6 +19,7 @@
103 IUSE="+introspection python"
104
105 RDEPEND=">=net-libs/gupnp-0.13.2
106 + !>=net-libs/gupnp-0.17
107 >=dev-libs/glib-2.16:2
108 introspection? ( >=dev-libs/gobject-introspection-0.10 )
109 python? ( >=dev-python/pygobject-2.16:2 )"
110
111
112
113 1.1 net-libs/gupnp-igd/gupnp-igd-0.2.1.ebuild
114
115 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.2.1.ebuild?rev=1.1&view=markup
116 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.2.1.ebuild?rev=1.1&content-type=text/plain
117
118 Index: gupnp-igd-0.2.1.ebuild
119 ===================================================================
120 # Copyright 1999-2012 Gentoo Foundation
121 # Distributed under the terms of the GNU General Public License v2
122 # $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.2.1.ebuild,v 1.1 2012/01/07 03:39:24 tester Exp $
123
124 EAPI="3"
125 PYTHON_DEPEND="python? 2:2.5"
126 SUPPORT_PYTHON_ABIS="1"
127 RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
128
129 inherit autotools eutils python
130
131 DESCRIPTION="This is a library to handle UPnP IGD port mapping for GUPnP."
132 HOMEPAGE="http://gupnp.org"
133 SRC_URI="http://www.gupnp.org/sites/all/files/sources/${P}.tar.gz"
134
135 LICENSE="LGPL-2"
136 SLOT="0"
137 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
138 IUSE="+introspection python"
139
140 RDEPEND=">=net-libs/gupnp-0.18
141 >=dev-libs/glib-2.16:2
142 introspection? ( >=dev-libs/gobject-introspection-0.10 )
143 python? ( >=dev-python/pygobject-2.16:2 )"
144 DEPEND="${RDEPEND}
145 dev-util/pkgconfig
146 sys-devel/gettext
147 dev-util/gtk-doc-am"
148
149 # The only existing test is broken
150 RESTRICT="test"
151
152 pkg_setup() {
153 if use python; then
154 python_pkg_setup
155 fi
156 }
157
158 src_prepare() {
159 epatch "${FILESDIR}"/${PN}-0.1.11-disable_static_modules.patch
160
161 # Disable byte-compilation of Python modules.
162 echo "#!/bin/sh" > py-compile
163
164 # Python bindings are built/installed manually.
165 sed -e "/PYTHON_SUBDIR =/s/ python//" -i Makefile.am
166
167 eautoreconf
168 }
169
170 src_configure() {
171 econf \
172 --disable-dependency-tracking \
173 --disable-static \
174 --disable-gtk-doc \
175 $(use_enable introspection) \
176 $(use_enable python)
177 }
178
179 src_compile() {
180 # introspection is built in the same directory and libtool does not handle
181 # well dependency like this
182 MAKEOPTS="${MAKEOPTS} -j1" default
183
184 if use python; then
185 python_copy_sources python
186
187 building() {
188 emake \
189 PYTHON_INCLUDES="-I$(python_get_includedir)" \
190 pyexecdir="$(python_get_sitedir)"
191 }
192 python_execute_function -s --source-dir python building
193 fi
194 }
195
196 src_install() {
197 emake DESTDIR="${D}" install || die
198
199 if use python; then
200 installation() {
201 emake \
202 DESTDIR="${D}" \
203 pyexecdir="$(python_get_sitedir)" \
204 install
205 }
206 python_execute_function -s --source-dir python installation
207
208 python_clean_installation_image
209 fi
210
211 dodoc AUTHORS NEWS README TODO || die
212 find "${D}" -name "*.la" -delete
213 }
214
215 pkg_postinst() {
216 if use python; then
217 python_mod_optimize gupnp
218 fi
219 }
220
221 pkg_postrm() {
222 if use python; then
223 python_mod_cleanup gupnp
224 fi
225 }