From: Justin Lecher Date: Sun, 12 Apr 2015 17:21:11 +0000 (+0000) Subject: Export best python version before configure, #545354 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f38dbbdca4512171c3f8ae9019c0a6050d6ca03;p=gentoo.git Export best python version before configure, #545354 Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB! --- diff --git a/net-libs/rb_libtorrent/ChangeLog b/net-libs/rb_libtorrent/ChangeLog index db2f1a8b8156..ea41b211eebb 100644 --- a/net-libs/rb_libtorrent/ChangeLog +++ b/net-libs/rb_libtorrent/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/rb_libtorrent # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.193 2015/03/28 13:32:02 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.194 2015/04/12 17:21:04 jlec Exp $ + + 12 Apr 2015; Justin Lecher -rb_libtorrent-0.16.17-r1.ebuild, + -rb_libtorrent-1.0.2.ebuild, rb_libtorrent-0.16.17-r2.ebuild, + rb_libtorrent-0.16.19.ebuild, rb_libtorrent-1.0.3.ebuild: + Export best python version before configure, #545354 28 Mar 2015; Justin Lecher files/rb_libtorrent-1.0.2-python.patch: diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index 831c62fa25b3..5ec06b22261a 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -6,33 +6,30 @@ AUX rb_libtorrent-1.0.2-python.patch 1014 SHA256 52925deb2aee45199a85d2bf831abbc DIST libtorrent-rasterbar-0.16.10.tar.gz 2985640 SHA256 4c0d78b28af8051ff8a19a3a3e10a5edfec50945b8f3c9a76612111c47d671bc SHA512 a8b5d762f2b50ded1f8589efeedf2d1e0b5cc39d71bcc1840658137c1058cd03fe249c6855c5c483304aafb74b616d241456fecf00dec50608aa82af9f795819 WHIRLPOOL 20cc12a8bfcafd079a0d8ab6132bb3a4aa289089ed12c895bc2b2047b5a10a15a3ba20d6f0f767ba0e01f19dc3e1baa05518d08454b502a8b125e513bf05ce51 DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c -DIST libtorrent-rasterbar-1.0.2.tar.gz 3259318 SHA256 3c8c8e1484dfe6321271c4e51e7d5a005e13240f7f0e99908f50cc6ccd6204de SHA512 933664ecaf568344654961233d57b534f606164df3a3b8b57c5754afd2c0e96c45bd9af209630564b5798034d8bf4d2bf857d7d9679b20121cb0d13c99774aa4 WHIRLPOOL 656bdea0a7a219f398c489a3773082152bb81854cf00a4fb0aacb17cbe8886235a77cb965f1637bd49078aff61bddf517a4d787a08bdb22a58fb5c5e1e00d4ff DIST libtorrent-rasterbar-1.0.3.tar.gz 3278768 SHA256 329b607f382c2553dc0c6f50728c37f1e8e869ed16baefb7af27dd28bff40165 SHA512 79d9536baaa7d4be613b06e33a2bd442ed6ec61388f8ebd223ac6a6c855ffc0ff9e0350d9a7ee928579470cd7f9f4dd5e3afad8a8e41fec2c70e81072495ef9f WHIRLPOOL 10e58f1391462670913f5d326a6fd4d5c1a9c97b74854c60ca98e05b8896f2d0f82f37e2891f18bcfea63ae4eb6731dc2ea1676a45aa265c27152aa3c1d087f3 EBUILD rb_libtorrent-0.16.10.ebuild 1980 SHA256 1b1b8234aa147a13739a7593974d7730de468e4d58cb03bd9cd30b6580df9605 SHA512 2a8f3bf1a7b07620ffdbf8c626d590c0f3d974357feff72429743a1da4f8630d1b23970e5cfbf47a9bf60e2138d86e9528fcc6e2343a833f783160a19277d4c5 WHIRLPOOL 2a591dcf3c65acba37d97ea5c6d447a1e614219bf5997977c51c1aa67ccd202d89ab7df76056208742e4aae67962f103619909c5bf492bbfc0118e91d5c9526a -EBUILD rb_libtorrent-0.16.17-r1.ebuild 2006 SHA256 102ce33f7fcc84cf411eef4641fecc5b06628a47c488cf2df7c98f8d4f1536bd SHA512 de346d6b84e3ef4dd85d5ca732c0d53cd46c6adf49b7e0f95498b0a8bfe781adbf97c93f7c1fac853b3d1ce580fa7b11706ff70d86bdae81056491013b69c7a4 WHIRLPOOL dceabcfeea84b2290686de4dbc9d1f7e3d915fa6469df01b2e0975432b429264d9109bbb6881ec48735b5066522b9c94b6d157323f126ea44c04b77cf50206aa -EBUILD rb_libtorrent-0.16.17-r2.ebuild 1878 SHA256 94889afdd80797ef58261fbf028730455c9531f3bc089e3cba24f5670e504929 SHA512 e4dc91feb28b19ce8ad4626f57e3a1c9119c881202723a18b4ded87b97da9773da389c0cf686c6b277cbf99fcc6128981c002e663a14b7686fc33b3ece14327c WHIRLPOOL 7fe4dcbc5fba83aa360efd38e20c021b5aca1441c635d27eab351e241216f1b4e3b60aa340e72d07516b214a91830c71366d78a9d57f13c6e1e9fb2c9579f641 +EBUILD rb_libtorrent-0.16.17-r2.ebuild 1908 SHA256 0e65c9b24455b7b37da35ab8de0e9469416b4f5eac943012a130e608d9c5bab1 SHA512 ec21ae568e2f629833f7f9f37feb34df62b6c6547f370742bd223383cadc6621b78282fb938db3b4047236abad62a9acd585b0846100fc4d5752f16fe7c1fcbe WHIRLPOOL b388cd3ab93263a1a8606f0e17601f65856954dee236aa035748c98809eed7c06160d15d2cfc68b0b5a73e135819004990d5dcb3a23112232bc464237947c0ab EBUILD rb_libtorrent-0.16.17.ebuild 1968 SHA256 219c68c57d8ab707847a3e607cd6b8cb0e2aeb27f1b3919b2a773554734bca46 SHA512 64d3c062972a95a55b62c1bebe25b21cc0a805c78129a2be33862e5de3ecbd756ed1596d020ed8c7e55b1a8ff960f8f64827ed67d36580d05fb1238a6db4d197 WHIRLPOOL 34bee6511ae0d12ddf9374905a2bf877d0a33d8c213a8b0f99fcb74cc6d9df06283c0778b15afaefc7fe6c1022334541628efe302e478c55264ad62b8f96a7f7 -EBUILD rb_libtorrent-0.16.19.ebuild 1884 SHA256 5508744ab112126e55d1668685bbaf398ea928cacd8e4fe09399fbbee0cd7413 SHA512 3603195ecd740bc6c2c0b0bad0b50332b25c5e7c1ee431bf9a717c56f9a9a71d4db0c17b4357683eb14baa35bbdf56abb6789fa5acb50e5686453c466baeb04f WHIRLPOOL e142ddc024d5f42f5d10da46e478f7cf597e9d15e97d9bfefeb3487697d41da8e67f7614d4d850c6ee34c9ed5da198c94f391508f38c1e90e4ccf667769b700b -EBUILD rb_libtorrent-1.0.2.ebuild 1902 SHA256 e86d01bed023224ea2b4a66324974a079e75743613660da05125bd78f59490e8 SHA512 3c12106e092430aa2febb6c5c907e4f09d8b91a7cdb293765374a33d30196b32ae7acdd30c1b028856f8bb7121b96b2959dcf5e84eb519b1911d8d3901f4693c WHIRLPOOL 659caf2be7397067929f39f5dc6e52ebb848b287ff2fc27cb4971acfcc03e011f28699815529ce5baacbf555c68004e6383a29048a11c5c965441dff9bc5c40d -EBUILD rb_libtorrent-1.0.3.ebuild 1909 SHA256 4c26d3794909eb526eef972eab5874047ec242b2e57d0598b5190ea0e9e472fb SHA512 77c0d4287f864e8585f6ef2e0fbffed1149ca759b0320c2c367c34c292dd7a557a0591cf037f8bcad102bc4d54020bd3ca2634bf3aa3f57d108d64e66d9b732d WHIRLPOOL f5683f5b99976fa34b72e1029f2be8ed013e8c77768844fdcb73cc9173a1cd99dc3880896b5ed8c8110dfe6308bfe0300acb097c5282e1a393edb04955d8f060 -MISC ChangeLog 31723 SHA256 537a9a89e24fc28dcd76acd0699f4464a6b37807e975c529da25f4674cf0bf8b SHA512 183426e9a64707c0659ff5c33dee8e939d7d6959fb074f7a77d08bf1dffc75f131d2873c4e2b6ae10d25bbaac307a3a87b2d6cfe789aa5c967d3d40d4c1a7b6b WHIRLPOOL e697ee86801d5b9f4aef50eaabb12fe504e8bcca6d9d688efe88a8a4ac4be91a88b1844a8e0fc0689e639077922efef14b9cde5fa3a8f07c27074c0f4c062f86 +EBUILD rb_libtorrent-0.16.19.ebuild 1914 SHA256 70a2d7d442263d4f93635f4033575bcdfa731865da4ea31b3cf4e6153a89b3dc SHA512 157b7828d1b0084e5e47a72d92687bf162b2afc2c5bd125db2243b90f06372120c1ce50d63ffe5e04c0ff796bb882a55bc514bb78d59bddcacfca0b4fd2cd325 WHIRLPOOL 522be228eebda3bae6e7c29748fc2949766a02f5a782aa5cee45af54631cd67b8bdaca50f94bacd442a22eb8d089bb51ad4676cba72755c0a350b37c539be33a +EBUILD rb_libtorrent-1.0.3.ebuild 1939 SHA256 2e2e54a70a2dec960204be7b0cd30ac3e132af092d3307762cd4b76150449770 SHA512 18535bbb3fe3bf3a4febae9bd1fb5132d9c07a27a92631cf2cfe121e66fbc5f3c5bccc3e0edc6a4bc466add0b8b833394da1c15f64b7737cecb36a87de8d0417 WHIRLPOOL f11f5d62d2e7e9c7afc870ecae6eaf9df4b8bcb05e3b31ed71d46e5508bf0548b4d2e380cb6d4c20a7ec3e2b38f0effed7d6b9b6b047f3da0a229d7a86723bdf +MISC ChangeLog 31984 SHA256 cc9daac26556ce415ce7c389df56c1f66ad09385c2eb6d5ab47c7201e8221b55 SHA512 137fe68ca2a41e69aac11eec646ce71f6c0c7669ab18e6ab49a1904a6575ee7e4801cd8d700dc570179982354dce0a35be139bae66ca37528426c140328a7082 WHIRLPOOL f3101f568adb6c1de378e17db943632581659cec3306986ee75850d7cb2145ec4174e9745d86ed3193d5faf8c23f749ae4c61b9fdca7aa496683bf3e19e63a93 MISC metadata.xml 349 SHA256 6e357ba7cb729f6985cdfc9a69b5c7d5126a08751f64c4fe7f2db5034ecb0c1a SHA512 2daac05a1f02373fa84dbeabb913feba851cdcd375d6e4f86f6975a1c3ba0a1a4578c59d775dae9bb9f9a45986fe4cec9a80439aaff443e7b5d52b600a9fbb26 WHIRLPOOL 7eaa42ad28d208136aeb0137edea92203795657e7d93166ddee189e3300ec9ddb4db97f5bcf267e1276b39b265feadcaeeec5ef6495f53f99143dfaea0cf84cc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 -iQJ8BAEBCgBmBQJVFq1uXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCgBmBQJVKqmHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC -OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirwWIP/iJVA4Ws2SUUfmf7VVE+zQs4 -DLAzh+dSwQ+kpUoCQcSrJ+qLziN9p08SKzDEPseLZ74dcZCezGCKJTJLl5bPowxj -e4ZJ8A4oJSoox1JvQN5gCV63Ch5OEZhedmgeZFQPZlauAhfxgqRBNs6Oz2KKUOXi -sWHDFkIurdJ3mMtMomMmUJaqGPNjPBd4PsvGY4m/9CYvbCpSzSZKUYeFJVXd9q/W -X0bpS9FAUuQ1/4r53tnSqaLTk+CzowsoiekhARaqaYY1d9yocmUa9KRmIQcUXIDg -JNX1shVUWRpamid3qKaqhkIBM2zqGNDq4Qh2WVHKbH2sYpMgD2W9wR0kJYHLt7+r -/w8okNaVulzjp5Quj9NWix/POzCxFisxLY0M1RTWanzlJw/DwV/Zq2508nBk5CDR -JUAfrSFn4lbKPR8QqRKt2dvdvOjiv4DEhh24KNJT5Libf/riJ9neuhKxtIv2r4c2 -M+XLJ6hIaAPOtZ/Fam0Zllv62+VxF1s2oEVVWSZmQZBIdDpCDxWy95xFWwd+kGA0 -Jd2cWtb787+U1JAyaaU8TuPs3V5yswCWpFi+tFGpR5nCn1hEMKCmgi3rqu3BfD1j -up8vvu7LmEODiwveTnnAm53rc20PnYRrLrFmVU8eL/xBbjBhlbRlHBGD3KEMMdtr -BIeZQAknZyVmt3QnUnbe -=BXnS +OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirlxAQAI0paTrJ4FKrSnwv2dZeMrw8 +epf/G8C0gLvMc8mauzNI63PsJCnFyYbwpSoVwzRVKDcm5nVgRYTyYQzZMrwNTjKz +6VIoMSk0YaEBn3F5cct9ETgOsFtWWKgLf0jIV2OsCTU9BpimNioOO1/HJO2oylzG +auZi/QO+8erww46mGV618uc6MqT2i3szrWXR1mh0e+DwD73zBwcvhs3gIy6EMMn6 +zpdfwFYtQfBFZLvwn07IWcPgTyA8b7YYSNtiMIyzt5bToqL43ZVEtU1gAQK0FnWj +5RTDZPAAk83r4fi8HiapihUAyWZVhJ5YQHAAMd3IQgbT6xBQDShW8Ezq4dXOi6QD +lCdTENtzsITG3NZn/IP70E9s8eoWkLejmm6wEPtVnEQ6HB0+7y0tX0ClwP+qT0Sd +to+G5/PDVwTg0lWrkInrqNLYPSjZ3NsEzZESMMIH89FSSOuwv6xhX+XJWq0j9Dnf +FRsId5iDCraHgCr6EbnfMuBuFDLpd7fhFijY4NhdjZFNsnzwPZBy+HoOSWsoglXg +P8oVjKOgeVGIeUuTYyA6Q3+s7F9midhlue74bBiYigwVL8Mgzrt1eAwbwd+SL1Fp +DRAw0gzCg6qwad+wHLsHbh0iQRUpPafOkbapUtYqkz7UFjUXxCJNtxCKsBIapDjA +8XjxKu07IEFHmQvT9Rm1 +=BEcd -----END PGP SIGNATURE----- diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r1.ebuild deleted file mode 100644 index 09a77cfae0a7..000000000000 --- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r1.ebuild,v 1.3 2015/03/03 22:24:13 hwoarang Exp $ - -EAPI="5" -PYTHON_DEPEND="python? 2:2.7" -PYTHON_USE_WITH="threads" -PYTHON_USE_WITH_OPT="python" - -inherit eutils multilib python versionator - -MY_P=${P/rb_/} -MY_P=${MY_P/torrent/torrent-rasterbar} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" -SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug doc examples python ssl static-libs test" -RESTRICT="test" - -RDEPEND=">=dev-libs/boost-1.48:=[python?,threads(+)] - sys-libs/zlib - examples? ( !net-p2p/mldonkey ) - ssl? ( dev-libs/openssl:= )" -DEPEND="${RDEPEND} - >=sys-devel/libtool-2.2" - -pkg_setup() { - if use python; then - python_set_active_version 2 - python_pkg_setup - fi -} - -src_prepare() { - use python && python_convert_shebangs -r 2 . - epatch_user -} - -src_configure() { - local myconf - - # bug 441842 - myconf="--disable-silent-rules" - - # use multi-threading versions of boost libs - if has_version '>=dev-libs/boost-1.52.0-r1'; then - myconf+=" --with-boost-python=boost_python-${PYTHON_ABI}" - else - myconf+=" --with-boost-system=boost_system-mt \ - --with-boost-python=boost_python-${PYTHON_ABI}-mt" - fi - - local LOGGING - use debug && myconf+=" --enable-logging=verbose" - - econf $(use_enable debug) \ - $(use_enable test tests) \ - $(use_enable examples) \ - $(use_enable python python-binding) \ - $(use_enable ssl encryption) \ - $(use_enable static-libs static) \ - --with-boost-libdir=/usr/$(get_libdir) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - use static-libs || find "${D}" -name '*.la' -exec rm -f {} + - dodoc ChangeLog AUTHORS NEWS README - if use doc; then - dohtml docs/* - fi -} diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild index 99a5000816d3..8f25d97b1387 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild,v 1.4 2015/03/23 12:07:50 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild,v 1.5 2015/04/12 17:21:04 jlec Exp $ EAPI=5 @@ -53,6 +53,9 @@ src_configure() { $(use_enable python python-binding) $(usex debug "--enable-logging=verbose" "") ) + + use python && python_setup + autotools-utils_src_configure use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure } diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild index 696f15f78b68..9c24688694a9 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild,v 1.2 2015/03/23 12:07:50 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild,v 1.3 2015/04/12 17:21:04 jlec Exp $ EAPI=5 @@ -53,6 +53,9 @@ src_configure() { $(use_enable python python-binding) $(usex debug "--enable-logging=verbose" "") ) + + use python && python_setup + autotools-utils_src_configure use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure } diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.2.ebuild deleted file mode 100644 index 960fe5277c24..000000000000 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-1.0.2.ebuild,v 1.3 2015/03/23 12:07:50 jlec Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} ) -PYTHON_REQ_USE="threads" -DISTUTILS_OPTIONAL=true -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils multilib distutils-r1 - -MY_P=${P/rb_/} -MY_P=${MY_P/torrent/torrent-rasterbar} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" -SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug doc examples python ssl static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - >=dev-libs/boost-1.53:=[threads] - sys-libs/zlib - examples? ( !net-p2p/mldonkey ) - ssl? ( dev-libs/openssl:0= ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost[python,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} - >=sys-devel/libtool-2.2" - -RESTRICT="test" - -PATCHES=( "${FILESDIR}"/${P}-python.patch ) - -AUTOTOOLS_IN_SOURCE_BUILD=1 - -src_configure() { - local myeconfargs=( - --disable-silent-rules # bug 441842 - --with-boost-libdir=/usr/$(get_libdir) - $(use_enable debug) - $(use_enable test tests) - $(use_enable examples) - $(use_enable ssl encryption) - $(use_enable python python-binding) - $(usex debug "--enable-logging=verbose" "") - ) - autotools-utils_src_configure - use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure -} - -src_compile() { - autotools-utils_src_compile - use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile -} - -src_install() { - use doc && HTML_DOCS=( docs/. ) - - autotools-utils_src_install - use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install -} diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.3.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.3.ebuild index 74a62e0783c2..b5d4fd4c3dbc 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.3.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-1.0.3.ebuild,v 1.4 2015/03/23 12:07:50 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-1.0.3.ebuild,v 1.5 2015/04/12 17:21:04 jlec Exp $ EAPI=5 @@ -55,6 +55,9 @@ src_configure() { $(use_enable python python-binding) $(usex debug "--enable-logging=verbose" "") ) + + use python && python_setup + autotools-utils_src_configure use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure }