mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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>
1.4 KiB
1.4 KiB