Files
gentoo/eclass/eapi9-ver.eclass
Ulrich Müller 65cb33ec01 eapi9-ver.eclass: New eclass
This implements the ver_replacing command, as proposed for EAPI 9:

| Takes an operator and a version string as arguments, which follow
| the same specification as in ver_test. Iterates over the elements
| of REPLACING_VERSIONS, using ver_test to compare each element with
| the version string. Returns shell true (0) if the specified relation
| is fulfilled for any element. Note that if REPLACING_VERSIONS is
| empty, shell false (1) is returned. The command is only meaningful
| in phases where \t{REPLACING_VERSIONS} is defined.

Bug: https://bugs.gentoo.org/947530
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2025-02-13 18:17:58 +01:00

1.4 KiB