Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eapi7-ver.eclass: add @SUPPORTED_EAPIS | Michał Górny | 2018-08-15 | 1 | -0/+1 |
| | |||||
* | eapi7-ver.eclass: Support EAPIs 0 to 6. | Ulrich Müller | 2018-05-14 | 1 | -9/+7 |
| | |||||
* | eapi7-ver.eclass: Explicitly indicate that EAPI 7+ includes it | Michał Górny | 2018-04-23 | 1 | -1/+1 |
| | |||||
* | eapi7-ver.eclass: Use lexicographic rather than arithmetic comparison. | Ulrich Müller | 2017-09-26 | 1 | -10/+26 |
| | | | | This removes the 2**63-1 limit for integer components. | ||||
* | eapi7-ver.eclass: New algorithm for ver_test(). | Ulrich Müller | 2017-09-26 | 1 | -207/+82 |
| | | | | | | | 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. | ||||
* | eapi7-ver.eclass: Ultra-fast algo for comparison | Michał Górny | 2017-09-26 | 1 | -107/+218 |
| | |||||
* | eapi7-ver.eclass: Initial implementation of ver_test(). | Ulrich Müller | 2017-09-26 | 1 | -3/+123 |
| | | | | | This should strictly follow Algorithms 3.1 to 3.7 specified in PMS: https://projects.gentoo.org/pms/6/pms.html#x1-310003.3 | ||||
* | eapi7-ver.eclass: Documentation fix. | Ulrich Müller | 2017-09-19 | 1 | -3/+2 |
| | |||||
* | eapi7-ver.eclass: 'Early adopter' version of EAPI 7 version manip | Michał Górny | 2017-09-19 | 1 | -0/+190 |
EAPI 7 is introducing new version manipulation and comparison functions that aim to replace versionator.eclass. This eclass provides an 'early adopter' versions of those routines. It serves two goals: a. getting wider review and some real-life testing before the specification is set in stone, b. making it possible to adapt ebuilds to the new routines early, reducing the future work of EAPI 7 porting, c. improving cache generation speed (the rountines are roughly 15-20 times than versionator.eclass). For more details on the new logic, please see the eclass documentation. Long story short, we are introducing three functions: 1. ver_cut -- to get substrings of the version string, 2. ver_rs -- to replace version separators via indices, 3. ver_test -- to compare two version numbers. The third function is not implemented in the eclass. It's meant to reuse the algorithms from the package manager, and the final implementation will most likely reuse the code from the package manager (e.g. via IPC). The code has been initially written by Ulrich Müller. |