| 1 | # Copyright 1999-2008 Gentoo Foundation |
1 | # Copyright 1999-2008 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/versionator.eclass,v 1.20 2011/11/22 18:42:10 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/versionator.eclass,v 1.21 2011/12/10 08:36:31 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: versionator.eclass |
5 | # @ECLASS: versionator.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Jonathan Callen <abcd@gentoo.org> |
7 | # Jonathan Callen <abcd@gentoo.org> |
| 8 | # base-system@gentoo.org |
8 | # base-system@gentoo.org |
| … | |
… | |
| 23 | # selected. |
23 | # selected. |
| 24 | # |
24 | # |
| 25 | # There's also: |
25 | # There's also: |
| 26 | # version_is_at_least want have |
26 | # version_is_at_least want have |
| 27 | # which may be buggy, so use with caution. |
27 | # which may be buggy, so use with caution. |
|
|
28 | |
|
|
29 | if [[ ${___ECLASS_ONCE_VERSIONATOR} != "recur -_+^+_- spank" ]] ; then |
|
|
30 | ___ECLASS_ONCE_VERSIONATOR="recur -_+^+_- spank" |
| 28 | |
31 | |
| 29 | inherit eutils |
32 | inherit eutils |
| 30 | |
33 | |
| 31 | # @FUNCTION: get_all_version_components |
34 | # @FUNCTION: get_all_version_components |
| 32 | # @USAGE: [version] |
35 | # @USAGE: [version] |
| … | |
… | |
| 690 | __versionator__test_version_compare_t "1" $eq "1-r0" |
693 | __versionator__test_version_compare_t "1" $eq "1-r0" |
| 691 | __versionator__test_version_compare_t "1-r00" $eq "1-r0" |
694 | __versionator__test_version_compare_t "1-r00" $eq "1-r0" |
| 692 | |
695 | |
| 693 | eshopts_pop |
696 | eshopts_pop |
| 694 | } |
697 | } |
|
|
698 | |
|
|
699 | fi |