summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-09-16 16:51:22 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-09-28 15:09:28 +0300
commit4f96700c529cd62342f9a05b8670c944ab333452 (patch)
treef80af6f22903494ce581c4c802b6f53422eea1d6 /eclass/perl-module.eclass
parentnet-im/signal-desktop-bin: remove old version (diff)
downloadgentoo-4f96700c529cd62342f9a05b8670c944ab333452.tar.gz
gentoo-4f96700c529cd62342f9a05b8670c944ab333452.tar.bz2
gentoo-4f96700c529cd62342f9a05b8670c944ab333452.zip
perl-module.eclass: replace search.cpan.org
Replace search.cpan.org with metacpan.org since it is retired[1][2]. [1] https://www.perl.com/article/saying-goodbye-to-search-cpan-org/ [2] https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/9968
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 2a3932b538b8..a6f56fe9e1b0 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -162,7 +162,7 @@ if [[ ${EAPI:-0} == 5 ]]; then
[[ -z "${SRC_URI}" && -n "${MODULE_AUTHOR}" ]] && \
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}/"
+ HOMEPAGE="https://metacpan.org/release/${MODULE_NAME}"
SRC_TEST="skip"
else
@@ -175,7 +175,7 @@ else
[[ -z "${SRC_URI}" && -n "${DIST_AUTHOR}" ]] && \
SRC_URI="mirror://cpan/authors/id/${DIST_AUTHOR:0:1}/${DIST_AUTHOR:0:2}/${DIST_AUTHOR}/${DIST_SECTION:+${DIST_SECTION}/}${DIST_A}"
[[ -z "${HOMEPAGE}" ]] && \
- HOMEPAGE="http://search.cpan.org/dist/${DIST_NAME}/"
+ HOMEPAGE="http://metacpan.org/release/${DIST_NAME}"
[[ -z "${DIST_EXAMPLES}" ]] || IUSE+=" examples"
fi