On Fri, 11 Dec 2015 22:03:06 +0100
dilfri...@gentoo.org wrote:

> From: "Andreas K. Huettel (dilfridge)" <dilfri...@gentoo.org>
> 
> ---
>  eclass/perl-module.eclass | 40
> +++++++++++++++++++++++----------------- 1 file changed, 23
> insertions(+), 17 deletions(-)
> 
> diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
> index efcc47c..0d428d2 100644
> --- a/eclass/perl-module.eclass
> +++ b/eclass/perl-module.eclass
> @@ -154,6 +154,8 @@ if [[ ${EAPI:-0} = 5 ]] ; then
>               
> SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION:+${MODULE_SECTION}/}${MODULE_A}"
>       [[ -z "${HOMEPAGE}" ]] && \
>               HOMEPAGE="http://search.cpan.org/dist/${MODULE_NAME}/";
> +
> +     SRC_TEST="skip"
>  else
>       DIST_NAME=${DIST_NAME:-${PN}}
>       DIST_P=${DIST_NAME}-${DIST_VERSION:-${PV}}
> @@ -168,7 +170,6 @@ else
>  fi

You're disabling src_test() by default in any ebuild that happens to
inherit perl-module. Everyone who wants a way around that has to set
STUPID_VARIABLE now. Why?


     jer

Reply via email to