Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 315321 | Differences between
and this patch

Collapse All | Expand All

(-)rb_libtorrent-0.15.5.ebuild~ (-4 / +13 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild,v 1.3 2011/02/14 18:16:39 phajdan.jr Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild,v 1.3 2011/02/14 18:16:39 phajdan.jr Exp $
4
4
5
EAPI="2"
5
EAPI="2"
6
inherit eutils versionator
6
PYTHON_DEPEND="python? 2:2.6"
7
PYTHON_USE_WITH="threads"
8
9
inherit eutils versionator python
7
10
8
MY_P=${P/rb_/}
11
MY_P=${P/rb_/}
9
MY_P=${MY_P/torrent/torrent-rasterbar}
12
MY_P=${MY_P/torrent/torrent-rasterbar}
Lines 20-28 Link Here
20
RESTRICT="test"
23
RESTRICT="test"
21
24
22
DEPEND=">=dev-libs/boost-1.36
25
DEPEND=">=dev-libs/boost-1.36
23
	python? ( >=dev-libs/boost-1.36[python]
26
	python? ( >=dev-libs/boost-1.36[python] )
24
		|| ( dev-lang/python:2.6[threads]
25
		dev-lang/python:2.7[threads] ) )
26
	>=sys-devel/libtool-2.2
27
	>=sys-devel/libtool-2.2
27
	sys-libs/zlib
28
	sys-libs/zlib
28
	examples? ( !net-p2p/mldonkey )
29
	examples? ( !net-p2p/mldonkey )
Lines 30-35 Link Here
30
31
31
RDEPEND="${DEPEND}"
32
RDEPEND="${DEPEND}"
32
33
34
pkg_setup() {
35
	use python && python_set_active_version 2
36
}
37
38
src_prepare() {
39
	use python && python_convert_shebangs -r 2 .
40
}
41
33
src_configure() {
42
src_configure() {
34
	# use multi-threading versions of boost libs
43
	# use multi-threading versions of boost libs
35
	local BOOST_LIBS="--with-boost-system=boost_system-mt \
44
	local BOOST_LIBS="--with-boost-system=boost_system-mt \

Return to bug 315321