summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-04 20:37:15 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-04 21:04:16 +1200
commitf3b42ad387b2b7e2218de93a0fe5e3a13a8e3f35 (patch)
tree3262dc89ac6a80bf4ea4a986477c09484f770d12
parentdev-perl/Regexp-Util: Add w/ version 0.3.0 (diff)
downloadgentoo-f3b42ad387b2b7e2218de93a0fe5e3a13a8e3f35.tar.gz
gentoo-f3b42ad387b2b7e2218de93a0fe5e3a13a8e3f35.tar.bz2
gentoo-f3b42ad387b2b7e2218de93a0fe5e3a13a8e3f35.zip
dev-perl/Hash-FieldHash: Add w/ version 0.150.0
Required by Type-Tiny via Type-Tie Previously maintained in perl-experimental since 2011-03-22 by Kent Fredric and Torsten Veller Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r--dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0.ebuild37
-rw-r--r--dev-perl/Hash-FieldHash/Manifest1
-rw-r--r--dev-perl/Hash-FieldHash/metadata.xml12
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0.ebuild b/dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0.ebuild
new file mode 100644
index 000000000000..506a5012360f
--- /dev/null
+++ b/dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=GFUJI
+DIST_VERSION=0.15
+DIST_EXAMPLES=( "example/*" "benchmark" )
+inherit perl-module
+
+DESCRIPTION="Lightweight field hash for inside-out objects"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=virtual/perl-XSLoader-0.20.0
+ >=virtual/perl-parent-0.221.0
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-Devel-PPPort-3.190.0
+ >=virtual/perl-ExtUtils-MakeMaker-6.590.0
+ >=virtual/perl-ExtUtils-ParseXS-2.210.0
+ >=dev-perl/Module-Build-0.400.500
+ test? (
+ >=dev-perl/Test-LeakTrace-0.70.0
+ >=virtual/perl-Test-Simple-0.620.0
+ )
+"
+
+src_prepare() {
+ # https://github.com/gfx/p5-Hash-FieldHash/issues/4
+ sed -i -e 's/use builder::MyBuilder;/use lib q[.]; use builder::MyBuilder;/' Build.PL \
+ || die "Can't patch Build.PL for 5.26 dot-in-inc"
+
+ perl-module_src_prepare
+}
diff --git a/dev-perl/Hash-FieldHash/Manifest b/dev-perl/Hash-FieldHash/Manifest
new file mode 100644
index 000000000000..0d3b5e9477f8
--- /dev/null
+++ b/dev-perl/Hash-FieldHash/Manifest
@@ -0,0 +1 @@
+DIST Hash-FieldHash-0.15.tar.gz 29082 SHA256 5c515707a5433796a5697b118ddbf1f216d13c5cd52f2b64292e76f7d9b7e8f1 SHA512 2f42b0e7efdba03b99c9646882afc47130de1989777eb1ceaf8031769a3a11ebdaa841abedea8288b770aa27c44108846d0765f531a35d707e44a8c1f0f8036e WHIRLPOOL ece3b4870d0d2df552e383a8931984b4cb66c38f47c23fed10dc787f8c09703404fba52ec9e31aa9d4bdb09225e85b7d86b9f6541be5954170158212935d1bc3
diff --git a/dev-perl/Hash-FieldHash/metadata.xml b/dev-perl/Hash-FieldHash/metadata.xml
new file mode 100644
index 000000000000..4316a0690215
--- /dev/null
+++ b/dev-perl/Hash-FieldHash/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <upstream>
+ <remote-id type="cpan">Hash-FieldHash</remote-id>
+ <remote-id type="cpan-module">Hash::FieldHash</remote-id>
+ </upstream>
+</pkgmetadata>