[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Default/

2020-09-26 Thread Kent Fredric
commit: d12a0e09d8738e2b304580cf3cfee65aad25696e
Author: Kent Fredric  gentoo  org>
AuthorDate: Sat Sep 26 09:26:03 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sat Sep 26 09:36:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12a0e09

dev-perl/Class-Default: Cleanup old 1.510.0-r1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric  gentoo.org>

 .../Class-Default/Class-Default-1.510.0-r1.ebuild  | 26 --
 1 file changed, 26 deletions(-)

diff --git a/dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild 
b/dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild
deleted file mode 100644
index cdd82a9cadf..000
--- a/dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MODULE_AUTHOR=ADAMK
-MODULE_VERSION=1.51
-inherit perl-module
-
-DESCRIPTION="Static calls apply to a default instantiation"
-
-SLOT="0"
-KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc sparc x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND="${RDEPEND}
-   >=dev-perl/Module-Build-0.28"
-
-SRC_TEST="do"
-
-src_prepare() {
-   sed -i -e 's/use inc::Module::Install;/use lib q[.]; use 
inc::Module::Install;/' Makefile.PL ||
-   die "Can't patch Makefile.PL for 5.26 dot-in-inc"
-   perl-module_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Default/

2020-08-24 Thread Sam James
commit: a064b9a47d0be5b68ac175507fa74789be42eb79
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 24 18:41:16 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 24 19:06:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a064b9a4

dev-perl/Class-Default: Stabilize 1.510.0-r2 amd64, #738212

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild 
b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
index 89820c36fd2..2b020ae02c1 100644
--- a/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
+++ b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
@@ -10,7 +10,7 @@ inherit perl-module
 DESCRIPTION="Static calls apply to a default instantiation"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ~ppc sparc x86"
+KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Default/

2020-08-23 Thread Sam James
commit: de17699d1a2e04d8090cfcf7234767186ffb11d8
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 23 23:33:39 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 24 00:06:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de17699d

dev-perl/Class-Default: Stabilize 1.510.0-r2 x86, #738212

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild 
b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
index 2eee4b42a1e..89820c36fd2 100644
--- a/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
+++ b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
@@ -10,7 +10,7 @@ inherit perl-module
 DESCRIPTION="Static calls apply to a default instantiation"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ~ppc sparc ~x86"
+KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ~ppc sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Default/

2020-08-21 Thread Sergei Trofimovich
commit: 2391eccae257bf1f415d689303658c3f5f9a742b
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Aug 21 18:26:47 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Aug 21 19:00:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2391ecca

dev-perl/Class-Default: stable 1.510.0-r2 for hppa/sparc, bug #738212

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild 
b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
index 90e15db324c..2eee4b42a1e 100644
--- a/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
+++ b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
@@ -10,7 +10,7 @@ inherit perl-module
 DESCRIPTION="Static calls apply to a default instantiation"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ~ppc sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Default/, dev-perl/Class-Default/files/

2020-06-18 Thread Kent Fredric
commit: a6ea2d94e4b9204ac36880d2aebab667981b9ce7
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Jun 18 14:35:57 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Jun 18 14:36:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ea2d94

dev-perl/Class-Default: -r bump for EAPI7

- EAPI7
- Parallel tests
- Remove useless tests
- Convert sed hack into patch
- Remove useless Module-Build dep

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 .../Class-Default/Class-Default-1.510.0-r2.ebuild  | 28 ++
 .../files/Class-Default-1.51-no-dot-inc.patch  | 22 +
 2 files changed, 50 insertions(+)

diff --git a/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild 
b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
new file mode 100644
index 000..90e15db324c
--- /dev/null
+++ b/dev-perl/Class-Default/Class-Default-1.510.0-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=ADAMK
+DIST_VERSION=1.51
+inherit perl-module
+
+DESCRIPTION="Static calls apply to a default instantiation"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? (
+   >=virtual/perl-Test-Simple-0.470.0
+   )
+"
+PATCHES=(
+   "${FILESDIR}/${PN}-1.51-no-dot-inc.patch"
+)
+PERL_RM_FILES=(
+   t/98_pod.t
+   t/99_pmv.t
+)

diff --git a/dev-perl/Class-Default/files/Class-Default-1.51-no-dot-inc.patch 
b/dev-perl/Class-Default/files/Class-Default-1.51-no-dot-inc.patch
new file mode 100644
index 000..fc1bce1de30
--- /dev/null
+++ b/dev-perl/Class-Default/files/Class-Default-1.51-no-dot-inc.patch
@@ -0,0 +1,22 @@
+From 5c0fe357eddfcbcd1fbe369b8f1aa8b69d8e06f3 Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Fri, 19 Jun 2020 02:10:04 +1200
+Subject: Include '.' in @INC on perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 96c3d70..b4c582b 100644
+--- a/Makefile.PL
 b/Makefile.PL
+@@ -1,4 +1,5 @@
+ use strict;
++use lib '.';
+ use inc::Module::Install;
+ 
+ name   'Class-Default';
+-- 
+2.27.0
+



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Default/

2017-06-19 Thread Kent Fredric
commit: 3e1c23456d50fde45c0f64a4ce1cb0f2d0949790
Author: Kent Fredric  gentoo  org>
AuthorDate: Mon Jun 19 18:58:22 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Mon Jun 19 18:58:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1c2345

dev-perl/Class-Default: Fix for '.' in @INC re bug #615116

Generic Module::Install fix for Perl 5.26

Bug: https://bugs.gentoo.org/615116
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild 
b/dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild
index fbff578a736..b8435c1f505 100644
--- a/dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild
+++ b/dev-perl/Class-Default/Class-Default-1.510.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -18,3 +18,9 @@ DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.28"
 
 SRC_TEST="do"
+
+src_prepare() {
+   sed -i -e 's/use inc::Module::Install;/use lib q[.]; use 
inc::Module::Install;/' Makefile.PL ||
+   die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+   perl-module_src_prepare
+}