Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: rb_libtorrent-0.15.8.ebuild rb_libtorrent-0.15.6.ebuild rb_libtorrent-0.15.9.ebuild rb_libtorrent-0.15.9-r1.ebuild rb_libtorrent-0.15.5.ebuild ChangeLog
Date: Sat, 28 Jan 2012 20:00:41
Message-Id: 20120128200021.404A82004B@flycatcher.gentoo.org
1 floppym 12/01/28 20:00:21
2
3 Modified: rb_libtorrent-0.15.8.ebuild
4 rb_libtorrent-0.15.6.ebuild
5 rb_libtorrent-0.15.9.ebuild
6 rb_libtorrent-0.15.5.ebuild ChangeLog
7 Added: rb_libtorrent-0.15.9-r1.ebuild
8 Log:
9 Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch by Arfrever.
10
11 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.2 net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild?rev=1.2&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild?rev=1.2&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild?r1=1.1&r2=1.2
19
20 Index: rb_libtorrent-0.15.8.ebuild
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild,v
23 retrieving revision 1.1
24 retrieving revision 1.2
25 diff -u -r1.1 -r1.2
26 --- rb_libtorrent-0.15.8.ebuild 30 Sep 2011 12:27:07 -0000 1.1
27 +++ rb_libtorrent-0.15.8.ebuild 28 Jan 2012 20:00:21 -0000 1.2
28 @@ -1,10 +1,11 @@
29 -# Copyright 1999-2011 Gentoo Foundation
30 +# Copyright 1999-2012 Gentoo Foundation
31 # Distributed under the terms of the GNU General Public License v2
32 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild,v 1.1 2011/09/30 12:27:07 hwoarang Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild,v 1.2 2012/01/28 20:00:21 floppym Exp $
34
35 EAPI="2"
36 PYTHON_DEPEND="python? 2:2.6"
37 PYTHON_USE_WITH="threads"
38 +PYTHON_USE_WITH_OPT="python"
39
40 inherit eutils versionator python
41
42 @@ -22,7 +23,7 @@
43 IUSE="debug doc examples python ssl static-libs"
44 RESTRICT="test"
45
46 -DEPEND=">=dev-libs/boost-1.36[python?]
47 +DEPEND="<dev-libs/boost-1.48[python?]
48 >=sys-devel/libtool-2.2
49 sys-libs/zlib
50 examples? ( !net-p2p/mldonkey )
51
52
53
54 1.6 net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild?rev=1.6&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild?rev=1.6&content-type=text/plain
58 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild?r1=1.5&r2=1.6
59
60 Index: rb_libtorrent-0.15.6.ebuild
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild,v
63 retrieving revision 1.5
64 retrieving revision 1.6
65 diff -u -r1.5 -r1.6
66 --- rb_libtorrent-0.15.6.ebuild 26 May 2011 21:21:00 -0000 1.5
67 +++ rb_libtorrent-0.15.6.ebuild 28 Jan 2012 20:00:21 -0000 1.6
68 @@ -1,10 +1,11 @@
69 -# Copyright 1999-2011 Gentoo Foundation
70 +# Copyright 1999-2012 Gentoo Foundation
71 # Distributed under the terms of the GNU General Public License v2
72 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild,v 1.5 2011/05/26 21:21:00 maekke Exp $
73 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild,v 1.6 2012/01/28 20:00:21 floppym Exp $
74
75 EAPI="2"
76 PYTHON_DEPEND="python? 2:2.6"
77 PYTHON_USE_WITH="threads"
78 +PYTHON_USE_WITH_OPT="python"
79
80 inherit eutils versionator python
81
82 @@ -22,7 +23,7 @@
83 IUSE="debug doc examples python ssl"
84 RESTRICT="test"
85
86 -DEPEND=">=dev-libs/boost-1.36[python?]
87 +DEPEND="<dev-libs/boost-1.48[python?]
88 >=sys-devel/libtool-2.2
89 sys-libs/zlib
90 examples? ( !net-p2p/mldonkey )
91
92
93
94 1.2 net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild
95
96 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild?rev=1.2&view=markup
97 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild?rev=1.2&content-type=text/plain
98 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild?r1=1.1&r2=1.2
99
100 Index: rb_libtorrent-0.15.9.ebuild
101 ===================================================================
102 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild,v
103 retrieving revision 1.1
104 retrieving revision 1.2
105 diff -u -r1.1 -r1.2
106 --- rb_libtorrent-0.15.9.ebuild 22 Nov 2011 21:28:44 -0000 1.1
107 +++ rb_libtorrent-0.15.9.ebuild 28 Jan 2012 20:00:21 -0000 1.2
108 @@ -1,10 +1,11 @@
109 -# Copyright 1999-2011 Gentoo Foundation
110 +# Copyright 1999-2012 Gentoo Foundation
111 # Distributed under the terms of the GNU General Public License v2
112 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild,v 1.1 2011/11/22 21:28:44 hwoarang Exp $
113 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild,v 1.2 2012/01/28 20:00:21 floppym Exp $
114
115 EAPI="2"
116 PYTHON_DEPEND="python? 2:2.6"
117 PYTHON_USE_WITH="threads"
118 +PYTHON_USE_WITH_OPT="python"
119
120 inherit eutils versionator python
121
122 @@ -22,7 +23,7 @@
123 IUSE="debug doc examples python ssl static-libs"
124 RESTRICT="test"
125
126 -DEPEND=">=dev-libs/boost-1.36[python?]
127 +DEPEND="<dev-libs/boost-1.48[python?]
128 >=sys-devel/libtool-2.2
129 sys-libs/zlib
130 examples? ( !net-p2p/mldonkey )
131
132
133
134 1.6 net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild
135
136 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild?rev=1.6&view=markup
137 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild?rev=1.6&content-type=text/plain
138 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild?r1=1.5&r2=1.6
139
140 Index: rb_libtorrent-0.15.5.ebuild
141 ===================================================================
142 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild,v
143 retrieving revision 1.5
144 retrieving revision 1.6
145 diff -u -r1.5 -r1.6
146 --- rb_libtorrent-0.15.5.ebuild 23 Mar 2011 19:29:54 -0000 1.5
147 +++ rb_libtorrent-0.15.5.ebuild 28 Jan 2012 20:00:21 -0000 1.6
148 @@ -1,9 +1,13 @@
149 -# Copyright 1999-2011 Gentoo Foundation
150 +# Copyright 1999-2012 Gentoo Foundation
151 # Distributed under the terms of the GNU General Public License v2
152 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild,v 1.5 2011/03/23 19:29:54 xarthisius Exp $
153 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild,v 1.6 2012/01/28 20:00:21 floppym Exp $
154
155 EAPI="2"
156 -inherit eutils versionator
157 +PYTHON_DEPEND="python? 2:2.6"
158 +PYTHON_USE_WITH="threads"
159 +PYTHON_USE_WITH_OPT="python"
160 +
161 +inherit eutils python versionator
162
163 MY_P=${P/rb_/}
164 MY_P=${MY_P/torrent/torrent-rasterbar}
165 @@ -19,10 +23,7 @@
166 IUSE="debug doc examples python ssl"
167 RESTRICT="test"
168
169 -DEPEND=">=dev-libs/boost-1.36
170 - python? ( >=dev-libs/boost-1.36[python]
171 - || ( dev-lang/python:2.6[threads]
172 - dev-lang/python:2.7[threads] ) )
173 +DEPEND="<dev-libs/boost-1.48[python?]
174 >=sys-devel/libtool-2.2
175 sys-libs/zlib
176 examples? ( !net-p2p/mldonkey )
177
178
179
180 1.117 net-libs/rb_libtorrent/ChangeLog
181
182 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.117&view=markup
183 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.117&content-type=text/plain
184 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.116&r2=1.117
185
186 Index: ChangeLog
187 ===================================================================
188 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
189 retrieving revision 1.116
190 retrieving revision 1.117
191 diff -u -r1.116 -r1.117
192 --- ChangeLog 22 Nov 2011 21:28:44 -0000 1.116
193 +++ ChangeLog 28 Jan 2012 20:00:21 -0000 1.117
194 @@ -1,6 +1,15 @@
195 # ChangeLog for net-libs/rb_libtorrent
196 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
197 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.116 2011/11/22 21:28:44 hwoarang Exp $
198 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
199 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.117 2012/01/28 20:00:21 floppym Exp $
200 +
201 +*rb_libtorrent-0.15.9-r1 (28 Jan 2012)
202 +
203 + 28 Jan 2012; Mike Gilbert <floppym@g.o>
204 + +rb_libtorrent-0.15.9-r1.ebuild, rb_libtorrent-0.15.5.ebuild,
205 + rb_libtorrent-0.15.6.ebuild, rb_libtorrent-0.15.8.ebuild,
206 + rb_libtorrent-0.15.9.ebuild:
207 + Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch
208 + by Arfrever.
209
210 *rb_libtorrent-0.15.9 (22 Nov 2011)
211
212
213
214
215 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild
216
217 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild?rev=1.1&view=markup
218 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild?rev=1.1&content-type=text/plain
219
220 Index: rb_libtorrent-0.15.9-r1.ebuild
221 ===================================================================
222 # Copyright 1999-2012 Gentoo Foundation
223 # Distributed under the terms of the GNU General Public License v2
224 # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild,v 1.1 2012/01/28 20:00:21 floppym Exp $
225
226 EAPI="4"
227 PYTHON_DEPEND="python? 2:2.6"
228 PYTHON_USE_WITH="threads"
229 PYTHON_USE_WITH_OPT="python"
230
231 inherit multilib python versionator
232
233 MY_P=${P/rb_/}
234 MY_P=${MY_P/torrent/torrent-rasterbar}
235 S=${WORKDIR}/${MY_P}
236
237 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
238 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
239 SRC_URI="http://libtorrent.googlecode.com/files/${MY_P}.tar.gz"
240
241 LICENSE="BSD"
242 SLOT="0"
243 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
244 IUSE="debug doc examples python ssl static-libs"
245 RESTRICT="test"
246
247 DEPEND=">=dev-libs/boost-1.48[python?]
248 >=sys-devel/libtool-2.2
249 sys-libs/zlib
250 examples? ( !net-p2p/mldonkey )
251 ssl? ( dev-libs/openssl )"
252
253 RDEPEND="${DEPEND}"
254
255 pkg_setup() {
256 if use python; then
257 python_set_active_version 2
258 python_pkg_setup
259 fi
260 }
261
262 src_prepare() {
263 use python && python_convert_shebangs -r 2 .
264 }
265
266 src_configure() {
267 # use multi-threading versions of boost libs
268 local BOOST_LIBS="--with-boost-system=boost_system-mt \
269 --with-boost-filesystem=boost_filesystem-mt \
270 --with-boost-thread=boost_thread-mt \
271 --with-boost-python=boost_python-${PYTHON_ABI}-mt"
272 # detect boost version and location, bug 295474
273 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
274 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
275 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
276 BOOST_INC="/usr/include/boost-${BOOST_VER}"
277 BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
278
279 local LOGGING
280 use debug && LOGGING="--enable-logging=verbose"
281
282 econf $(use_enable debug) \
283 $(use_enable test tests) \
284 $(use_enable examples) \
285 $(use_enable python python-binding) \
286 $(use_enable ssl encryption) \
287 $(use_enable static-libs static) \
288 --with-zlib=system \
289 ${LOGGING} \
290 --with-boost=${BOOST_INC} \
291 --with-boost-libdir=${BOOST_LIB} \
292 ${BOOST_LIBS}
293 }
294
295 src_install() {
296 emake DESTDIR="${D}" install
297 use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
298 dodoc ChangeLog AUTHORS NEWS README
299 if use doc; then
300 dohtml docs/*
301 fi
302 }