[gentoo-dev] [PATCH] metadata.xsd: add heptapod to remote-id list

2020-08-27 Thread Azamat H. Hackimov
Heptapod (https://foss.heptapod.net/) is open-source hosting based on
GitLab for Mercurial repositories.
---
 metadata.xsd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata.xsd b/metadata.xsd
index 8b8ac0b..db243ab 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -272,6 +272,7 @@



+   



-- 
2.26.2




[gentoo-dev] [PATCH] Add heptapod to remote-id list

2020-08-26 Thread Azamat H. Hackimov
Heptapod (https://foss.heptapod.net/) is open-source hosting based on
GitLab for Mercurial repositories.

Signed-off-by: Azamat H. Hackimov 
---
 metadata.dtd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata.dtd b/metadata.dtd
index d02c5ac..7c07089 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -54,7 +54,7 @@
 
 
 
-  
+  
 
   
-- 
2.26.2




[gentoo-dev] [PATCH] perl-module.eclass: replace search.cpan.org

2018-09-16 Thread Azamat H. Hackimov
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
---
 eclass/perl-module.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 2a3932b538b..a6f56fe9e1b 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
-- 
2.16.4