1 |
On Fri, 11 Dec 2015 22:03:06 +0100 |
2 |
dilfridge@g.o wrote: |
3 |
|
4 |
> From: "Andreas K. Huettel (dilfridge)" <dilfridge@g.o> |
5 |
> |
6 |
> --- |
7 |
> eclass/perl-module.eclass | 40 |
8 |
> +++++++++++++++++++++++----------------- 1 file changed, 23 |
9 |
> insertions(+), 17 deletions(-) |
10 |
> |
11 |
> diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass |
12 |
> index efcc47c..0d428d2 100644 |
13 |
> --- a/eclass/perl-module.eclass |
14 |
> +++ b/eclass/perl-module.eclass |
15 |
> @@ -154,6 +154,8 @@ if [[ ${EAPI:-0} = 5 ]] ; then |
16 |
> SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION:+${MODULE_SECTION}/}${MODULE_A}" |
17 |
> [[ -z "${HOMEPAGE}" ]] && \ |
18 |
> HOMEPAGE="http://search.cpan.org/dist/${MODULE_NAME}/" |
19 |
> + |
20 |
> + SRC_TEST="skip" |
21 |
> else |
22 |
> DIST_NAME=${DIST_NAME:-${PN}} |
23 |
> DIST_P=${DIST_NAME}-${DIST_VERSION:-${PV}} |
24 |
> @@ -168,7 +170,6 @@ else |
25 |
> fi |
26 |
|
27 |
You're disabling src_test() by default in any ebuild that happens to |
28 |
inherit perl-module. Everyone who wants a way around that has to set |
29 |
STUPID_VARIABLE now. Why? |
30 |
|
31 |
|
32 |
jer |