Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/libintl-perl/files/, dev-perl/libintl-perl/
Date: Sun, 29 Oct 2017 13:42:03
Message-Id: 1509284509.c2570b706d4e7e1777ecf4680986d6719ba584f5.kentnl@gentoo
1 commit: c2570b706d4e7e1777ecf4680986d6719ba584f5
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 12:52:00 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 13:41:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2570b70
7
8 dev-perl/libintl-perl: Bump to version 1.280.0
9
10 - Drop hedging of de_AT ( advertised fixed upstream )
11 - Rework patch due to source changes
12
13 Upstream:
14 - Fixed false negatives in test suite
15 - New class methods options, keywords, flags, for Locale::TextDomain
16 - Don't require modules from relative paths
17 - Don't generate files in distribution
18 - Skip XS tests without explicit enabling
19 - Check applicability of de_AT test
20 - Disable translation tests on localeless systems
21
22 Package-Manager: Portage-2.3.8, Repoman-2.3.3
23
24 dev-perl/libintl-perl/Manifest | 1 +
25 .../files/libintl-perl-1.280.0-sanity-2.patch | 65 ++++++++++++++++++++++
26 dev-perl/libintl-perl/libintl-perl-1.280.0.ebuild | 23 ++++++++
27 dev-perl/libintl-perl/metadata.xml | 2 +-
28 4 files changed, 90 insertions(+), 1 deletion(-)
29
30 diff --git a/dev-perl/libintl-perl/Manifest b/dev-perl/libintl-perl/Manifest
31 index f75668120f4..2f09d2b0462 100644
32 --- a/dev-perl/libintl-perl/Manifest
33 +++ b/dev-perl/libintl-perl/Manifest
34 @@ -1,2 +1,3 @@
35 DIST libintl-perl-1.20.tar.gz 499899 SHA256 3036a9d2df85f200631b55a0b01082898c20819d9aabdb9b871508054bee5c67 SHA512 7d3ff7b1b48c2e5d1bcf07ce9e4519d3146acee04314709ccbfdfc54fb6d5d2583468bb72532115c423de9853364d4912c7a2ecffdd7132e5a4af59cca509db1 WHIRLPOOL 3509d0e9b4f671dd056cc53ef715bce3ae95bd02905f7ceed1aaee66d33278aeb34aa1f2166a64cbb557d2cafe9654324abc1267f0d8ab469f6dcedf7ba77e67
36 DIST libintl-perl-1.24.tar.gz 605626 SHA256 d8d5e95f5553e1a624c3f8bf0cd42f4a46d67bcf83291d5bd6c81c9be2f261a2 SHA512 1c2c5d6d7ab21c45897195952a9f0f6ba26a9bbb7bfef0b5f3e9da282fcf94ab4ee80721164e5e3293d8abda0158e77ffbc331b8bed66aa56dd7fc7a6a91323d WHIRLPOOL e29989dd61c3d2305b1167b3242323e527d10095bd5a4185f7ab7aff4f6a5a9505f02cb244064eed0be2401a76ec00326e754254e854344e0af302aa8fc41aed
37 +DIST libintl-perl-1.28.tar.gz 470898 SHA256 7bebf2fb1b6d612dbee206693eac4707e185a3e85298683ec5944916b7cb4ebd SHA512 50f0836c1a84a22fcc8fca0fff2faeaae66774ec67b96c09a911c4969e8a610bbf20ba38167c13339b9ad9617e1fca07cb0cb1f12732f973b1cf618d502f59aa WHIRLPOOL 68319f1c34cf62f21ff398ae63a048a4f730e66a7e9a1ba936de95cdcbb8dd480681d0f5fad48cc91542bd6c83fa30a0c83255a6b8f5b5968454759686edd3d4
38
39 diff --git a/dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch b/dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch
40 new file mode 100644
41 index 00000000000..456ea3349a9
42 --- /dev/null
43 +++ b/dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch
44 @@ -0,0 +1,65 @@
45 +From fbc3111eec0b71d247d6588bf1f9397bae558a29 Mon Sep 17 00:00:00 2001
46 +From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@g.o>
47 +Date: Wed, 1 Jun 2016 00:06:12 +0200
48 +Subject: Minimal build system patching
49 +
50 +Bug: https://bugs.gentoo.org/584636
51 +---
52 + Makefile.PL | 41 -----------------------------------------
53 + 1 file changed, 41 deletions(-)
54 +
55 +diff --git a/Makefile.PL b/Makefile.PL
56 +index 97d88bf..e23dc89 100644
57 +--- a/Makefile.PL
58 ++++ b/Makefile.PL
59 +@@ -163,47 +163,6 @@ EOC
60 +
61 + package MY;
62 +
63 +-# FIXME: This is really a hack! Problem: Depending on the build system,
64 +-# we may or may not build and install the XS version. If the XS version
65 +-# is being built, the directory blib/arch will be populated, if it is
66 +-# not being built, blib/arch will be empty. Unfortunately, if blib/arch
67 +-# is not empty, *all* library files will be installed in the architecture
68 +-# dependent locations, if it is empty, they will be installed in the
69 +-# architecture independent tree.
70 +-#
71 +-# Unfortunately, ExtUtils::MakeMaker does not take care of uninstalling
72 +-# files from previous installations. Consequently, we cannot determine
73 +-# which version of the library will be loaded, since this depends on the
74 +-# current value of @INC.
75 +-#
76 +-# The solution does not really make me happy. The Makefile will be patched,
77 +-# so that instead of ExtUtils::Install a custom module MyInstall.pm will
78 +-# be used. This custom module overwrites the subroutine that detects
79 +-# whether a directory is empty in ExtUtils::Install, and will lie if that
80 +-# directory happens to be "blib/arch". This little hack effectively disables
81 +-# the annoying behavior of ExtUtils::Install (and I sincerely hope that
82 +-# this is portable).
83 +-sub libscan
84 +-{
85 +- my ($self, $file) = @_;
86 +-
87 +- return if 'MyInstall.pm' eq $file;
88 +-
89 +- $self->SUPER::libscan ($file);
90 +-}
91 +-
92 +-sub tools_other
93 +-{
94 +- my $self = shift;
95 +-
96 +- my $fragment = $self->SUPER::tools_other (@_);
97 +-
98 +- $fragment =~ s/^MOD_INSTALL\s*=\s*(.*?)-MExtUtils::Install
99 +- /MOD_INSTALL =$1-I. -MMyInstall/msx;
100 +-
101 +- return $fragment;
102 +-}
103 +-
104 + package main;
105 +
106 + my $name = $0;
107 +--
108 +2.14.3
109 +
110
111 diff --git a/dev-perl/libintl-perl/libintl-perl-1.280.0.ebuild b/dev-perl/libintl-perl/libintl-perl-1.280.0.ebuild
112 new file mode 100644
113 index 00000000000..3259b10197c
114 --- /dev/null
115 +++ b/dev-perl/libintl-perl/libintl-perl-1.280.0.ebuild
116 @@ -0,0 +1,23 @@
117 +# Copyright 1999-2017 Gentoo Foundation
118 +# Distributed under the terms of the GNU General Public License v2
119 +
120 +EAPI=6
121 +
122 +DIST_AUTHOR=GUIDO
123 +DIST_VERSION=1.28
124 +inherit perl-module
125 +
126 +DESCRIPTION="High-Level Interface to Uniforum Message Translation"
127 +HOMEPAGE="http://guido-flohr.net/projects/libintl-perl ${HOMEPAGE}"
128 +
129 +LICENSE="GPL-3"
130 +SLOT="0"
131 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
132 +IUSE=""
133 +
134 +RDEPEND="virtual/libintl"
135 +DEPEND="${RDEPEND}
136 + virtual/perl-ExtUtils-MakeMaker
137 +"
138 +
139 +PATCHES=( "${FILESDIR}/${P}-sanity-2.patch" )
140
141 diff --git a/dev-perl/libintl-perl/metadata.xml b/dev-perl/libintl-perl/metadata.xml
142 index 017b791bc85..642af8f5806 100644
143 --- a/dev-perl/libintl-perl/metadata.xml
144 +++ b/dev-perl/libintl-perl/metadata.xml
145 @@ -152,10 +152,10 @@
146 <remote-id type="cpan-module">Locale::RecodeData::_Encode</remote-id>
147 <remote-id type="cpan-module">Locale::TextDomain</remote-id>
148 <remote-id type="cpan-module">Locale::Util</remote-id>
149 + <remote-id type="cpan-module">Locale::gettext_dumb</remote-id>
150 <remote-id type="cpan-module">Locale::gettext_pp</remote-id>
151 <remote-id type="cpan-module">Locale::gettext_xs</remote-id>
152 <remote-id type="cpan-module">MyInstall</remote-id>
153 <remote-id type="cpan-module">SimpleCal</remote-id>
154 - <remote-id type="cpan-module">__TiedTextDomain</remote-id>
155 </upstream>
156 </pkgmetadata>