Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325020 Details for
Bug 426768
python-distutils-ng.eclass: add something like python.eclass's PYTHON_USE_WITH
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python-distutils-ng.eclass.patch
python-distutils-ng.eclass.patch (text/plain), 1.46 KB, created by
Julian Ospald
on 2012-09-26 11:30:34 UTC
(
hide
)
Description:
python-distutils-ng.eclass.patch
Filename:
MIME Type:
Creator:
Julian Ospald
Created:
2012-09-26 11:30:34 UTC
Size:
1.46 KB
patch
obsolete
>--- python-distutils-ng.eclass >+++ python-distutils-ng.eclass >@@ -59,6 +59,15 @@ > # Set to any value to disable automatic reinstallation of scripts in bin > # directories. See python-distutils-ng_src_install function. > >+# @ECLASS-VARIABLE: PYTHON_COMPAT_USE >+# @DEFAULT_UNSET >+# @DESCRIPTION: >+# Comma seperated list of useflags needed for all(!) allowed implementations. >+# This is directly substituted into one or more of dev-lang/python[${PYTHON_COMPAT_USE}], >+# dev-python/pypy[${PYTHON_COMPAT_USE}] and dev-java/jython[${PYTHON_COMPAT_USE}]. >+# example 1: PYTHON_COMPAT_USE="xml,sqlite" >+# example 2: PYTHON_COMPAT_USE="xml?,threads?,-foo" >+ > EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install > > case "${EAPI}" in >@@ -107,16 +116,20 @@ > fi > unset required_use_str > >+# avoid empty use deps >+_PYTHON_COMPAT_USE="${PYTHON_COMPAT_USE:+[${PYTHON_COMPAT_USE}]}" >+ >+# set python DEPEND and RDEPEND > for impl in ${PYTHON_COMPAT}; do > IUSE+=" python_targets_${impl}" > dep_str="${impl/_/.}" > case "${dep_str}" in > python?.?) >- dep_str="dev-lang/python:${dep_str: -3}" ;; >+ dep_str="dev-lang/python:${dep_str: -3}${_PYTHON_COMPAT_USE}" ;; > jython?.?) >- dep_str="dev-java/jython:${dep_str: -3}" ;; >+ dep_str="dev-java/jython:${dep_str: -3}${_PYTHON_COMPAT_USE}" ;; > pypy?.?) >- dep_str="dev-python/pypy:${dep_str: -3}" ;; >+ dep_str="dev-python/pypy:${dep_str: -3}${_PYTHON_COMPAT_USE}" ;; > *) > die "Unsupported implementation: ${impl}" ;; > esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 426768
:
324868
| 325020