summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update supported pypy ABIs.Dirkjan Ochtman2011-11-301-2/+2
|
* do not clear out PYTHON_PKG_SETUP_EXECUTED everytime this gets sourced as it ↵Mike Frysinger2011-11-181-3/+1
| | | | breaks `FEATURES=noauto ebuild <ebuild> clean setup unpack prepare configure ...` workflows
* Make python.eclass not die on EAPI-4. This has been OK-ed by python team ↵Paweł Hajdan2011-10-151-2/+2
| | | | lead: http://archives.gentoo.org/gentoo-dev/msg_c211342132e8ee5249861eb6503b3ddd.xml
* Improve support for PyPy in python_mod_optimize(). (Patch by Arfrever.)Dirkjan Ochtman2011-10-071-5/+5
|
* Fix ResourceWarning in python_merge_intermediate_installation_images().Dirkjan Ochtman2011-10-071-2/+4
| | | | (Patch by Arfrever.)
* Fix calculation of test hook function name in _python_test_hook().Dirkjan Ochtman2011-10-071-9/+9
| | | | (Patch by Arfrever.)
* Fix synchronization of variables in wrapper scripts generated byDirkjan Ochtman2011-10-071-26/+48
| | | | python_generate_wrapper_scripts(). (Patch by Arfrever.)
* Improve support for SELinux in python_merge_intermediate_installation_images().Dirkjan Ochtman2011-10-071-2/+2
| | | | (Patch by Arfrever.)
* Respect options from shebangs of target scripts in wrapper scripts generatedDirkjan Ochtman2011-10-071-7/+13
| | | | by python_generate_wrapper_scripts(). (Patch by Arfrever.)
* Remove 3.3 from support python ABIs for now.Dirkjan Ochtman2011-09-101-2/+2
|
* fix random bugs in eclass documentation, and convert to new @AUTHOR tagMike Frysinger2011-08-221-2/+3
|
* revert as suggested by ArfreverFabio Erculiani2011-08-191-2/+2
|
* restore USE deps check for EAPI=0,1 in pkg_setupFabio Erculiani2011-08-191-2/+44
|
* kill pkg_setup USE dependencies check for EAPI>=2 with fire, take the blame, ↵Fabio Erculiani2011-08-191-44/+2
| | | | but live happier afterwards, see bug 337320
* Fix handling of symlinks in python_merge_intermediate_installation_images().Dirkjan Ochtman2011-07-081-5/+26
| | | | (Patch by Arfrever. Backported from python overlay.)
* Add initial support for PyPy.Dirkjan Ochtman2011-07-081-25/+73
| | | | (Patch by Arfrever. Backported from python overlay.)
* Delete support for installation of Python packages for Python 3.0.Dirkjan Ochtman2011-07-081-2/+2
| | | | (Patch by Arfrever. Backported from python overlay.)
* Add python_get_implementation_and_version().Dirkjan Ochtman2011-07-081-10/+59
| | | | (Patch by Arfrever. Backported from python overlay.)
* Include paths to wrapper scripts in error messages in wrapper scripts generatedDirkjan Ochtman2011-07-081-8/+8
| | | | | by python_generate_wrapper_scripts(). (Patch by Arfrever. Backported from python overlay.)
* Fix handling of ROOT in wrapper scripts generated byDirkjan Ochtman2011-07-081-5/+9
| | | | | python_generate_wrapper_scripts(). (Patch by Arfrever. Backported from python overlay.)
* Allow to use _python_package_supporting_installation_for_multiple_python_abis()Dirkjan Ochtman2011-07-081-17/+13
| | | | | in global scope and define it earlier. (Patch by Arfrever. Backported from python overlay.)
* Add _PYTHON_ABI_PATTERN_REGEX.Dirkjan Ochtman2011-07-081-2/+4
| | | | (Patch by Arfrever. Backported from python overlay.)
* Log syntax errors / warnings in python_mod_optimize().Dirkjan Ochtman2011-07-081-6/+20
| | | | (Patch by Arfrever. Backported from python overlay.)
* Support -l / --language option in python_get_version().Dirkjan Ochtman2011-07-081-28/+58
| | | | (Patch by Arfrever. Backported from python overlay.)
* Pass Python ABI patterns list to _python_check_python_abi_matching() toDirkjan Ochtman2011-07-041-36/+21
| | | | simplify some code. (Patch by Arfrever. Backported from python overlay.)
* Support PYTHON_TESTS_RESTRICTED_ABIS.Dirkjan Ochtman2011-07-041-1/+13
| | | | (Patch by Arfrever. Backported from python overlay.)
* Support Python ABI patterns list in _python_check_python_abi_matching.Dirkjan Ochtman2011-07-041-11/+48
| | | | (Patch by Arfrever. Backported from python overlay.)
* Fix coding style in some functions for consistency with other functions.Dirkjan Ochtman2011-07-041-34/+62
| | | | (Patch by Arfrever. Backported from python overlay.)
* Support EAPI >=4 in python_src_install().Dirkjan Ochtman2011-07-041-2/+22
| | | | (Patch by Arfrever. Backported from python overlay.)
* Print deprecation warnings in deprecated parts of python_mod_optimize() andDirkjan Ochtman2011-07-041-13/+13
| | | | python_mod_cleanup(). (Patch by Arfrever. Backported from python overlay.)
* Delete python_version(), python_mod_exists(), python_tkinter_exists() andDirkjan Ochtman2011-07-041-25/+1
| | | | python_mod_compile(). (Patch by Arfrever. Backported from python overlay.)
* Support 3.3 Python ABI.Arfrever Frehtes Taifersar Arahesis2011-03-101-4/+4
| | | | Update EAPI checks.
* Fix support for non-GNU cp in ↵Arfrever Frehtes Taifersar Arahesis2011-02-141-3/+7
| | | | python_merge_intermediate_installation_images() (bug #352406).
* Fix handling of EPREFIX in python_merge_intermediate_installation_images()Jonathan Callen2010-12-311-2/+2
|
* Allow using of python_merge_intermediate_installation_images() multiple times.Arfrever Frehtes Taifersar Arahesis2010-12-261-1/+3
|
* Improve support for Jython.Arfrever Frehtes Taifersar Arahesis2010-12-241-79/+339
| | | | | Improve python_generate_wrapper_scripts(). Add python_merge_intermediate_installation_images().
* Temporarily delete some code.Arfrever Frehtes Taifersar Arahesis2010-10-291-155/+1
|
* Set IUSE in EAPI >=4.Arfrever Frehtes Taifersar Arahesis2010-10-251-171/+258
| | | | | | | | | | | | | 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().
* Fix preservation of whitespace in python_execute_function(), ↵Arfrever Frehtes Taifersar Arahesis2010-10-031-31/+87
| | | | | | 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().
* Print path to ebuild in deprecation warning for NEED_PYTHON variable.Arfrever Frehtes Taifersar Arahesis2010-07-181-67/+35
| | | | Disable colors by default (bug #309057).
* Deprecate NEED_PYTHON variable.Arfrever Frehtes Taifersar Arahesis2010-07-171-210/+349
| | | | | | | | | | | | | 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().
* Fix deletion of empty parent directories in _python_clean_compiled_modules().Arfrever Frehtes Taifersar Arahesis2010-05-291-4/+6
|
* Fix deprecation warning in python_mod_compile().Arfrever Frehtes Taifersar Arahesis2010-05-251-11/+13
|
* Improve python_pkg_setup().Arfrever Frehtes Taifersar Arahesis2010-05-251-74/+146
| | | | | | | | | | 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().
* Fix handling of PYTHON_USE_WITH with more than 2 USE flags.Arfrever Frehtes Taifersar Arahesis2010-05-171-307/+476
| | | | | | | | | | | | 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().
* Set GENTOO_PYTHON_PROCESS_NAME environmental variable in wrapper scripts ↵Arfrever Frehtes Taifersar Arahesis2010-03-261-1/+2
| | | | 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.
* Fix handling of PYTHON_USE_WITH_OPT in python_pkg_setup().Arfrever Frehtes Taifersar Arahesis2010-03-201-79/+147
| | | | | | | 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().
* Improve phase functions.Arfrever Frehtes Taifersar Arahesis2010-03-131-49/+90
| | | | | | | | | | 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 terminal colors to modify eerror output is not allowed. Switch to ↵Petteri Räty2010-03-121-19/+13
| | | | using einfo for deprecated functions so that they don't get logged by default for users.
* Ensure that python_pkg_setup() is used only in pkg_setup().Arfrever Frehtes Taifersar Arahesis2010-03-041-31/+101
| | | | | | | | 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().