1 |
--- |
2 |
gx86/eclass/python-any-r1.eclass | 12 ++++++++++++ |
3 |
gx86/eclass/python-r1.eclass | 12 ++++++++++++ |
4 |
gx86/eclass/python-single-r1.eclass | 12 ++++++++++++ |
5 |
3 files changed, 36 insertions(+) |
6 |
|
7 |
diff --git a/gx86/eclass/python-any-r1.eclass b/gx86/eclass/python-any-r1.eclass |
8 |
index cd23aa4..a8872df 100644 |
9 |
--- a/gx86/eclass/python-any-r1.eclass |
10 |
+++ b/gx86/eclass/python-any-r1.eclass |
11 |
@@ -72,6 +72,18 @@ elif ! declare -p PYTHON_COMPAT &>/dev/null; then |
12 |
die 'PYTHON_COMPAT not declared.' |
13 |
fi |
14 |
|
15 |
+# @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE |
16 |
+# @INTERNAL |
17 |
+# @DESCRIPTION: |
18 |
+# This variable can be used to quickly override the value |
19 |
+# of PYTHON_COMPAT for a package. It should be noted that it is intended |
20 |
+# for testing packages only, and it must not be used in ebuilds. |
21 |
+# |
22 |
+# Example use: |
23 |
+# @CODE |
24 |
+# PYTHON_COMPAT_OVERRIDE=python3_3 emerge -1v dev-python/foo |
25 |
+# @CODE |
26 |
+ |
27 |
# @ECLASS-VARIABLE: PYTHON_REQ_USE |
28 |
# @DEFAULT_UNSET |
29 |
# @DESCRIPTION: |
30 |
diff --git a/gx86/eclass/python-r1.eclass b/gx86/eclass/python-r1.eclass |
31 |
index 63bfb4e..a97c948 100644 |
32 |
--- a/gx86/eclass/python-r1.eclass |
33 |
+++ b/gx86/eclass/python-r1.eclass |
34 |
@@ -77,6 +77,18 @@ elif ! declare -p PYTHON_COMPAT &>/dev/null; then |
35 |
fi |
36 |
fi |
37 |
|
38 |
+# @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE |
39 |
+# @INTERNAL |
40 |
+# @DESCRIPTION: |
41 |
+# This variable can be used to quickly override the value |
42 |
+# of PYTHON_COMPAT for a package. It should be noted that it is intended |
43 |
+# for testing packages only, and it must not be used in ebuilds. |
44 |
+# |
45 |
+# Example use: |
46 |
+# @CODE |
47 |
+# PYTHON_COMPAT_OVERRIDE=python3_3 emerge -1v dev-python/foo |
48 |
+# @CODE |
49 |
+ |
50 |
# @ECLASS-VARIABLE: PYTHON_REQ_USE |
51 |
# @DEFAULT_UNSET |
52 |
# @DESCRIPTION: |
53 |
diff --git a/gx86/eclass/python-single-r1.eclass b/gx86/eclass/python-single-r1.eclass |
54 |
index 73f05f6..c0ea168 100644 |
55 |
--- a/gx86/eclass/python-single-r1.eclass |
56 |
+++ b/gx86/eclass/python-single-r1.eclass |
57 |
@@ -77,6 +77,18 @@ elif ! declare -p PYTHON_COMPAT &>/dev/null; then |
58 |
die 'PYTHON_COMPAT not declared.' |
59 |
fi |
60 |
|
61 |
+# @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE |
62 |
+# @INTERNAL |
63 |
+# @DESCRIPTION: |
64 |
+# This variable can be used to quickly override the value |
65 |
+# of PYTHON_COMPAT for a package. It should be noted that it is intended |
66 |
+# for testing packages only, and it must not be used in ebuilds. |
67 |
+# |
68 |
+# Example use: |
69 |
+# @CODE |
70 |
+# PYTHON_COMPAT_OVERRIDE=python3_3 emerge -1v dev-python/foo |
71 |
+# @CODE |
72 |
+ |
73 |
# @ECLASS-VARIABLE: PYTHON_REQ_USE |
74 |
# @DEFAULT_UNSET |
75 |
# @DESCRIPTION: |
76 |
-- |
77 |
1.8.0.2 |