Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: ChangeLog rb_libtorrent-0.15.7.ebuild rb_libtorrent-0.14.12.ebuild rb_libtorrent-0.14.9-r1.ebuild
Date: Tue, 02 Aug 2011 14:18:44
Message-Id: 20110802141831.2A9752004C@flycatcher.gentoo.org
1 hwoarang 11/08/02 14:18:30
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.15.7.ebuild
5 Removed: rb_libtorrent-0.14.12.ebuild
6 rb_libtorrent-0.14.9-r1.ebuild
7 Log:
8 Version bump. remove old ebuilds
9
10 (Portage version: 2.2.0_alpha46/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.113 net-libs/rb_libtorrent/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.113&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.113&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.112&r2=1.113
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
22 retrieving revision 1.112
23 retrieving revision 1.113
24 diff -u -r1.112 -r1.113
25 --- ChangeLog 30 May 2011 14:22:28 -0000 1.112
26 +++ ChangeLog 2 Aug 2011 14:18:30 -0000 1.113
27 @@ -1,6 +1,13 @@
28 # ChangeLog for net-libs/rb_libtorrent
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.112 2011/05/30 14:22:28 hwoarang Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.113 2011/08/02 14:18:30 hwoarang Exp $
32 +
33 +*rb_libtorrent-0.15.7 (02 Aug 2011)
34 +
35 + 02 Aug 2011; Markos Chandras <hwoarang@g.o>
36 + -rb_libtorrent-0.14.9-r1.ebuild, -rb_libtorrent-0.14.12.ebuild,
37 + +rb_libtorrent-0.15.7.ebuild:
38 + Version bump. remove old ebuilds
39
40 30 May 2011; Markos Chandras <hwoarang@g.o>
41 rb_libtorrent-0.14.12.ebuild:
42
43
44
45 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.15.7.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.7.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.7.ebuild?rev=1.1&content-type=text/plain
49
50 Index: rb_libtorrent-0.15.7.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.7.ebuild,v 1.1 2011/08/02 14:18:30 hwoarang Exp $
55
56 EAPI="2"
57 PYTHON_DEPEND="python? 2:2.6"
58 PYTHON_USE_WITH="threads"
59
60 inherit eutils versionator python
61
62 MY_P=${P/rb_/}
63 MY_P=${MY_P/torrent/torrent-rasterbar}
64 S=${WORKDIR}/${MY_P}
65
66 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
67 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
68 SRC_URI="http://libtorrent.googlecode.com/files/${MY_P}.tar.gz"
69
70 LICENSE="BSD"
71 SLOT="0"
72 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
73 IUSE="debug doc examples python ssl"
74 RESTRICT="test"
75
76 DEPEND=">=dev-libs/boost-1.36[python?]
77 >=sys-devel/libtool-2.2
78 sys-libs/zlib
79 examples? ( !net-p2p/mldonkey )
80 ssl? ( dev-libs/openssl )"
81
82 RDEPEND="${DEPEND}"
83
84 pkg_setup() {
85 use python && python_set_active_version 2
86 }
87
88 src_prepare() {
89 use python && python_convert_shebangs -r 2 .
90 }
91
92 src_configure() {
93 # use multi-threading versions of boost libs
94 local BOOST_LIBS="--with-boost-system=boost_system-mt \
95 --with-boost-filesystem=boost_filesystem-mt \
96 --with-boost-thread=boost_thread-mt \
97 --with-boost-python=boost_python-mt"
98 # detect boost version and location, bug 295474
99 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
100 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
101 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
102 BOOST_INC="/usr/include/boost-${BOOST_VER}"
103 BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
104
105 local LOGGING
106 use debug && LOGGING="--enable-logging=verbose"
107
108 econf $(use_enable debug) \
109 $(use_enable test tests) \
110 $(use_enable examples) \
111 $(use_enable python python-binding) \
112 $(use_enable ssl encryption) \
113 --with-zlib=system \
114 ${LOGGING} \
115 --with-boost=${BOOST_INC} \
116 --with-boost-libdir=${BOOST_LIB} \
117 ${BOOST_LIBS}
118 }
119
120 src_install() {
121 emake DESTDIR="${D}" install || die 'emake install failed'
122 dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed'
123 if use doc ; then
124 dohtml docs/* || die "Could not install HTML documentation"
125 fi
126 }