< Project:Python

Project:Python/API change history

Warning
This page is not actively maintained. The most recent changes have not been listed yet.

This page lists past changes in the API of python-r1 eclass suite.

Date Change Eclasses affected Backwards compat.
p-r1 p-s-r1 p-a-r1 d-r1
2016-05-14Removed support for altered DESTTREE in installation helpers (i.e. respecting into before python_do*) python-utils-r1 No
Made python_scriptroot and python_moduleroot internal (in favor of python_scriptinto and python_moduleinto) python-utils-r1 Yes (still respected)
2015-12-22Introduced python_gen_impl_dep Yes Yes No Ind Yes
2015-12-06Reordered implementations in semi-ascending order python-utils-r1 unless ebuild was relying on particular order
Marked internal and eclass-generated variables read-only all of them unless generated vars were altered
2015-11-26Allowed passing file and directory symlinks to python_fix_shebang python-utils-r1 Yes
2015-11-18Added EAPI=6 support all of them Yes
2015-11-08Added support for getting python-config executable path (PYTHON_CONFIG) python-utils-r1 Yes
2015-11-07Made python_export obtain includedir, libdir and sitedir from the installed interpreter rather than hardcoding it python-utils-r1 if correct DEPENDs were in place
2015-07-27Banned calling python2 and python2-config when python3.* was selected, and vice versa python-utils-r1 unless different versions of Python were mixed
Added wrapping for pythonN-config (python_wrapper_setup) python-utils-r1 Yes
2015-07-16Banned installing global package named examples No No No Yes if install was sane
2015-02-19Removed support for python-exec:0 Yes Yes No Yes unless python-exec:0 was explicitly required
2015-01-13Added DISTUTILS_ALL_SUBPHASE_IMPLS to restrict implementations for *_all() phases No No No Yes Yes
python_setup started accepting implementation restrictions Yes No No No Yes
2014-12-28Ported metadata writing helpers from python-r1 to python-single-r1 No Yes No No Yes
2014-12-27Banned use of unsupported python.eclass/distutils.eclass functions and variables, to help catching unconverted parts of ebuilds python-utils-r1 if legitimate functions were used
2014-12-07Disabled parallel run support and added guarantees . In particular:
  1. python_parallel_foreach_impl was deprecated and made equivalent to python_foreach_impl.
  2. Distutils-r1 sub-phases are no longer run in parallel.
  3. Both functions and sub-phases are no longer isolated in a subshell. However, the eclass still guarantees resetting working directory.
Yes No No Yes No
2014-11-09Added python_is_installed function python-utils-r1 Yes
2014-08-24Install paths are passed to setup.py via .pydistutils.cfg No No No Yes No
2014-06-29Added Project:Python/python-utils-r1#python_export_utf8_locale function python-utils-r1 Yes
distutils-r1 now tries to force utf-8 locale No No No Yes unless something fails with UTF-8
2014-06-19python_fix_shebang: added --force and --quiet options python-utils-r1 Yes
2014-05-26Move python_fix_shebang to python-utils-r1 (from python-single-r1) python-utils-r1 Yes
2014-04-19python_gen_cond_dep: support substituting ${PYTHON_USEDEP} Yes No No Ind Yes
2014-03-13Added python_doexe & python_newexe python-utils-r1 Yes
2013-12-03Removed no-op distutils-r1_python_test function No No No Yes No
2013-12-02Egg-path override is done through .pydistutils.cfg (removes unnecessary bdist_egg call) No No No Yes No
2013-10-27Removed python_get_EPYTHON and python_get_PYTHON (deprecated on 2013-09-16) python-utils-r1 No
2013-10-26distutils-r1_python_install no longer passes install twice (paver compat) No No No Yes No
2013-10-22Added python_setup as a common implementation setup function for all eclasses Yes Yes Yes Ind Yes
distutils-r1_python_install: added support for --install-scripts override No No No Yes Yes
2013-10-12Added MERGE_TYPE checks not to search for Python during binary package install in default pkg_setup No Yes Yes Ind No
2013-09-27Set build paths via .pydistutils.cfg No No No Yes No
Establish separate HOME directories for each implementation No No No Yes No
2013-09-26Support wrapping symlinks in PYTHON_SCRIPTDIR No No No Yes No
2013-09-24Added python_gen_any_dep No No Yes No Yes
2013-09-17Enabled support for python-exec:2 Yes Yes No Yes No
Added PYTHON_SCRIPTDIR python-utils-r1 Yes
2013-09-16Deprecated python_get_PYTHON and python_get_EPYTHON python-utils-r1 Yes
2013-08-28Introduced python_is_python3 python-utils-r1 Yes
2013-08-25Added support for preserving bundled egg files No No No Yes No
2013-08-01Added QA warnings whenever distutils-r1_python_prepare_all or distutils-r1_python_install_all are ommitted No No No Yes Yes
Banned use of invalid atoms in PYTHON_COMPAT No No Yes No if legitimate APIs were used
2013-07-11Banned calls to python_optimize in pkg_* phases python-utils-r1 if legitimate APIs were used
2013-07-09Enabled stubbing out ez_setup.py and distribute_setup.py No No No Yes No
2013-05-21Added PYTHON_REQUIRED_USE (instead of implicit REQUIRED_USE setting) Yes Yes No No may delay errors
Enabled automatic use of PYTHON_REQUIRED_USE in distutils-r1 No No No Yes Yes
2013-04-30Added python_check_deps support No No Yes No Yes
2013-04-07Added Python executable and pkg-config wrapper setup all eclasses Yes
2013-03-28Added PYTHON_CFLAGS & PYTHON_LIBS python-utils-r1 Yes
2013-03-19Replaced --build-lib with --build-platlib and --build-purelib in setup.py options No No No Yes No
2013-03-04Added python_parallel_foreach_impl (deprecated later on 2014-12-07) Yes No No Ind Yes
Made distutils-r1 sub-phases run in parallel (disabled later on 2014-12-07) No No No Yes No
2013-03-04Moved run_in_build_dir to multibuild.eclass Yes No No Ind Yes
2013-03-02Improved API for in-source builds to be compatible with out-of-source (BUILD_DIR, PYTHONPATH) No No No Yes No
2013-02-26Removed implicit die-on-false-return from python_foreach_impl Yes No No Yes No
2013-02-21Added EXAMPLES support No No No Yes Yes
2013-02-11Finalized DOCS API No No No Yes Yes
2013-02-04Added PYTHON_LIBPATH python-utils-r1 Yes
Added python_newscript python-utils-r1 Yes
2013-02-10Added distutils_install_for_testing No No No Yes Yes
Banned installing global-scope tests package No No No Yes if install was sane
2013-01-27Added support for DISTUTILS_SINGLE_IMPL No No No Yes Yes
Added support for DISTUTILS_OPTIONAL No No No Yes Yes
Added run_in_build_dir function (moved to multibuild.eclass on 2013-03-04) Yes No No Ind Yes
Added python_doheader python-utils-r1 Yes
2013-01-21Added PYTHON_COMPAT validity checks Yes Yes No Yes if legitimate APIs were used
2013-01-12Made BUILD_DIR reference the best implementation in python_*_all() sub-phases No No No Yes No
2012-12-31Added python_gen_cond_dep Yes No No Ind Yes
2012-12-27Added PYTHON_INCLUDEDIR python-utils-r1 Yes
Added python_gen_usedep and python_gen_useflags Yes No No Ind Yes
2012-12-27Started passing --build-scripts to setup.py No No No Yes No
2012-12-20Added python_fix_shebang python-utils-r1 Yes
2012-12-07TMPDIR became implementation-specific No No No Yes No
distutils-r1 no longer dies if phase function returns false No No No Yes No
python_*_all() sub-phases get best-implementation setup No No No Yes No
2012-12-01Added parallel build support (removed on 2014-12-07) No No No Yes No
Introduced python-any-r1 No No Yes No Yes
2012-11-30Unbundle python-single-r1 from python-r1 Yes Yes Ind if legitimate APIs were used
2012-11-26Added python_optimize python-utils-r1 Yes
2012-11-24Introduced python-single-r1 No Yes No Yes
Introduced python-utils-r1 with common functions python-utils-r1 Yes
2012-11-21Added python_domodule and python_doscript Yes Ind Yes
2012-11-04Banned unset PYTHON_COMPAT Yes Ind No
2012-11-01Started explicitly setting the library build dir and adding it to PYTHONPATH No No No Yes No
2012-10-29Enabled out-of-source build support No No No Yes No
Added esetup.py function No No No Yes Yes
Added python_replicate_script Yes Ind Yes
Added python_export_best (replaced by Project:Python/python-r1#python_setup on 2013-10-22) Yes Ind Yes
Added getters for common Python variables Yes Ind Yes
2012-10-26Remove implicit working directory switch to BUILD_DIR from python-r1 (leave it in distutils-r1) Yes No No
2012-10-25Added python_export Yes Ind Yes
2012-10-14Introduced distutils-r1 No Yes Yes
Introduced python-r1 Yes Yes
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.