Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542426 - dev-python/ipython-2.2.0: USE=doc pulls in superfluous dependencies
Summary: dev-python/ipython-2.2.0: USE=doc pulls in superfluous dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-07 10:16 UTC by Luciano
Modified: 2015-03-13 15:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (info.txt,18.70 KB, text/plain)
2015-03-07 10:16 UTC, Luciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano 2015-03-07 10:16:12 UTC
Created attachment 398296 [details]
emerge info

Trying to build ipython 2.2.0 with the doc flag results in:

!!! The ebuild selected to satisfy "dev-python/ipython" has unmet requirements.
- dev-python/ipython-2.2.0::gentoo USE="doc matplotlib notebook qt4 smp -examples -mongodb -nbconvert -octave -test -wxwidgets" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_3 -python3_4"

  The following REQUIRED_USE flag constraints are unsatisfied:
    doc? ( mongodb octave )

  The above constraints are a subset of the following complete expression:
    doc? ( matplotlib mongodb octave ) any-of ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )

Why does there exist this dependency on matplotlib / mongodb / octave? Are all these packages really build time dependencies?

The .ebuild has the following:

        doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
                dev-python/numpydoc[${PYTHON_USEDEP}]
                dev-python/nose[${PYTHON_USEDEP}]
                dev-python/cython[${PYTHON_USEDEP}]
                dev-python/rpy[${PYTHON_USEDEP}]
                $(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7)
                >=www-servers/tornado-3.1[${PYTHON_USEDEP}]

So I guess it's the penultimate line that is generating this?

Not a major issue, you can just disable the doc flag, but it would be nice if somebody would clean this up.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-03-13 15:11:56 UTC
+*ipython-2.4.1 (13 Mar 2015)
+
+  13 Mar 2015; Justin Lecher <jlec@gentoo.org> +ipython-2.4.1.ebuild,
+  -files/62ipython-gentoo.el, -files/ipython-0.12-globalpath.patch,
+  -files/ipython-0.13-umlaut.patch, -files/ipython-0.9.1-globalpath.patch,
+  -files/ipython-1.0.0-setuptools.patch, -ipython-0.10.2.ebuild,
+  -ipython-1.0.0.ebuild, -ipython-1.2.1.ebuild, -ipython-2.4.0.ebuild,
+  ipython-2.2.0.ebuild, ipython-3.0.0.ebuild:
+  Version Bump, bug #539578; fix SLOT operators loosen USE constraints for
+  USE=doc, bug #542426; don't build API docs for iypthon-3 due to missing
+  buildtime deps, bug #541832; drop old fixes CVE-2014-3429 bug #517222 and
+  obsolets bug #486880, bug #489372, bug #489384, bug #428170, bug #407823, bug
+  #407715, bug #490166, bug #456960, bug #483580, bug #530324, bug #536386 and
+  bug #481726
+