From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Encode-HanConvert/, dev-perl/Encode-HanConvert/files/
Date: Thu, 13 Aug 2020 11:05:22 +0000 (UTC) [thread overview]
Message-ID: <1597316688.6c0f24321312b21edd6522a242c3303459549330.kentnl@gentoo> (raw)
commit: 6c0f24321312b21edd6522a242c3303459549330
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 11:01:20 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 11:04:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0f2432
dev-perl/Encode-HanConvert: -r bump for EAPI7 + Fixes
- EAPI7
- Convert sed hack to "patch"
- Improve dependencies
- Ensure CFLAGS passed to make/compiler
- Omit "Perl.pm-orig" from install image, as it is an input file for the
build process, not an end-user relevant file.
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
.../Encode-HanConvert-0.350.0-r2.ebuild | 33 ++++++++++++++++++++++
.../files/Encode-HanConvert-0.35-no-dot-inc.patch | 21 ++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-perl/Encode-HanConvert/Encode-HanConvert-0.350.0-r2.ebuild b/dev-perl/Encode-HanConvert/Encode-HanConvert-0.350.0-r2.ebuild
new file mode 100644
index 00000000000..6f8b7c8f948
--- /dev/null
+++ b/dev-perl/Encode-HanConvert/Encode-HanConvert-0.350.0-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=AUDREYT
+DIST_VERSION=0.35
+inherit perl-module
+
+DESCRIPTION="Traditional and Simplified Chinese mappings"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=virtual/perl-Encode-1.410.0
+"
+BDEPEND="${RDEPEND}"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.35-no-dot-inc.patch"
+)
+
+src_compile() {
+ mymake=(
+ "OPTIMIZE=${CFLAGS}"
+ )
+ perl-module_src_compile
+ # this file is converted to Perl.pm during src_configure
+ # and not needed after that, but has to be removed after compile
+ # to avoid confusing pm_to_blib, but has to be done before src_test
+ # as tests run against the result of this.
+ rm -vf "blib/lib/Encode/HanConvert/Perl.pm-orig" || die "Can't remove Perl.pm-orig"
+}
diff --git a/dev-perl/Encode-HanConvert/files/Encode-HanConvert-0.35-no-dot-inc.patch b/dev-perl/Encode-HanConvert/files/Encode-HanConvert-0.35-no-dot-inc.patch
new file mode 100644
index 00000000000..add43d2818c
--- /dev/null
+++ b/dev-perl/Encode-HanConvert/files/Encode-HanConvert-0.35-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 6316820623f3cc05c3fd28f34e819068685140f8 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 13 Aug 2020 22:41:26 +1200
+Subject: Include '.' in @INC for perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index d46d7ae..9de9937 100755
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib q[.];
+ use inc::Module::Install;
+ use Config;
+
+--
+2.28.0
+
reply other threads:[~2020-08-13 11:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1597316688.6c0f24321312b21edd6522a242c3303459549330.kentnl@gentoo \
--to=kentnl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox