mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
dev-perl/Time-Moment: Added at version 0.380.0
Required for dev-perl/MongoDB-1.2.2 Package-Manager: portage-2.2.27
This commit is contained in:
1
dev-perl/Time-Moment/Manifest
Normal file
1
dev-perl/Time-Moment/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST Time-Moment-0.38.tar.gz 150867 SHA256 0a8e3d77676f66095c15d63395cacf7dc283eccf1844ad3b718f4e18d9db74a1 SHA512 e287b66cf6dc902bd3748753246ff554a4f512cdfa41e84ac6dc1d6853d2ec37cf9a4de476914cee4582f2a2121fc14fc6d71e98efa6d8a4f0600aff883571aa WHIRLPOOL 7c151d3d6d10c5aaf335baa5581b6eea275072781d1ace9472da51553ac3d7d1479f2f2815920aa03d5b798bb45f119089156edb5602102fa32493e8a832ef39
|
||||
34
dev-perl/Time-Moment/Time-Moment-0.380.0.ebuild
Normal file
34
dev-perl/Time-Moment/Time-Moment-0.380.0.ebuild
Normal file
@@ -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
|
||||
)
|
||||
"
|
||||
34
dev-perl/Time-Moment/files/0.38-makefilepl.patch
Normal file
34
dev-perl/Time-Moment/files/0.38-makefilepl.patch
Normal file
@@ -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;
|
||||
|
||||
13
dev-perl/Time-Moment/metadata.xml
Normal file
13
dev-perl/Time-Moment/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user