diff options
author | Kent Fredric <kentnl@gentoo.org> | 2018-04-12 20:28:35 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2018-04-15 20:36:11 +1200 |
commit | 02dcc90a832a982bf3f82242529836704d892f98 (patch) | |
tree | bb2117b52966af2a38b0aa248cbb110026ee3834 /dev-perl/DateTime-Tiny | |
parent | dev-perl/DateTime-HiRes: Cleanup old (diff) | |
download | gentoo-02dcc90a832a982bf3f82242529836704d892f98.tar.gz gentoo-02dcc90a832a982bf3f82242529836704d892f98.tar.bz2 gentoo-02dcc90a832a982bf3f82242529836704d892f98.zip |
dev-perl/DateTime-Tiny: Cleanup old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-perl/DateTime-Tiny')
-rw-r--r-- | dev-perl/DateTime-Tiny/DateTime-Tiny-1.40.0.ebuild | 19 | ||||
-rw-r--r-- | dev-perl/DateTime-Tiny/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/DateTime-Tiny/files/1.04-locale-c.patch | 34 |
3 files changed, 0 insertions, 54 deletions
diff --git a/dev-perl/DateTime-Tiny/DateTime-Tiny-1.40.0.ebuild b/dev-perl/DateTime-Tiny/DateTime-Tiny-1.40.0.ebuild deleted file mode 100644 index 9fa294508062..000000000000 --- a/dev-perl/DateTime-Tiny/DateTime-Tiny-1.40.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -MODULE_AUTHOR="ADAMK" -MODULE_VERSION="1.04" - -inherit perl-module - -DESCRIPTION="A date object, with as little code as possible" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -SRC_TEST=do -# https://rt.cpan.org/Public/Bug/Display.html?id=108636 -PATCHES=( "${FILESDIR}/${MODULE_VERSION}-locale-c.patch" ) -DEPEND="virtual/perl-ExtUtils-MakeMaker - test? ( virtual/perl-Test-Simple )" diff --git a/dev-perl/DateTime-Tiny/Manifest b/dev-perl/DateTime-Tiny/Manifest index 9b04863960b6..187960ab46df 100644 --- a/dev-perl/DateTime-Tiny/Manifest +++ b/dev-perl/DateTime-Tiny/Manifest @@ -1,2 +1 @@ -DIST DateTime-Tiny-1.04.tar.gz 14427 BLAKE2B 23e96a4e9c4ca0ac79cde23f8e75f3d7656d41a70c1bda55db93a90bea419942a875f9ee90ac1ee4f2976a8249346132925a33e57fdf7e6f17fc50c004b814a1 SHA512 da065b983ef7362a3190d1e0758fc071ded7c216c5bbff2aa111b9211b6deffdfa6c17a12ec6aa4c0fc51a091ea753d05c9b00acb4e30f57b6b99a66236de3c1 DIST DateTime-Tiny-1.06.tar.gz 22195 BLAKE2B 00105750f23abf7e620b595582fbacaa8e7386d27f87916a979426c98667babcfdc9cec43eb99536f8c0d973f43ead66ff4c5fbd582651214c2ab5021a5af973 SHA512 84adfb5877ad94669e3dc57e9f40a562eabf623ac3ed3e96be1094a89da8aec6372c92f3d4a70967744d07b11de620e20c027c7b4ca40fc3dc5150cccad5af27 diff --git a/dev-perl/DateTime-Tiny/files/1.04-locale-c.patch b/dev-perl/DateTime-Tiny/files/1.04-locale-c.patch deleted file mode 100644 index 9276f7d9f501..000000000000 --- a/dev-perl/DateTime-Tiny/files/1.04-locale-c.patch +++ /dev/null @@ -1,34 +0,0 @@ -From b03f13d762d577a3f4774c0ed64b8d376c74da9a Mon Sep 17 00:00:00 2001 -From: Nigel Gregoire <nigelg@airg.com> -Date: Mon, 11 Jan 2016 12:00:06 -0800 -Subject: [PATCH] Fix locale test for newer DateTime::Locale - -As of v1.00, DateTime::Locale uses "en-US-POSIX" instead of "C". ---- - t/02_main.t | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/t/02_main.t b/t/02_main.t -index 18bd8d1..6c2b371 100644 ---- a/t/02_main.t -+++ b/t/02_main.t -@@ -10,6 +10,7 @@ BEGIN { - - use Test::More tests => 31; - use DateTime::Tiny; -+use version 0.77; - - - -@@ -76,7 +77,10 @@ SKIP: { - # Expand to a DateTime - my $dt = $date->DateTime; - isa_ok( $dt, 'DateTime' ); -- is( $dt->locale->id, 'C', '->locate ok' ); -+ # DateTime::Locale version 1.00 changes "C" to "en-US-POSIX". -+ my $expected = version->parse($DateTime::Locale::VERSION) < version->parse("1.00") -+ ? "C" : "en-US-POSIX"; -+ is( $dt->locale->id, $expected, '->locale ok' ); - is( $dt->time_zone->name, 'floating', '->timezone ok' ); - - # Compare accessor results |