Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578426 - dev-python/python-keystoneclient-2.3.1 fails to build
Summary: dev-python/python-keystoneclient-2.3.1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-28 03:47 UTC by Carlos Konstanski
Modified: 2016-03-28 05:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Konstanski 2016-03-28 03:47:00 UTC
python-keystoneclient-2.3.1 fails to build with the following error:

USE Flag 'doc' not in IUSE for dev-python/python-keystoneclient-2.3.1

This is because the USE flags have all been removed from this version of python--keystoneclient (previously "doc examples test"), but the rest of the ebuild assumes them to still be there:

python_prepare_all() {
    use doc && esetup.py build_sphinx
    sed -i '/^argparse/d' requirements.txt || die
    sed -i '/^hacking/d' test-requirements.txt || die
    distutils-r1_python_prepare_all
}

python_install_all() {
    use doc && local HTML_DOCS=( doc/build/html/. )
    use examples && local EXAMPLES=( examples/. )
    distutils-r1_python_install_all
}

I tried restoring the USE flags, but that just caused other errors. Apparently they were removed for a reason, but the rest of the ebuild was copied and pasted from the previous version, complete with code that depends on the USE flags.

Reproducible: Always
Comment 1 Tomáš Mózes 2016-03-28 05:52:34 UTC
Please re-sync the gentoo repository, according to git this should be fixed by now.