| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2012 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/git.eclass,v 1.58 2011/12/14 23:40:18 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.59 2012/09/27 16:35:41 axs Exp $ |
| 4 | |
4 | |
| 5 | # @DEPRECATED |
5 | # @DEPRECATED |
| 6 | # This eclass has been superseded by git-2 eclass. |
6 | # This eclass has been superseded by git-2 eclass. |
| 7 | # Please modify your ebuilds to use that one instead. |
7 | # Please modify your ebuilds to use that one instead. |
| 8 | |
8 | |
| … | |
… | |
| 24 | # We DEPEND on a not too ancient git version |
24 | # We DEPEND on a not too ancient git version |
| 25 | DEPEND=">=dev-vcs/git-1.6" |
25 | DEPEND=">=dev-vcs/git-1.6" |
| 26 | |
26 | |
| 27 | EXPORTED_FUNCTIONS="src_unpack" |
27 | EXPORTED_FUNCTIONS="src_unpack" |
| 28 | case "${EAPI:-0}" in |
28 | case "${EAPI:-0}" in |
| 29 | 4|3|2) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;; |
29 | 2|3|4|5) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;; |
| 30 | 1|0) ;; |
30 | 1|0) ;; |
| 31 | *) die "EAPI=${EAPI} is not supported" ;; |
31 | *) die "EAPI=${EAPI} is not supported" ;; |
| 32 | esac |
32 | esac |
| 33 | EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} |
33 | EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} |
| 34 | |
34 | |