eapi7-ver.eclass: New algorithm for ver_test().
authorUlrich Müller <ulm@gentoo.org>
Thu, 21 Sep 2017 07:34:19 +0000 (09:34 +0200)
committerUlrich Müller <ulm@gentoo.org>
Tue, 26 Sep 2017 18:46:27 +0000 (20:46 +0200)
commit0d4a8c22f05f89a465f012e5952ef52cb1ac5deb
tree9e858f00800e3d59c41e6e3dfbebb728f9c2d617
parent91dfeadf8408ca47b434c65753564b55a912f884
eapi7-ver.eclass: New algorithm for ver_test().

Use a regular expression for version validation and splitting, which
turns out to be even faster than the previous "ultra-fast" approach.

Thanks to Michał Górny for several optimisations.
eclass/eapi7-ver.eclass