summaryrefslogtreecommitdiff
path: root/dev-perl/Hash-FieldHash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
commit05b8b0e0af1d72e51a3ee61522941bf7605cd01c (patch)
tree43b0410e62aba677b4b256bc3ffe3fd333d28dbe /dev-perl/Hash-FieldHash
parent90c88731bd036e5698b281fbc0a5f3aa4c9983ac (diff)
gentoo resync : 04.07.2020
Diffstat (limited to 'dev-perl/Hash-FieldHash')
-rw-r--r--dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0-r1.ebuild46
-rw-r--r--dev-perl/Hash-FieldHash/Manifest2
-rw-r--r--dev-perl/Hash-FieldHash/files/Hash-FieldHash-0.15-no-dot-inc.patch26
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0-r1.ebuild b/dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0-r1.ebuild
new file mode 100644
index 000000000000..7925730085d0
--- /dev/null
+++ b/dev-perl/Hash-FieldHash/Hash-FieldHash-0.150.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~hppa ~ppc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=virtual/perl-XSLoader-0.20.0
+ >=virtual/perl-parent-0.221.0
+"
+DEPEND="
+ dev-perl/Module-Build
+"
+BDEPEND="${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
+ )
+"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.15-no-dot-inc.patch"
+)
+src_configure() {
+ unset LD;
+ if [[ -n "${CCLD}" ]]; then
+ export LD="${CCLD}"
+ fi
+ perl-module_src_configure
+}
+src_compile() {
+ ./Build --config optimize="${CFLAGS}" build || die
+}
diff --git a/dev-perl/Hash-FieldHash/Manifest b/dev-perl/Hash-FieldHash/Manifest
index 51872da64384..7f6e67b80ae2 100644
--- a/dev-perl/Hash-FieldHash/Manifest
+++ b/dev-perl/Hash-FieldHash/Manifest
@@ -1,3 +1,5 @@
+AUX Hash-FieldHash-0.15-no-dot-inc.patch 570 BLAKE2B 8ec8f96dc5e4dba0ecec50c6eefbbb11e884f06f0ca91c9da8b569a60473fa3a0d8edbd751bbdf64bcaa8b9d5987c309de94abfdaab513a9db90852afe57cb5b SHA512 d030f593a80a57883672609daced83d2e3f3aa97b76972159ad6078db16dcbb435a7fc2436e2cf3dc169c0941975c0587d89f053d2793fa4ffef3704ab03772f
DIST Hash-FieldHash-0.15.tar.gz 29082 BLAKE2B 5b8426f3d44e1ba0d10bc24e473b8162189ddad3b378f0863903eae844fe26cff378c73602c4b49085bd0c9e42d5549013111182bd5a09c4f14e523b1c6c7254 SHA512 2f42b0e7efdba03b99c9646882afc47130de1989777eb1ceaf8031769a3a11ebdaa841abedea8288b770aa27c44108846d0765f531a35d707e44a8c1f0f8036e
+EBUILD Hash-FieldHash-0.150.0-r1.ebuild 1099 BLAKE2B a37486464fa6f036bc71012c610e4f8784faa3bda5b1c21fbd2d1d971f827e37d734a262b6e9e5f0e5f6418640999c92ec71459183c01fffeea5b5e0d324cad2 SHA512 f5cc695e41c834d1825410378536d3b370009a21ab3cef3362e0a62d242e21ec94d65e5107493e1423ea8ced934e69946fc001554f1f329b568793a102da1037
EBUILD Hash-FieldHash-0.150.0.ebuild 1061 BLAKE2B cdacb1b3b8eaa38171a255c5c713bb9da1ec26528f5e8b75195615648cf4de7cf6e59d09b933ad08db6d75878a90978c9d73de625cf84a69b3f727c1736de917 SHA512 e4dbcc370906108d07011e78df1299bacc3f3b021a4e0a9de7de6105d152f95bd194c4a573dae6645697cce5accafe9a130a3b10db667d0d67c4f1ca6d970679
MISC metadata.xml 400 BLAKE2B 5a93cc38f97d3203f7e32191e8ebc7fc30aaa92272fec85e579f1ed857cba352463ebb8b8d3677c13e4bd592d7fd1776ba5d56e9cf4c0e82604a1eb9d9cbc871 SHA512 01f782c54b4bf4e453848b4e30f21cd4cd08da3ed15bc0f94f52018e5a958c52e2c47d0f845f2719cf79e38678e9966a45859d3b6cf6f80edee1081ea369d30c
diff --git a/dev-perl/Hash-FieldHash/files/Hash-FieldHash-0.15-no-dot-inc.patch b/dev-perl/Hash-FieldHash/files/Hash-FieldHash-0.15-no-dot-inc.patch
new file mode 100644
index 000000000000..95ae110c028b
--- /dev/null
+++ b/dev-perl/Hash-FieldHash/files/Hash-FieldHash-0.15-no-dot-inc.patch
@@ -0,0 +1,26 @@
+From c4f929a44ace9ef304b270862c81acc07e273f63 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 2 Jul 2020 23:19:50 +1200
+Subject: Include '.' in @INC for perl 5.26+
+
+Bug: https://github.com/gfx/p5-Hash-FieldHash/issues/4
+---
+ Build.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Build.PL b/Build.PL
+index 8ba2832..cb7f572 100644
+--- a/Build.PL
++++ b/Build.PL
+@@ -8,7 +8,7 @@ use 5.008_001;
+ use strict;
+ use warnings;
+ use utf8;
+-
++use lib '.';
+ use builder::MyBuilder;
+ use File::Basename;
+ use File::Spec;
+--
+2.27.0
+