diff options
author | Kent Fredric <kentnl@gentoo.org> | 2019-07-17 21:07:12 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2019-07-17 21:07:25 +1200 |
commit | e4a6b01fad01cdfffb90547cc9aa1fbb4d37cc06 (patch) | |
tree | 7bd8067ba083af11d5145e9ae266d51536a0cdb4 /dev-perl/Test-Timer | |
parent | app-emulation/virtualbox: Removed double empty line (diff) | |
download | gentoo-e4a6b01fad01cdfffb90547cc9aa1fbb4d37cc06.tar.gz gentoo-e4a6b01fad01cdfffb90547cc9aa1fbb4d37cc06.tar.bz2 gentoo-e4a6b01fad01cdfffb90547cc9aa1fbb4d37cc06.zip |
dev-perl/Test-Timer: Bump to version 2.100.0 re bug #649846
Upstream:
- Tests now less sensitive to load problems
- Restore use of sleep instead of select in tests
- Remove redundant tests
- Elimiate use of regexp for parsing benchmark output
Bug: https://bugs.gentoo.org/649846
Bug: https://github.com/jonasbn/perl-test-timer/issues/17
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Test-Timer')
-rw-r--r-- | dev-perl/Test-Timer/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Test-Timer/Test-Timer-2.100.0.ebuild | 35 | ||||
-rw-r--r-- | dev-perl/Test-Timer/files/Test-Timer-2.10-prereqs.patch | 78 |
3 files changed, 114 insertions, 0 deletions
diff --git a/dev-perl/Test-Timer/Manifest b/dev-perl/Test-Timer/Manifest index 95c97d9062ba..c5706e6d1563 100644 --- a/dev-perl/Test-Timer/Manifest +++ b/dev-perl/Test-Timer/Manifest @@ -1,3 +1,4 @@ DIST Test-Timer-0.13.tar.gz 13505 BLAKE2B 7def176367b15cc33b6cc2ac1e12d31e60b73dc3c23eb828a8d24a67b6347123aa4e3b07200b8cbe5fda3463f483f306d67ad62479cd4b8883fa6fecb3ca7bd7 SHA512 f6848287adbe6f0a1580de196076f0510f42f119045b0de38bf0530d9ff6d1a4dfdc728e0dea586383c0ee42698b291ad184f3dc3fa200d408a0e3123c298637 DIST Test-Timer-1.00.tar.gz 18475 BLAKE2B e528fe6fed8769ad5528d83be39fd770be346bbf96c30c0af17fa7cfbaac761e7a54910b251ce446875be4f81497dbd1af44dfb9c95f4c46d9d1d2fce970ac7c SHA512 0ca465f03c67384e5e33aa8b59764ec03a09d4497e3aedda29853b05a066f86c27da0fb4960a4365e1e1a50a96b896cdfd348c59bb943a9aea0b0f7a7b9e4bb1 DIST Test-Timer-2.06.tar.gz 27380 BLAKE2B 83be4d4f7421cf7e2646ed9538d14f9b4ba64a4bd750f7a8214e37e3614d950e65ceace03d2f5ee1a05d92d62ab76e9bdf12fae3c5eef7a3da96dc7b47b07f69 SHA512 dcad1ff78773ac6613bfa1e162d373bebcc707990d17150512e28c659685401d7595f729beed3c5e7737977ba8ac64cffa1ae4df9d318a2edaa3a6741af5b809 +DIST Test-Timer-2.10.tar.gz 46361 BLAKE2B 3f82c8ce9f107e3d0a28126f1d879d5295f58d002f7637ac56ff94f7e27c5a63008d99a1c1cdcc7b41669175fb10987a4929e0c0f5b4b8ed1c1c8988d0cbdf81 SHA512 317483794d7fdf6149697f3bed1a08f8c10d9fcf34309b77e8ec8edb9c9936e0c0dca4f9a7bb2d94bcb339ed0ebdef3ec448978ddb4538587846c5150e842dfb diff --git a/dev-perl/Test-Timer/Test-Timer-2.100.0.ebuild b/dev-perl/Test-Timer/Test-Timer-2.100.0.ebuild new file mode 100644 index 000000000000..3495c3d01931 --- /dev/null +++ b/dev-perl/Test-Timer/Test-Timer-2.100.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=JONASBN +DIST_VERSION=2.10 +inherit perl-module + +DESCRIPTION="test module to test/assert response times" +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" + +RDEPEND=" + virtual/perl-Carp + dev-perl/Error + virtual/perl-Test-Simple +" +DEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.300.0 + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-File-Spec + virtual/perl-IO + dev-perl/Test-Fatal + >=virtual/perl-Test-Simple-1.302.111 + ) +" +PATCHES=("${FILESDIR}/${PN}-${DIST_VERSION}-prereqs.patch") +src_prepare() { + perl_rm_files t/author-* t/release-* + perl-module_src_prepare +} diff --git a/dev-perl/Test-Timer/files/Test-Timer-2.10-prereqs.patch b/dev-perl/Test-Timer/files/Test-Timer-2.10-prereqs.patch new file mode 100644 index 000000000000..34326fe2ef13 --- /dev/null +++ b/dev-perl/Test-Timer/files/Test-Timer-2.10-prereqs.patch @@ -0,0 +1,78 @@ +From 927f6de46507bbd02e44c3d91a9f774531618f64 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Wed, 7 Mar 2018 13:37:35 +1300 +Subject: Nuke useless dependencies from requirements + +--- + Build.PL | 8 -------- + META.json | 4 ---- + META.yml | 4 ---- + 3 files changed, 16 deletions(-) + +diff --git a/Build.PL b/Build.PL +index 6c38c8b..8cfc5f3 100644 +--- a/Build.PL ++++ b/Build.PL +@@ -36,12 +36,8 @@ my %module_build_args = ( + "File::Spec" => 0, + "IO::Handle" => 0, + "IPC::Open3" => 0, +- "Pod::Coverage::TrustPod" => 0, + "Test::Fatal" => 0, +- "Test::Kwalitee" => "1.21", + "Test::More" => 0, +- "Test::Pod" => "1.41", +- "Test::Pod::Coverage" => "1.08", + "Test::Tester" => "1.302111" + } + ); +@@ -52,12 +48,8 @@ my %fallback_build_requires = ( + "IO::Handle" => 0, + "IPC::Open3" => 0, + "Module::Build" => "0.30", +- "Pod::Coverage::TrustPod" => 0, + "Test::Fatal" => 0, +- "Test::Kwalitee" => "1.21", + "Test::More" => 0, +- "Test::Pod" => "1.41", +- "Test::Pod::Coverage" => "1.08", + "Test::Tester" => "1.302111" + ); + +diff --git a/META.json b/META.json +index 741d375..d807475 100644 +--- a/META.json ++++ b/META.json +@@ -52,12 +52,8 @@ + "File::Spec" : "0", + "IO::Handle" : "0", + "IPC::Open3" : "0", +- "Pod::Coverage::TrustPod" : "0", + "Test::Fatal" : "0", +- "Test::Kwalitee" : "1.21", + "Test::More" : "0", +- "Test::Pod" : "1.41", +- "Test::Pod::Coverage" : "1.08", + "Test::Tester" : "1.302111" + } + } +diff --git a/META.yml b/META.yml +index 13e9cee..f8167e7 100644 +--- a/META.yml ++++ b/META.yml +@@ -7,12 +7,8 @@ build_requires: + IO::Handle: '0' + IPC::Open3: '0' + Module::Build: '0.30' +- Pod::Coverage::TrustPod: '0' + Test::Fatal: '0' +- Test::Kwalitee: '1.21' + Test::More: '0' +- Test::Pod: '1.41' +- Test::Pod::Coverage: '1.08' + Test::Tester: '1.302111' + configure_requires: + ExtUtils::MakeMaker: '0' +-- +2.15.1 + |