dev-perl/MooX-StrictConstructor: Add w/ version=0.10.0
authorKent Fredric <kentnl@gentoo.org>
Tue, 4 Feb 2020 01:10:28 +0000 (14:10 +1300)
committerKent Fredric <kentnl@gentoo.org>
Wed, 5 Feb 2020 01:01:49 +0000 (14:01 +1300)
Required for dev-perl/GeoIP2, as suggested by Tomáš Mózes

Bug: https://github.com/gentoo/gentoo/pull/13973
Bug: https://bugs.gentoo.org/675494
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
dev-perl/MooX-StrictConstructor/Manifest [new file with mode: 0644]
dev-perl/MooX-StrictConstructor/MooX-StrictConstructor-0.10.0.ebuild [new file with mode: 0644]
dev-perl/MooX-StrictConstructor/metadata.xml [new file with mode: 0644]

diff --git a/dev-perl/MooX-StrictConstructor/Manifest b/dev-perl/MooX-StrictConstructor/Manifest
new file mode 100644 (file)
index 0000000..27f584f
--- /dev/null
@@ -0,0 +1 @@
+DIST MooX-StrictConstructor-0.010.tar.gz 14817 BLAKE2B d013ab60dd467d598a4617b3bc354df329d22114e2b4ee53a1f62af99c5ec7797bd8a48056cb43236429d97c74f6f576c2fa764e3c527c9a056f815675a5177f SHA512 17748ee05c1679d3cbade89b40a6f884bafc45244298f1dfcc5441dc81ab807394e6aafce483e302da8441ccb954aa1c7438b4449fcc373ecdcf81ad9e7cd864
diff --git a/dev-perl/MooX-StrictConstructor/MooX-StrictConstructor-0.10.0.ebuild b/dev-perl/MooX-StrictConstructor/MooX-StrictConstructor-0.10.0.ebuild
new file mode 100644 (file)
index 0000000..2f53a94
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=HARTZELL
+DIST_VERSION=0.010
+inherit perl-module
+
+DESCRIPTION="Make your Moo-based object constructors blow up on unknown attributes"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-perl/Class-Method-Modifiers
+       >=dev-perl/Moo-1.1.0
+       dev-perl/strictures
+"
+BDEPEND="${RDEPEND}
+       virtual/perl-ExtUtils-MakeMaker
+       test? (
+               virtual/perl-File-Spec
+               virtual/perl-File-Temp
+               virtual/perl-IO
+               dev-perl/Test-Fatal
+               >=virtual/perl-Test-Simple-0.880.0
+       )
+"
diff --git a/dev-perl/MooX-StrictConstructor/metadata.xml b/dev-perl/MooX-StrictConstructor/metadata.xml
new file mode 100644 (file)
index 0000000..7f7d59c
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>perl@gentoo.org</email>
+    <name>Gentoo Perl Project</name>
+  </maintainer>
+  <maintainer type="person">
+    <email>hydrapolic@gmail.com</email>
+    <name>Tomáš Mózes</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="cpan">MooX-StrictConstructor</remote-id>
+    <remote-id type="cpan-module">Method::Generate::Constructor::Role::StrictConstructor</remote-id>
+    <remote-id type="cpan-module">MooX::StrictConstructor</remote-id>
+  </upstream>
+</pkgmetadata>