| 1 | # Copyright 1999-2012 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/check-reqs.eclass,v 1.11 2012/09/27 16:35:41 axs Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/check-reqs.eclass,v 1.12 2012/10/19 02:44:21 patrick Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: check-reqs.eclass |
5 | # @ECLASS: check-reqs.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # QA Team <qa@gentoo.org> |
7 | # QA Team <qa@gentoo.org> |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 88 | # Exported function running the resources checks in pkg_setup phase. |
88 | # Exported function running the resources checks in pkg_setup phase. |
| 89 | # It should be run in both phases to ensure condition changes between |
89 | # It should be run in both phases to ensure condition changes between |
| 90 | # pkg_pretend and pkg_setup won't affect the build. |
90 | # pkg_pretend and pkg_setup won't affect the build. |
| 91 | check-reqs_pkg_setup() { |
91 | check-reqs_pkg_setup() { |
| 92 | debug-print-function ${FUNCNAME} "$@" |
92 | debug-print-function ${FUNCNAME} "$@" |
|
|
93 | |
|
|
94 | [[ ${MERGE_TYPE} == binary ]] && return |
| 93 | |
95 | |
| 94 | check-reqs_prepare |
96 | check-reqs_prepare |
| 95 | check-reqs_run |
97 | check-reqs_run |
| 96 | check-reqs_output |
98 | check-reqs_output |
| 97 | } |
99 | } |