Skip to content

Commit

Permalink
dev-perl/Test-Timer: Bump to version 2.60.0
Browse files Browse the repository at this point in the history
- Clean up spammy prereqs warnings

Upstream:
- Improve diagnostics
- Present actual measured time.
- Improve alarm signal handling
- Include thresholds in assertions
- Add alarm cancellation
- Add select() based sleep routine

Package-Manager: Portage-2.3.18, Repoman-2.3.6
  • Loading branch information
kentfredric committed Mar 7, 2018
1 parent b0d9433 commit 68dbd53
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-perl/Test-Timer/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
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
34 changes: 34 additions & 0 deletions dev-perl/Test-Timer/Test-Timer-2.60.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=JONASBN
DIST_VERSION=2.06
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
)
"
PATCHES=("${FILESDIR}/${PN}-2.06-prereqs.patch")
src_prepare() {
perl_rm_files t/author-* t/release-*
perl-module_src_prepare
}
78 changes: 78 additions & 0 deletions dev-perl/Test-Timer/files/Test-Timer-2.06-prereqs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
From 927f6de46507bbd02e44c3d91a9f774531618f64 Mon Sep 17 00:00:00 2001
From: Kent Fredric <[email protected]>
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" => 0
}
);
@@ -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" => 0
);

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" : "0"
}
}
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: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
--
2.15.1

0 comments on commit 68dbd53

Please sign in to comment.