diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/DateTime-Tiny |
reinit the tree, so we can have metadata
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/DateTime-Tiny-1.60.0.ebuild | 25 | ||||
-rw-r--r-- | dev-perl/DateTime-Tiny/Manifest | 8 | ||||
-rw-r--r-- | dev-perl/DateTime-Tiny/files/1.04-locale-c.patch | 34 | ||||
-rw-r--r-- | dev-perl/DateTime-Tiny/metadata.xml | 16 |
5 files changed, 102 insertions, 0 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 new file mode 100644 index 000000000000..9fa294508062 --- /dev/null +++ b/dev-perl/DateTime-Tiny/DateTime-Tiny-1.40.0.ebuild @@ -0,0 +1,19 @@ +# 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/DateTime-Tiny-1.60.0.ebuild b/dev-perl/DateTime-Tiny/DateTime-Tiny-1.60.0.ebuild new file mode 100644 index 000000000000..00eace00fa67 --- /dev/null +++ b/dev-perl/DateTime-Tiny/DateTime-Tiny-1.60.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=DAGOLDEN +DIST_VERSION=1.06 + +inherit perl-module + +DESCRIPTION="A date object, with as little code as possible" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + virtual/perl-Carp +" +DEPEND=" + >=virtual/perl-ExtUtils-MakeMaker-6.170.0 + test? ( + virtual/perl-File-Spec + virtual/perl-Test-Simple + ) +" diff --git a/dev-perl/DateTime-Tiny/Manifest b/dev-perl/DateTime-Tiny/Manifest new file mode 100644 index 000000000000..a9a3ea852fdb --- /dev/null +++ b/dev-perl/DateTime-Tiny/Manifest @@ -0,0 +1,8 @@ +AUX 1.04-locale-c.patch 1051 SHA256 2b6301b52a69a012a2460bfdcce4617bbaf14eb1df719ff1b7ef59e4e37d79c7 SHA512 983661cfebda47fe6c5326527fb9c802bf615f168a372b9ec182009af9e2aee22a4c6d143471c6c76968c4ae6957ec0ea36fc19db781d2b5cec40347365368ba WHIRLPOOL 52f4b895dd282ba345aeae21d6756cfdf29c493a19aae9f03dfe6701fff4e949f31ad1cbd60b6c88db884b5d027e3b5bea813b71045d961f410ebe6b993f048e +DIST DateTime-Tiny-1.04.tar.gz 14427 SHA256 68137c8ab3ca2a7f8a5fcea20f94b2f82bc2c7c36bb45063dbd81faadf0c7881 SHA512 da065b983ef7362a3190d1e0758fc071ded7c216c5bbff2aa111b9211b6deffdfa6c17a12ec6aa4c0fc51a091ea753d05c9b00acb4e30f57b6b99a66236de3c1 WHIRLPOOL 137b1907aaa7f9b18bf7398ba058f0718b5e029164811e78f0758e71898518ba7d95d4b175ea2179b314b4c0e4afd4ce87d096deccbcbdc80ce315cf7b118368 +DIST DateTime-Tiny-1.06.tar.gz 22195 SHA256 bd725df481d7223ee787e154c116098b08a129f55e0763194b07ebea3dda33ec SHA512 84adfb5877ad94669e3dc57e9f40a562eabf623ac3ed3e96be1094a89da8aec6372c92f3d4a70967744d07b11de620e20c027c7b4ca40fc3dc5150cccad5af27 WHIRLPOOL bd71702ce79d050c753f93b5cf110bff988b56f379b9feaa7f92eeaed12cee504404e5c0009054fc0b31cf72fd4f3bbd0b61469f3c223ad20ab97b647b52ad2b +EBUILD DateTime-Tiny-1.40.0.ebuild 486 SHA256 f7f5550b7da26c1f8ce66796baab42e10633c631b5d3ce6482f62bf4f92a42e1 SHA512 d0a4320070dc681422af6193e382710925d8346b3e1b903c0e8f6f5d6a5675849920b89d6e1220b6f418d5a3d6fb147ec2ac6f21b2b3af6b1785446d8da5a8a0 WHIRLPOOL bd46c2df6663c41b701d94cf05ddb0a5ad7263b548eb87fe5b69c35718d53361b24216cd153e4dae932f90cd7d64f7c4cffb7b6af38133b95923dfa749b5b249 +EBUILD DateTime-Tiny-1.60.0.ebuild 427 SHA256 902f081fa9101f33061661f36782a70cf7af4fa4b06c57c57ba3944a60bdf098 SHA512 eea4035c57e7cd12cde89222932dd2c29251f4a72919f61a67778bda1c42e546e2b37207a6d2d36dbf08130367f92f8e38994c28f06d32e54dd78b6981c61d9c WHIRLPOOL 04018e40cda3872fbd0616b0b9147ebd69c40124111b0f4ad22d8d99719e74aad51b973684eca5e1ebb2f649a810e0959a4b79f234fe212861d88330ec137ce7 +MISC ChangeLog 3049 SHA256 73cd779209f23661d434fe6d3dc406539a1b286200a5064a1ee179e8d253590b SHA512 31f6dd5d5c276e92dc3ef2ba62aace92b95061eed57b7e7128e8f315dfa1d2428b05724f9a553e37fcaeb4fcbdaa0cea26da06495715e82a630bc46361206216 WHIRLPOOL 67986e131800a96287183a0b79560375389948ce7a177f278c2f114da0d563298e87a40e636420089e16ca990ff76cfb53316940f83ab0dffaafaaf082d80d5f +MISC ChangeLog-2015 498 SHA256 8b47461f0c965545d2a7cde8615e510699662e06740ef22b620e6ca5dc034164 SHA512 40500aedb2ea92979fb25d0ef1ca74f545d22d7bb151073748f1efc63a9f04f76d07d6b724526547f904a627cb10935dfaf42e8bb2447b3e07e776270e0007a1 WHIRLPOOL 5d302404e44d22856d1b25ec0b33edc4ff884f5969ebb10bc15de92b151aaeea6bda949e6935f666dded4ba659e89dc84b395afb5df143515c36a853b27ada12 +MISC metadata.xml 510 SHA256 f28856a9e2dfb1162b3228204ce7a16d0afb01c1a18f90d2856500b8f84d4d33 SHA512 0a43e79b746f0241ea3c73fa08b4711942f2954a4b33dc46bacbcdd93b203b97c5161e842a43ac3c79628a12690444b2cfcdde38ae46a5e82f4be5731c12e971 WHIRLPOOL 3a4a89a7cd4013bc50ad5fe0226efb46faf0c4d35c34254f0755f2c225febf8ed848517c33d980d7658dbf0e8298c39c9eec3db80cab6a2fc07aabbdcbf49998 diff --git a/dev-perl/DateTime-Tiny/files/1.04-locale-c.patch b/dev-perl/DateTime-Tiny/files/1.04-locale-c.patch new file mode 100644 index 000000000000..9276f7d9f501 --- /dev/null +++ b/dev-perl/DateTime-Tiny/files/1.04-locale-c.patch @@ -0,0 +1,34 @@ +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 diff --git a/dev-perl/DateTime-Tiny/metadata.xml b/dev-perl/DateTime-Tiny/metadata.xml new file mode 100644 index 000000000000..440056340588 --- /dev/null +++ b/dev-perl/DateTime-Tiny/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">DateTime-Tiny</remote-id> + <remote-id type="cpan-module">DateTime::Tiny</remote-id> + </upstream> +</pkgmetadata> |