From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 650F213827E for ; Sat, 7 Dec 2013 22:35:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF65DE09ED; Sat, 7 Dec 2013 22:35:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB1D7E09B3 for ; Sat, 7 Dec 2013 22:35:28 +0000 (UTC) Received: from localhost (ip-213-220-199-78.net.upcbroadband.cz [213.220.199.78]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: yac) by smtp.gentoo.org (Postfix) with ESMTPSA id D14E033ECCD for ; Sat, 7 Dec 2013 22:35:26 +0000 (UTC) Date: Sat, 7 Dec 2013 23:34:14 +0100 From: yac To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] python versioned libraries or not Message-ID: <20131207233414.18be7ef6@gentoo.org> In-Reply-To: <86eh5rx6ie.fsf@moguhome00.in.awa.tohoku.ac.jp> References: <86eh5rx6ie.fsf@moguhome00.in.awa.tohoku.ac.jp> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/YNDNi6z8qaqXhNqWor.BT1M"; protocol="application/pgp-signature" X-Archives-Salt: cd1a18d0-882d-4ff0-8ecd-484280a978d1 X-Archives-Hash: 2110034eb155c8504e3558c45369758f --Sig_/YNDNi6z8qaqXhNqWor.BT1M Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 05 Dec 2013 13:32:09 +0900 heroxbd@gentoo.org wrote: > Dear all, >=20 > I have only one python-2.7 on my system. Simple and stupid. >=20 > After boost ebuild is converted to python-r1, libboost_python.so is > renamed to libboost_python-2.7.so. This is all cool about python-r1 > for multiple python implementation support. >=20 > At the same time, I don't need this feature. I have a couple of > Jamroot's which append "-lboost_python" to LDFLAGS, and I have to > manually specify "-lboost_python-2.7". Moreover, libraries depending > on boost.python, e.g. Boost.NumPy[1], searches for boost_python and > boost_python-mt only. I am forced to patch the build system to pass > "-${PYVAR}" to it, which is tedious. Shouldn't pkg-conifg --libs handle this? =20 > I am looking for a way out. Candidates are, >=20 > 1. scan all python versioned libraries and symlink them to > unversioned one. Question: hints to do it systematically in > portage? Is there a helper available like python-exec? >=20 > 2. python-single-r1 is ready for use, but it requires manipulating > the boost ebuild to change from python-r1, if I want a > python-single-r1 blessed boost. Question: How about merging > python-single-r1 with python-r1 and controlling by a global USE > flag "python-single". When "python-single" is set, all ebuilds > inheriting python-r1 behaves as if being with python-single-r1, > so that all python versionings on executables and libraries are > disabled. >=20 > 3. or something I missed >=20 > Comments? >=20 > Benda >=20 > 1. https://github.com/ndarray/Boost.NumPy >=20 --- Jan Mat=C4=9Bjka | Gentoo Developer https://gentoo.org | Gentoo Linux GPG: A33E F5BC A9F6 DAFD 2021 6FB6 3EBF D45B EEB6 CA8B --Sig_/YNDNi6z8qaqXhNqWor.BT1M Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBCgAGBQJSo6JtAAoJEIN+7RD5ejahLo8IAL3dVUtxivP8W/uhdFViGRnT zsoi9X3iHxkXP/BB5X8HUUA/Gn4xj7EYY3n5KwewqDnpE0IiGS+qw9P0+s6+wLhQ FamYHP9Q05fnJy+yOCa0xMKsgnVtoVkdzDX0c0hfxbtNvxogbRRtF29j7dLpgvsg pl9lfkdvOLliE554Xcs196zXQYWqGVfcPY9wxPOQSN/wisjopXqLCumqQV7i0Reu 71B3ofULq0F8o1N3EJYPOztklxDRCFCip/IH8hXRhKQnyGaCf/r7/Yjb0BrC5iba GsRjdK964qmgNv9skLJnQcE6xDZs+wCANVjsUFGTujs2gDJtjipCUn6reHzs3pk= =r18C -----END PGP SIGNATURE----- --Sig_/YNDNi6z8qaqXhNqWor.BT1M--