EAPI9-VER.ECLASS
Section: eclass-manpages (5)Updated: Mar 2025
Index Return to Main Contents
NAME
eapi9-ver.eclass - Testing implementation of EAPI 9 ver_replacingDESCRIPTION
A stand-alone implementation of the ver_replacing function aimed for EAPI 9. Intended to be used for wider testing of the proposed function and to allow ebuilds to switch to the new model early, with minimal change needed for the actual EAPI 9.
if ver_replacing -lt 1.2; then
elog "The frobnicate command was dropped in version 1.2"
fi
SUPPORTED EAPIS
7 8FUNCTIONS
- ver_replacing <op> <ver>
-
Compare each element <v> of REPLACING_VERSIONS with version <ver>
using ver_test(). Return 0 (true) if any element <v> fulfills
"ver_test <v> <op> <ver>", 1 (false) otherwise.
Note: If REPLACING_VERSIONS is empty, 1 (false) is returned.
Return value: 0 if any element of REPLACING_VERSIONS qualifies, 1 otherwise
AUTHORS
Ulrich Müller <ulm@gentoo.org>MAINTAINERS
Ulrich Müller <ulm@gentoo.org>REPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
eapi9-ver.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/eapi9-ver.eclass
Index
This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, March 13, 2025