Log of /eclass/python.eclass
Parent Directory
|
Revision Log
Revision
1.165 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 2 12:54:31 2013 UTC
(5 years, 1 month ago)
by
mgorny
Branch:
MAIN
Changes since
1.164: +2 -14 lines
Diff to
previous 1.164
,
to
selected 1.67
Remove deprecation warnings wrt bug #452160. The code will not be removed anymore since the eclass will be deprecated at some point.
Revision
1.164 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 20 06:34:57 2012 UTC
(5 years, 4 months ago)
by
floppym
Branch:
MAIN
Changes since
1.163: +11 -10 lines
Diff to
previous 1.163
,
to
selected 1.67
Remove pypy version mapping table from wrapper scripts. We can add it back if pypy is ever ported to py3k and we are still using this eclass.
Revision
1.142 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Dec 18 23:38:11 2011 UTC
(6 years, 4 months ago)
by
robbat2
Branch:
MAIN
Changes since
1.141: +8 -2 lines
Diff to
previous 1.141
,
to
selected 1.67
Bug #390691: Be careful about cp call to coreutils with --no-preserve option that might not be available until later in an upgrade.
Revision
1.140 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Nov 18 23:37:03 2011 UTC
(6 years, 5 months ago)
by
vapier
Branch:
MAIN
Changes since
1.139: +1 -3 lines
Diff to
previous 1.139
,
to
selected 1.67
do not clear out PYTHON_PKG_SETUP_EXECUTED everytime this gets sourced as it breaks `FEATURES=noauto ebuild <ebuild> clean setup unpack prepare configure ...` workflows
Revision
1.133 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 7 10:48:24 2011 UTC
(6 years, 6 months ago)
by
djc
Branch:
MAIN
Changes since
1.132: +13 -7 lines
Diff to
previous 1.132
,
to
selected 1.67
Respect options from shebangs of target scripts in wrapper scripts generated
by python_generate_wrapper_scripts(). (Patch by Arfrever.)
Revision
1.123 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 8 07:44:52 2011 UTC
(6 years, 9 months ago)
by
djc
Branch:
MAIN
Changes since
1.122: +8 -8 lines
Diff to
previous 1.122
,
to
selected 1.67
Include paths to wrapper scripts in error messages in wrapper scripts generated
by python_generate_wrapper_scripts().
(Patch by Arfrever. Backported from python overlay.)
Revision
1.122 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 8 07:43:38 2011 UTC
(6 years, 9 months ago)
by
djc
Branch:
MAIN
Changes since
1.121: +9 -5 lines
Diff to
previous 1.121
,
to
selected 1.67
Fix handling of ROOT in wrapper scripts generated by
python_generate_wrapper_scripts().
(Patch by Arfrever. Backported from python overlay.)
Revision
1.121 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 8 07:41:56 2011 UTC
(6 years, 9 months ago)
by
djc
Branch:
MAIN
Changes since
1.120: +13 -17 lines
Diff to
previous 1.120
,
to
selected 1.67
Allow to use _python_package_supporting_installation_for_multiple_python_abis()
in global scope and define it earlier.
(Patch by Arfrever. Backported from python overlay.)
Revision
1.117 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 4 11:28:24 2011 UTC
(6 years, 9 months ago)
by
djc
Branch:
MAIN
Changes since
1.116: +21 -36 lines
Diff to
previous 1.116
,
to
selected 1.67
Pass Python ABI patterns list to _python_check_python_abi_matching() to
simplify some code. (Patch by Arfrever. Backported from python overlay.)
Revision
1.112 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 4 10:50:28 2011 UTC
(6 years, 9 months ago)
by
djc
Branch:
MAIN
Changes since
1.111: +13 -13 lines
Diff to
previous 1.111
,
to
selected 1.67
Print deprecation warnings in deprecated parts of python_mod_optimize() and
python_mod_cleanup(). (Patch by Arfrever. Backported from python overlay.)
Revision
1.111 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 4 10:48:01 2011 UTC
(6 years, 9 months ago)
by
djc
Branch:
MAIN
Changes since
1.110: +1 -25 lines
Diff to
previous 1.110
,
to
selected 1.67
Delete python_version(), python_mod_exists(), python_tkinter_exists() and
python_mod_compile(). (Patch by Arfrever. Backported from python overlay.)
Revision
1.106 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Dec 24 15:01:09 2010 UTC
(7 years, 3 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.105: +339 -79 lines
Diff to
previous 1.105
,
to
selected 1.67
Improve support for Jython.
Improve python_generate_wrapper_scripts().
Add python_merge_intermediate_installation_images().
Revision
1.104 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Oct 25 11:54:19 2010 UTC
(7 years, 5 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.103: +258 -171 lines
Diff to
previous 1.103
,
to
selected 1.67
Set IUSE in EAPI >=4.
Rename _parse_PYTHON_DEPEND() to _python_parse_PYTHON_DEPEND() and unset it after its using.
Ban NEED_PYTHON variable.
Add python_abi_depend().
Fix exporting of python_pkg_setup() in EAPI >=4.
Update and improve _python_calculate_PYTHON_ABIS().
Support EAPI="0" in python_get_implementational_package().
Use non-deprecated parts of python_mod_optimize() and python_mod_cleanup() for dev-lang/python and sys-apps/portage.
Disallow not passing of paths to Python modules to python_mod_optimize() and python_mod_cleanup().
Fix a typo in python_mod_optimize().
Ban python_mod_compile().
Revision
1.103 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Oct 3 00:38:13 2010 UTC
(7 years, 6 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.102: +87 -31 lines
Diff to
previous 1.102
,
to
selected 1.67
Fix preservation of whitespace in python_execute_function(), python_execute_nosetests(), python_execute_py.test() and python_execute_trial().
Support --allow-evaluated-non-sitedir-paths option in python_mod_optimize() and python_mod_cleanup().
Revision
1.101 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jul 17 23:02:14 2010 UTC
(7 years, 9 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.100: +350 -211 lines
Diff to
previous 1.100
,
to
selected 1.67
Deprecate NEED_PYTHON variable.
Require python_pkg_setup() in EAPI >=4.
Ensure that sanity checks in python_pkg_setup() and python_set_active_version() are performed for binary packages.
Improve handling of arguments in some functions.
Support flags specific to given Python ABIs.
Improve sanity checks in some functions.
Improve error messages in some functions.
Support --base-path option in python_get_includedir(), python_get_libdir(), python_get_sitedir() and python_get_library().
Allow multiple paths in argument of --PYTHONPATH option of python_execute_nosetests(), python_execute_py.test() and python_execute_trial().
Simplify python_mod_optimize() and python_mod_cleanup() in EAPI >=4.
Clean unneeded code in python_version(), python_mod_exists() and python_tkinter_exists().
Revision
1.98 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue May 25 15:04:40 2010 UTC
(7 years, 10 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.97: +146 -74 lines
Diff to
previous 1.97
,
to
selected 1.67
Improve python_pkg_setup().
Improve python_clean_installation_image().
Rename validate_PYTHON_ABIS() to _python_calculate_PYTHON_ABIS().
Delete sanity check in python_set_active_version() (bug #321057).
Improve error message in PYTHON().
Improve _python_clean_compiled_modules().
Print deprecation warnings when python_mod_optimize() / python_mod_cleanup are called without paths to Python modules.
Print deprecation warning in python_mod_compile().
Revision
1.97 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 17 18:01:59 2010 UTC
(7 years, 11 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.96: +477 -308 lines
Diff to
previous 1.96
,
to
selected 1.67
Fix handling of PYTHON_USE_WITH with more than 2 USE flags.
Improve python_pkg_setup().
Rename python_clean_sitedirs() to python_clean_installation_image().
Improve python_clean_installation_image().
Improve handling of -- option in phase functions.
Add check for dev-lang/python in validate_PYTHON_ABIS() (bug #319651).
Improve error message in python_copy_sources().
Improve python_set_active_version().
Improve error messages in PYTHON().
Support PEP 3147 in python_mod_optimize(), python_mod_cleanup() and python_mod_compile().
Revision
1.96 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Mar 26 15:23:17 2010 UTC
(8 years ago)
by
arfrever
Branch:
MAIN
Changes since
1.95: +2 -1 lines
Diff to
previous 1.95
,
to
selected 1.67
Set GENTOO_PYTHON_PROCESS_NAME environmental variable in wrapper scripts generated by python_generate_wrapper_scripts(), because Python process now unsets this variable at the beginning of execution of wrapper scripts, but this variable should be set also at the beginning of execution of target scripts.
Revision
1.95 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 20 17:59:40 2010 UTC
(8 years, 1 month ago)
by
arfrever
Branch:
MAIN
Changes since
1.94: +147 -79 lines
Diff to
previous 1.94
,
to
selected 1.67
Fix handling of PYTHON_USE_WITH_OPT in python_pkg_setup().
Improve error messages in some functions.
Delete python_set_build_dir_symlink().
Fix wrapper scripts generated by python_generate_wrapper_scripts().
Improve deprecation warnings in python_version(), python_mod_exists() and python_tkinter_exists().
Revision
1.94 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 13 13:46:20 2010 UTC
(8 years, 1 month ago)
by
arfrever
Branch:
MAIN
Changes since
1.93: +90 -49 lines
Diff to
previous 1.93
,
to
selected 1.67
Improve phase functions.
Simplify and improve validate_PYTHON_ABIS().
Fix handling of ${S} ending in '/' in python_copy_sources() (bug #307943).
Improve python_generate_wrapper_scripts().
Improve python_convert_shebangs().
Add python_clean_sitedirs().
Simplify python_mod_cleanup().
Improve deprecation warnings in python_version(), python_mod_exists() and python_tkinter_exists().
Revision
1.93 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Mar 12 18:27:01 2010 UTC
(8 years, 1 month ago)
by
betelgeuse
Branch:
MAIN
Changes since
1.92: +13 -19 lines
Diff to
previous 1.92
,
to
selected 1.67
Using terminal colors to modify eerror output is not allowed. Switch to using einfo for deprecated functions so that they don't get logged by default for users.
Revision
1.92 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 4 17:42:11 2010 UTC
(8 years, 1 month ago)
by
arfrever
Branch:
MAIN
Changes since
1.91: +101 -31 lines
Diff to
previous 1.91
,
to
selected 1.67
Ensure that python_pkg_setup() is used only in pkg_setup().
Improve handling of PYTHON_USE_WITH / PYTHON_USE_WITH_OR.
Support --full option of python_get_version().
Optimize python_get_version().
Support hooks in python_execute_nosetests(), python_execute_py.test() and python_execute_trial().
Print deprecation warnings in python_version(), python_mod_exists() and python_tkinter_exists().
Revision
1.90 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 28 11:48:40 2010 UTC
(8 years, 1 month ago)
by
arfrever
Branch:
MAIN
Changes since
1.89: +171 -168 lines
Diff to
previous 1.89
,
to
selected 1.67
Define phase functions always in packages supporting installation for multiple versions of Python. Export phase functions when PYTHON_DEFINE_DEFAULT_FUNCTIONS is defined.
Extract sanity checks from validate_PYTHON_ABIS() to _python_initial_sanity_checks() and _python_final_sanity_checks().
Support --final-ABI option of python_execute_function().
Extract setting of color variables to _python_set_color_variables().
Simplify python_copy_sources() by not supporting --no-link option and always creating real copies of files.
Call _python_initial_sanity_checks() and _python_final_sanity_checks() in python_set_active_version().
Simplify PYTHON() by not supporting --active option.
Deprecate python_tkinter_exists().
Revision
1.89 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 14 18:53:11 2010 UTC
(8 years, 2 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.88: +11 -15 lines
Diff to
previous 1.88
,
to
selected 1.67
Depend on >=app-admin/eselect-python-20091230, which allows to use --ABI option of `eselect python show`.
Set PYTHON_SCRIPT_NAME variable in wrapper scripts generated by python_generate_wrapper_scripts().
Simplify PYTHON() by using of --ABI option of `eselect python show`.
Fix checks for Jython and improve messages in python_mod_optimize().
Revision
1.88 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 11 18:52:44 2010 UTC
(8 years, 2 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.87: +291 -130 lines
Diff to
previous 1.87
,
to
selected 1.67
Add initial support for Jython.
Improve dependencies generated by _parse_PYTHON_DEPEND().
Fix and improve python_pkg_setup().
Ensure that python_set_active_version() cannot be used in ebuilds of packages supporting installation for multiple versions of Python.
Add _PYTHON_ABI_EXTRACTION_COMMAND, _python_get_implementation(), python_get_implementation() and python_get_implementational_package().
Improve python_execute_nosetests(), python_execute_py.test() and python_execute_trial().
Revision
1.87 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 2 18:55:00 2010 UTC
(8 years, 2 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.86: +546 -92 lines
Diff to
previous 1.86
,
to
selected 1.67
Support EAPI="3".
Define _PYTHON2_SUPPORTED_VERSIONS and _PYTHON3_SUPPORTED_VERSIONS to avoid code duplication.
Support PYTHON_DEPEND.
Disallow using of NEED_PYTHON in EAPI >=3.
Use prefix variables (bug #302525).
Fix handling of -- option in some functions.
Ensure that python_execute_function() isn't called by a function, which is called by python_execute_function().
Set PYTHON_REQUESTED_ACTIVE_VERSION in python_set_active_version().
Add python_get_library() and python_get_version().
Use PYTHON() in python_mod_exists() and python_tkinter_exists().
Support Python 3 in python_tkinter_exists().
Support PYTHON_TEST_VERBOSITY.
Add python_execute_nosetests(), python_execute_py.test() and python_execute_trial().
Disallow using of python_version() in EAPI >=3.
Revision
1.86 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 15 14:46:20 2010 UTC
(8 years, 3 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.85: +103 -52 lines
Diff to
previous 1.85
,
to
selected 1.67
Update EAPI checks.
Add support for -f / --final-ABI option of python_get_includedir(), python_get_libdir() and python_get_sitedir().
Optimize calls to PYTHON() in python_mod_optimize() and python_mod_compile().
Delete __python_eclass_test().
Merge __python_version_extract() with python_version().
Revision
1.83 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 10 17:03:08 2010 UTC
(8 years, 3 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.82: +64 -63 lines
Diff to
previous 1.82
,
to
selected 1.67
Ensure that python.eclass cannot be used with EAPIs, in which API of python.eclass has not been yet established.
>=app-shells/bash-3.2 is now required by PMS, so DEPEND does not need to explicitly specify it.
Add support for -A / --active option of PYTHON(). Rename --only-ABI option to --ABI.
Print more detailed error messages in validate_PYTHON_ABIS() (bug #298107).
Support symlinks to wrapper scripts generated by python_generate_wrapper_scripts().
Do not use python_version(). Use $(PYTHON -A) / $(PYTHON -A --ABI) instead of ${PYVER}.
Fix python_mod_optimize() and python_mod_cleanup() for packages not supporting installation for multiple versions of Python in EAPI >=3.
Revision
1.82 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Dec 23 23:43:42 2009 UTC
(8 years, 3 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.81: +283 -26 lines
Diff to
previous 1.81
,
to
selected 1.67
Update EAPI checks. Add support for -2, -3, --only-ABI and --final-ABI options of PYTHON(). Add python_set_active_version(). Add python_generate_wrapper_scripts().
Revision
1.79 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 15 22:00:47 2009 UTC
(8 years, 5 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.78: +11 -5 lines
Diff to
previous 1.78
,
to
selected 1.67
Fix support for non-multilib profiles in PYTHON(). Print additional data in validate_PYTHON_ABIS() when EPYTHON variable isn't respected.
Revision
1.78 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 15 14:25:55 2009 UTC
(8 years, 5 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.77: +60 -34 lines
Diff to
previous 1.77
,
to
selected 1.67
Make PYTHON() support multilib systems. Improve output of python_convert_shebangs(). Support passing of regular files to python_mod_cleanup(). Improve output of python_mod_cleanup().
Revision
1.77 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Oct 11 13:34:23 2009 UTC
(8 years, 6 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.76: +96 -25 lines
Diff to
previous 1.76
,
to
selected 1.67
Optimize validate_PYTHON_ABIS(). Add python_convert_shebangs(). Remove incomplete workaround for older versions of Portage in python_pkg_setup().
Revision
1.76 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 2 23:09:08 2009 UTC
(8 years, 6 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.75: +18 -3 lines
Diff to
previous 1.75
,
to
selected 1.67
Add the check to ensure that Python wrapper is configured to use the same version of Python as /usr/bin/python2 or /usr/bin/python3. Add workaround in python_pkg_setup() for older versions of Portage not supporting Python 3.
Revision
1.71 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Sep 9 04:16:58 2009 UTC
(8 years, 7 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.70: +40 -7 lines
Diff to
previous 1.70
,
to
selected 1.67
Add support for '--' option in some functions. Ensure that appropriate Python version is installed in validate_PYTHON_ABIS(). Add support for '--no-link' option in python_copy_sources().
Revision
1.67 -
(
view)
(
download)
(
annotate)
-
[selected]
Sat Aug 29 02:15:24 2009 UTC
(8 years, 7 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.66: +26 -5 lines
Diff to
previous 1.66
Ensure that defined functions are passed to python_execute_function(). Add PYTHON_DEFINE_DEFAULT_FUNCTIONS variable.
Revision
1.62 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 13 16:57:01 2009 UTC
(8 years, 8 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.61: +18 -17 lines
Diff to
previous 1.61
,
to
selected 1.67
Don't include needless '/' characters before $(python_get_sitedir). Don't try to find *.py[co] files in directories already removed due to being empty. Display messages about purging of *.py[co] files only once for each pair of *.py[co] files. Display messages about removing of empty directories.
Revision
1.61 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Aug 7 00:43:16 2009 UTC
(8 years, 8 months ago)
by
arfrever
Branch:
MAIN
Changes since
1.60: +16 -10 lines
Diff to
previous 1.60
,
to
selected 1.67
Prints errors occuring during running python_mod_compile()/python_mod_optimize() only once. Improve python_execute_function().
Revision
1.54 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Oct 30 05:21:46 2008 UTC
(9 years, 5 months ago)
by
zmedico
Branch:
MAIN
Changes since
1.53: +6 -6 lines
Diff to
previous 1.53
,
to
selected 1.67
Bug #244946 - Use different syntax to pipe find output into while loops inside
python_mod_cleanup(), as a workaround for a bug in <bash-3.2 which causes
incorrect saving of the environment when < <(find ...) syntax is used. The bug
causes bash to die when attempting to source the resulting environment file.
A similar issue has affected eutils.eclass in the past, triggering bug #215340.
Also fix inverted argument validation logic inside python_mod_exists(), broken
since version 1.47. Thanks to zlin for reporting.
Revision
1.10 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 1 18:33:58 2003 UTC
(14 years, 5 months ago)
by
liquidx
Branch:
MAIN
Changes since
1.9: +4 -4 lines
Diff to
previous 1.9
,
to
selected 1.67
reintroducing relative linking in alternatives, this time the reverse sorting is fixed via some bash hackery. also some minor fixes in python.eclass
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.
Sticky Tag: |
|