| Summary: | python-distutils-ng.eclass: add something like python.eclass's PYTHON_USE_WITH | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexandre Rostovtsev (RETIRED) <tetromino> |
| Component: | Eclasses | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
python-distutils-ng.eclass.patch
python-distutils-ng.eclass.patch |
||
|
Description
Alexandre Rostovtsev (RETIRED)
2012-07-16 00:53:02 UTC
Created attachment 324868 [details, diff]
python-distutils-ng.eclass.patch
discussed on dev-ml
If no one comes up with a better idea I would like to apply it.
(In reply to comment #1) That should work. Created attachment 325020 [details, diff]
python-distutils-ng.eclass.patch
after some discussion it seems the python herd would like to drop jython and pypy variables, so we have only one and handle the flag-difference inside the implementations via fake-flags
+ 26 Sep 2012; Julian Ospald <hasufell@gentoo.org> python-distutils-ng.eclass: + add PYTHON_USE wrt #426768 # @ECLASS-VARIABLE: PYTHON_USE # @DEFAULT_UNSET # @DESCRIPTION: # Comma-separated list of useflags needed for all(!) allowed # implementations. This is directly substituted into one or more of # dev-lang/python[${PYTHON_USE}], dev-python/pypy[${PYTHON_USE}] and # dev-java/jython[${PYTHON_USE}]. # @CODE # example 1: PYTHON_USE="xml,sqlite" # example 2: PYTHON_USE="xml?,threads?,-foo" # @CODE |