commit:     a41dac2293d182ee53ed8307e8fe8949676b9c8a
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 12:23:39 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 12:34:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41dac22

dev-perl/Encode-JIS2K: -r bump for EAPI7 + CFLAGS love

- EAPI7
- Remove empty/unused variable assignments
- Improve dependencies
- Parallel tests
- Ensure CFLAGS passed through to make/compiler
- Fix bad remote-id's in metadata.xml

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 .../Encode-JIS2K/Encode-JIS2K-0.30.0-r1.ebuild     | 27 ++++++++++++++++++++++
 dev-perl/Encode-JIS2K/metadata.xml                 |  4 ++--
 2 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Encode-JIS2K/Encode-JIS2K-0.30.0-r1.ebuild 
b/dev-perl/Encode-JIS2K/Encode-JIS2K-0.30.0-r1.ebuild
new file mode 100644
index 00000000000..b92ff05dec7
--- /dev/null
+++ b/dev-perl/Encode-JIS2K/Encode-JIS2K-0.30.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR="DANKOGAI"
+DIST_VERSION="0.03"
+
+inherit perl-module
+
+DESCRIPTION="JIS X 0212 (aka JIS 2000) Encodings"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+       >=virtual/perl-Encode-1.410.0
+"
+BDEPEND="${RDEPEND}
+       virtual/perl-ExtUtils-MakeMaker
+"
+src_compile() {
+       mymake=(
+               "OPTIMIZE=${CFLAGS}"
+       )
+       perl-module_src_compile
+}

diff --git a/dev-perl/Encode-JIS2K/metadata.xml 
b/dev-perl/Encode-JIS2K/metadata.xml
index 7fe66d5c6a4..bacc0d120f3 100644
--- a/dev-perl/Encode-JIS2K/metadata.xml
+++ b/dev-perl/Encode-JIS2K/metadata.xml
@@ -7,7 +7,7 @@
   </maintainer>
   <upstream>
     <remote-id type="cpan">Encode-JIS2K</remote-id>
-    <remote-id type="cpan-module"> Encode::JIS2K</remote-id>
-    <remote-id type="cpan-module"> Encode::JIS7::2022JP3 </remote-id>
+    <remote-id type="cpan-module">Encode::JIS2K</remote-id>
+    <remote-id type="cpan-module">Encode::JIS2K::2022JP3</remote-id>
   </upstream>
 </pkgmetadata>

Reply via email to