Hi, everyone. Here's a second batch of patches for EAPI 7 functions. This set mostly focuses on shell-side features, and once again should be unlikely to break stuff for existing EAPIs. Please review.
I've included tests for version functions (copied from the eapi7-ver eclass test suite). Directory support was already implemented as part of *-progress EAPI, so I just updated the conditionals. Other stuff I've tested manually. -- Best regards, Michał Górny Michał Górny (6): Allow package.*, use.* directories in EAPI 7 nonfatal: Implement fallback executable for EAPI 7 Add sandbox directory removal functions for EAPI 7 Add EAPI 7 version comparison & manipulation functions Support ENV_UNSET for EAPI 7 Do not export PORTDIR & ECLASSDIR in EAPI 7 bin/eapi.sh | 20 ++ bin/eapi7-ver-funcs.sh | 191 ++++++++++++++++ bin/ebuild-helpers/nonfatal | 14 ++ bin/ebuild.sh | 22 ++ bin/phase-functions.sh | 6 +- bin/phase-helpers.sh | 4 + bin/save-ebuild-env.sh | 1 + pym/_emerge/actions.py | 4 +- pym/portage/const.py | 3 +- pym/portage/eapi.py | 13 +- .../package/ebuild/_config/special_env_vars.py | 2 +- pym/portage/package/ebuild/doebuild.py | 14 +- pym/portage/tests/bin/test_eapi7_ver_funcs.py | 240 +++++++++++++++++++++ 13 files changed, 523 insertions(+), 11 deletions(-) create mode 100644 bin/eapi7-ver-funcs.sh create mode 100755 bin/ebuild-helpers/nonfatal create mode 100644 pym/portage/tests/bin/test_eapi7_ver_funcs.py -- 2.16.2