diff options
author | Kent Fredric <kentfredric@gmail.com> | 2016-02-28 23:33:31 +1300 |
---|---|---|
committer | Kent Fredric <kentfredric@gmail.com> | 2016-02-29 00:44:12 +1300 |
commit | bfbdecfed29b334f01c43626059a4a7eec78bd27 (patch) | |
tree | 38a9d940ffba2169b718acbd3997f17cb302b5de /dev-perl/Time-Moment | |
parent | dev-perl/Test-Number-Delta: Bump to version 1.60.0 (diff) | |
download | gentoo-bfbdecfed29b334f01c43626059a4a7eec78bd27.tar.gz gentoo-bfbdecfed29b334f01c43626059a4a7eec78bd27.tar.bz2 gentoo-bfbdecfed29b334f01c43626059a4a7eec78bd27.zip |
dev-perl/Time-Moment: Added at version 0.380.0
Required for dev-perl/MongoDB-1.2.2
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-perl/Time-Moment')
-rw-r--r-- | dev-perl/Time-Moment/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Time-Moment/Time-Moment-0.380.0.ebuild | 34 | ||||
-rw-r--r-- | dev-perl/Time-Moment/files/0.38-makefilepl.patch | 34 | ||||
-rw-r--r-- | dev-perl/Time-Moment/metadata.xml | 13 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-perl/Time-Moment/Manifest b/dev-perl/Time-Moment/Manifest new file mode 100644 index 000000000000..5ff460837323 --- /dev/null +++ b/dev-perl/Time-Moment/Manifest @@ -0,0 +1 @@ +DIST Time-Moment-0.38.tar.gz 150867 SHA256 0a8e3d77676f66095c15d63395cacf7dc283eccf1844ad3b718f4e18d9db74a1 SHA512 e287b66cf6dc902bd3748753246ff554a4f512cdfa41e84ac6dc1d6853d2ec37cf9a4de476914cee4582f2a2121fc14fc6d71e98efa6d8a4f0600aff883571aa WHIRLPOOL 7c151d3d6d10c5aaf335baa5581b6eea275072781d1ace9472da51553ac3d7d1479f2f2815920aa03d5b798bb45f119089156edb5602102fa32493e8a832ef39 diff --git a/dev-perl/Time-Moment/Time-Moment-0.380.0.ebuild b/dev-perl/Time-Moment/Time-Moment-0.380.0.ebuild new file mode 100644 index 000000000000..90e1401c7695 --- /dev/null +++ b/dev-perl/Time-Moment/Time-Moment-0.380.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=CHANSEN +DIST_VERSION=0.38 +inherit perl-module + +DESCRIPTION="Represents a date and time of day with an offset from UTC" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +PATCHES=( + "${FILESDIR}/${DIST_VERSION}-makefilepl.patch" +) +RDEPEND=" + virtual/perl-Carp + virtual/perl-Time-HiRes + >=virtual/perl-XSLoader-0.20.0 +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.590.0 + >=virtual/perl-ExtUtils-ParseXS-3.180.0 + test? ( + >=dev-perl/Test-Fatal-0.6.0 + >=dev-perl/Test-Number-Delta-1.60.0 + dev-perl/Test-Requires + >=virtual/perl-Test-Simple-0.880.0 + ) +" diff --git a/dev-perl/Time-Moment/files/0.38-makefilepl.patch b/dev-perl/Time-Moment/files/0.38-makefilepl.patch new file mode 100644 index 000000000000..b19e402df94a --- /dev/null +++ b/dev-perl/Time-Moment/files/0.38-makefilepl.patch @@ -0,0 +1,34 @@ +diff -Naur Time-Moment-0.38/Makefile.PL Time-Moment-0.38b/Makefile.PL +--- Time-Moment-0.38/Makefile.PL 2015-10-09 11:44:58.000000000 +0000 ++++ Time-Moment-0.38b/Makefile.PL 2016-02-28 10:29:46.187136188 +0000 +@@ -3,27 +3,10 @@ + + BEGIN { + unshift @INC, 'inc'; +- +- my @required = ( +- 'inc::Module::Install' => '1.00', +- 'Module::Install::XSUtil' => '0.36', +- 'Module::Install::ReadmeFromPod' => '0', +- ); +- +- my @missing; +- while(my($module, $version) = splice(@required, 0, 2)) { +- eval qq{use $module $version (); 1} +- or push @missing, $module; +- } +- +- if(@missing) { +- print qq{# The following modules are not available.\n}; +- print qq{# `perl $0 | cpanm` will install them:\n}; +- s/\A inc:: //x for @missing; +- print $_, "\n" for @missing; +- exit 1; +- } + } ++use inc::Module::Install 1.00 (); ++use Module::Install::XSUtil 0.36 (); ++use Module::Install::ReadmeFromPod 0 (); + + use inc::Module::Install; + diff --git a/dev-perl/Time-Moment/metadata.xml b/dev-perl/Time-Moment/metadata.xml new file mode 100644 index 000000000000..5fddedc1276b --- /dev/null +++ b/dev-perl/Time-Moment/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Time-Moment</remote-id> + <remote-id type="cpan-module">Time::Moment</remote-id> + <remote-id type="cpan-module">Time::Moment::Adjusters</remote-id> + </upstream> +</pkgmetadata> |