* [gentoo-dev] python versioned libraries or not
@ 2013-12-05 4:32 heroxbd
2013-12-07 22:34 ` yac
0 siblings, 1 reply; 4+ messages in thread
From: heroxbd @ 2013-12-05 4:32 UTC (permalink / raw
To: gentoo-dev
Dear all,
I have only one python-2.7 on my system. Simple and stupid.
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.
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.
I am looking for a way out. Candidates are,
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?
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.
3. or something I missed
Comments?
Benda
1. https://github.com/ndarray/Boost.NumPy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] python versioned libraries or not
2013-12-05 4:32 [gentoo-dev] python versioned libraries or not heroxbd
@ 2013-12-07 22:34 ` yac
2013-12-07 23:44 ` heroxbd
0 siblings, 1 reply; 4+ messages in thread
From: yac @ 2013-12-07 22:34 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]
On Thu, 05 Dec 2013 13:32:09 +0900
heroxbd@gentoo.org wrote:
> Dear all,
>
> I have only one python-2.7 on my system. Simple and stupid.
>
> 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.
>
> 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?
> I am looking for a way out. Candidates are,
>
> 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?
>
> 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.
>
> 3. or something I missed
>
> Comments?
>
> Benda
>
> 1. https://github.com/ndarray/Boost.NumPy
>
---
Jan Matějka | Gentoo Developer
https://gentoo.org | Gentoo Linux
GPG: A33E F5BC A9F6 DAFD 2021 6FB6 3EBF D45B EEB6 CA8B
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-09 21:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 4:32 [gentoo-dev] python versioned libraries or not heroxbd
2013-12-07 22:34 ` yac
2013-12-07 23:44 ` heroxbd
2013-12-09 21:27 ` Luca Barbato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox