Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500930 - allow using python-any-r1 and python-r1/python-single-r1 simultaneously
Summary: allow using python-any-r1 and python-r1/python-single-r1 simultaneously
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Python Gentoo Team
URL: http://thread.gmane.org/gmane.linux.g...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 20:43 UTC by Julian Ospald
Modified: 2018-04-24 15:42 UTC (History)
3 users (show)

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 Julian Ospald 2014-02-10 20:43:30 UTC
something like this

[...]
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
[...]
pkg_setup() {
	if use python ; then
		python-single-r1_pkg_setup
	else
		python-any-r1_pkg_setup
	fi
[...]

in the case of python-any-r1 the python useflags would still be there, but could all be deactivated without pkg_setup bailing out
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-07-29 14:18:59 UTC
How would we handle the deps? We'd need two different values of ${PYTHON_DEPS} and I see no clear way forward. Either we duplicate variables, and introduce extra confusion, or break compatibility (which we can't do :)).
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-07-29 14:26:48 UTC
Never got any reply on the ml.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-24 15:42:51 UTC
I don't think this is going to happen.

python-r1 has any-r1-like API these days, to provide partial solution to the problem.

As for python-single-r1, you just have to live with the extra USE flags.