Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/MIME-Charset/files/, dev-perl/MIME-Charset/
Date: Sun, 28 Feb 2016 10:01:56
Message-Id: 1456562396.ed0bd91f0cf1ab0dbd1544a6c5a4f6e7dc24b8d3.monsieurp@gentoo
1 commit: ed0bd91f0cf1ab0dbd1544a6c5a4f6e7dc24b8d3
2 Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 22 09:08:28 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 08:39:56 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0bd91f
7
8 dev-perl/MIME-Charset: Bump to 1.12.0
9
10 - use EAPI6
11 - Add LINGUAS="ja zh" as these are features exported by Makefile.PL
12 by default, and can be tripped into if people use a corresponding
13 encoding entry in https://metacpan.org/source/NEZUMI/MIME-Charset-1.012/lib/MIME/Charset.pm#L223
14
15 - Drop x86 and ppc due to dev-perl/Encode-{EUCJPASCII,HanExtra}
16 - Potential explosions with CPAN + Module::AutoInstall nuked with Makefile.PL patch
17
18 Package-Manager: portage-2.2.27
19
20 dev-perl/MIME-Charset/MIME-Charset-1.12.0.ebuild | 28 ++++++++++++++++++++++
21 dev-perl/MIME-Charset/Manifest | 1 +
22 dev-perl/MIME-Charset/files/1.012-makefilepl.patch | 18 ++++++++++++++
23 3 files changed, 47 insertions(+)
24
25 diff --git a/dev-perl/MIME-Charset/MIME-Charset-1.12.0.ebuild b/dev-perl/MIME-Charset/MIME-Charset-1.12.0.ebuild
26 new file mode 100644
27 index 0000000..dbdfdcf
28 --- /dev/null
29 +++ b/dev-perl/MIME-Charset/MIME-Charset-1.12.0.ebuild
30 @@ -0,0 +1,28 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +DIST_AUTHOR=NEZUMI
38 +DIST_VERSION=1.012
39 +inherit perl-module
40 +
41 +DESCRIPTION="Charset Informations for MIME"
42 +
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="linguas_ja linguas_zh"
46 +PATCHES=(
47 + "${FILESDIR}/${DIST_VERSION}-makefilepl.patch"
48 +)
49 +# Put JISX0213 here one day
50 +# And POD2
51 +RDEPEND="
52 + >=virtual/perl-Encode-1.980.0
53 + linguas_ja? ( >=dev-perl/Encode-EUCJPASCII-0.20.0 )
54 + linguas_zh? ( >=dev-perl/Encode-HanExtra-0.200.0 )
55 +"
56 +DEPEND="${RDEPEND}
57 + virtual/perl-ExtUtils-MakeMaker
58 +"
59
60 diff --git a/dev-perl/MIME-Charset/Manifest b/dev-perl/MIME-Charset/Manifest
61 index b9513fd..f1cbf3c 100644
62 --- a/dev-perl/MIME-Charset/Manifest
63 +++ b/dev-perl/MIME-Charset/Manifest
64 @@ -1 +1,2 @@
65 DIST MIME-Charset-1.009.3.tar.gz 50401 SHA256 57078ab83a8e8d8ae3e64ae4f7f80fc4b885520ca4b7b52833073506ab7ba48d SHA512 cc6780145482aec0b61e83b002b7939d2a592eaf4a893e0101a9dd78ba9e548914e854330a51d4d5bea267d67028653c790c221997c7939b0a9d75ba642d615c WHIRLPOOL 39ab469fb22a2c8927d95f68e55d86c9ac01acee1174bb285e6d361212d0a622c54cb2e4ecb09ce5889c0f0a48fd141a6e693effcc0cc6420e1ed01c1790793c
66 +DIST MIME-Charset-1.012.tar.gz 55201 SHA256 cee5d1d4184ad46ca17d995335bc8d9b6d95e1e64584079d032cf5f0c82dcccd SHA512 f116deb04912bdccfd98484ef82d643d23b4cb90bfdf88ddc60d0a3f857ac3f084a60681a6fae4f9a2d982d6f470c79f171688e44a4034e9533bb518a914e2fe WHIRLPOOL a7bd7be1d927d2274e0834feb82ece5df514937b1beef557d70bb857bb208015e580e0ae71eb9467aa27e865c8606041cd28446d541bdec60c469ffa6b950d63
67
68 diff --git a/dev-perl/MIME-Charset/files/1.012-makefilepl.patch b/dev-perl/MIME-Charset/files/1.012-makefilepl.patch
69 new file mode 100644
70 index 0000000..1552dcc
71 --- /dev/null
72 +++ b/dev-perl/MIME-Charset/files/1.012-makefilepl.patch
73 @@ -0,0 +1,18 @@
74 +diff -Naur MIME-Charset-1.012/Makefile.PL MIME-Charset-1.012.new/Makefile.PL
75 +--- MIME-Charset-1.012/Makefile.PL 2013-10-30 03:03:10.000000000 +0000
76 ++++ MIME-Charset-1.012.new/Makefile.PL 2016-02-22 08:25:19.069712121 +0000
77 +@@ -8,7 +8,6 @@
78 + check_nmake;
79 +
80 + # Specific dependencies
81 +-configure_requires 'CPAN' => 0; # for inc::Module::AutoInstall
82 + test_requires 'Test::More' => '0';
83 + if ( $] >= 5.007003 ) {
84 + requires 'Encode' => '1.98';
85 +@@ -29,6 +28,5 @@
86 +
87 + # Write out
88 + no_index directory => 't', 'inc';
89 +-auto_install force => 0, do_once => 1;
90 + WriteAll;
91 +