configuration of avogadro package searches for numpy headers. Avogadro ebuild is able to complete even without numpy, but I suggest to add a dependency and/or a keyword for numpy support. Reproducible: Always
=sci-chemistry/avogadro-0.9.2 and =sci-chemistry/avogadro-0.9.3 have missing dependencies if the python useflag is enabled. Unfortunately the build system silently disables python support if the dependencies are not found. Patch for avogadro-0.9.3.ebuild (avogadro-0.9.2.ebuild needs it too). --- avogadro-0.9.3.ebuild.orig 2009-04-26 20:46:21.000000000 +0200 +++ avogadro-0.9.3.ebuild 2009-04-26 20:53:30.000000000 +0200 @@ -21,7 +21,9 @@ glsl? ( >=media-libs/glew-1.5.0 ) python? ( >=dev-lang/python-2.5 - >=dev-libs/boost-1.35 + >=dev-libs/boost-1.35[python] + dev-python/numpy + dev-python/sip )" DEPEND="${RDEPEND} dev-cpp/eigen:2
+ 27 Apr 2009; Patrick Lauer <patrick@gentoo.org> avogadro-0.9.3: + Fixing python deps to include numpy. Fixes #267224. Will need + boost[python] deps for newer versions of boost. The first boost ebuild with python useflag is .35.0-r5, which is currently masked.
Missed that with the useflag for boost. It looks like the python support is alawys enabled for the old versions. Here is what I get from the configure script with dev-libs/boost-1.35.0-r2 dev-lang/python-2.5.4-r2 dev-python/numpy-1.2.1 no dev-python/sip -- Searching for python dependencies... -- [1/5] Boost Python -- Boost version: 1.35.0 -- Found the following Boost libraries: -- python -- Boost Python found... -- [2/5] Python Libraries -- Found PythonLibs: /usr/lib64/libpython2.5.so -- [3/5] Python Interpreter -- Found PythonInterp: /usr/bin/python -- [4/5] Numpy Module -- Numpy headers found -- [5/5] SIP Module -- sip.h header NOT found - Python support disabled after installing dev-python/sip-4.7.9 I get -- Searching for python dependencies... -- [1/5] Boost Python -- Boost version: 1.35.0 -- Found the following Boost libraries: -- python -- Boost Python found... -- [2/5] Python Libraries -- Found PythonLibs: /usr/lib64/libpython2.5.so -- [3/5] Python Interpreter -- Found PythonInterp: /usr/bin/python -- [4/5] Numpy Module -- Numpy headers found -- [5/5] SIP Module -- Found sip.h header... -- All python dependencies found - Python support enabled That means python support is not fixed unless dev-python/sip in the dependency list. For boost >=dev-libs/boost-1.35 || ( >=dev-libs/boost-1.35.0-r5[python] <dev-libs/boost-1.35.0-r5 ) does the job.
+ 30 Apr 2009; Patrick Lauer <patrick@gentoo.org> avogadro-0.9.3.ebuild: + Adding dev-python/sip to deps for #267224. Should really fix python deps + now. Again.