| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
| |
using einfo for deprecated functions so that they don't get logged by default for users.
|
|
|
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
| |
Improve some messages.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
options of PYTHON(). Add python_set_active_version(). Add python_generate_wrapper_scripts().
|
| |
|
| |
|
|
|
|
| |
validate_PYTHON_ABIS() when EPYTHON variable isn't respected.
|
|
|
|
| |
python_convert_shebangs(). Support passing of regular files to python_mod_cleanup(). Improve output of python_mod_cleanup().
|
|
|
|
| |
incomplete workaround for older versions of Portage in python_pkg_setup().
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
enabled. Improve python_pkg_setup().
|
| |
|
| |
|
|
|
|
| |
Python version is installed in validate_PYTHON_ABIS(). Add support for '--no-link' option in python_copy_sources().
|
|
|
|
| |
python_execute_function().
|
| |
|
| |
|
|
|
|
| |
PYTHON_DEFINE_DEFAULT_FUNCTIONS variable.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
python_mod_compile()/python_mod_optimize() only once. Improve python_execute_function().
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
versions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
called in global scope.
|
|
|
|
| |
python-updater :)
|
| |
|
| |
|
| |
|
| |
|
| |
|