summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-07-17 19:33:58 +1200
committerKent Fredric <kentnl@gentoo.org>2020-07-17 19:34:39 +1200
commit0e0d1ef572caec0f5baea4d835450a9336855946 (patch)
tree6d3115859dfffda2f85f3aebde1706795b07b83b /dev-perl/Data-Random
parentapp-emulation/docker-compose: amd64 stable wrt bug #725890 (diff)
downloadgentoo-0e0d1ef572caec0f5baea4d835450a9336855946.tar.gz
gentoo-0e0d1ef572caec0f5baea4d835450a9336855946.tar.bz2
gentoo-0e0d1ef572caec0f5baea4d835450a9336855946.zip
dev-perl/Data-Random: Bump to version 0.130.0
- EAPI7 - Remove no-longer needed Makefile.PL hacks - Remove bad tests - Document optional features/optional testing Upstream: - rand_enum() now accepts a single argument as long as its an ArrayRef - Use Test::MockTime in tests - rand_time() error handling improvements - Repackage with Dist::Zilla, removing the '.'-in-@INC issues Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Data-Random')
-rw-r--r--dev-perl/Data-Random/Data-Random-0.130.0.ebuild48
-rw-r--r--dev-perl/Data-Random/Manifest1
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-perl/Data-Random/Data-Random-0.130.0.ebuild b/dev-perl/Data-Random/Data-Random-0.130.0.ebuild
new file mode 100644
index 000000000000..e375b1ad6796
--- /dev/null
+++ b/dev-perl/Data-Random/Data-Random-0.130.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=BAREFOOT
+DIST_VERSION=0.13
+inherit perl-module
+
+DESCRIPTION="A module used to generate random data"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Exporter
+ >=virtual/perl-Time-Piece-1.160.0
+"
+BDEPEND="
+ >=virtual/perl-ExtUtils-MakeMaker-6.360.0
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-MockTime
+ >=virtual/perl-Test-Simple-0.880.0
+ )
+"
+PERL_RM_FILES=(
+ "t/author-pod-syntax.t"
+ "t/z0_pod.t"
+ "t/z1_pod-coverage.t"
+)
+
+src_test() {
+ ewarn "Comprehensive testing of this package may involve manual steps."
+ ewarn "For details, see:"
+ ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Testing"
+ perl-module_src_test
+}
+
+pkg_postinst() {
+ ewarn "This package may require additional dependencies for some optional features."
+ ewarn "For details, see:"
+ ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Optional_Features"
+}
diff --git a/dev-perl/Data-Random/Manifest b/dev-perl/Data-Random/Manifest
index bebaaf3a08b6..941655f819c6 100644
--- a/dev-perl/Data-Random/Manifest
+++ b/dev-perl/Data-Random/Manifest
@@ -1 +1,2 @@
DIST Data-Random-0.12.tar.gz 166951 BLAKE2B 84df509577687c1de60f675b881f245c944bb81b5fb6455473f4b842c301db3bee3dc9d4bb2e5991d857e19831b4636ec72532dcad2838814087f15a61f370ce SHA512 ae898af42a44576f5b968fb44015339e6db4c8542e6198d87aa4346eba767a81bfdd35c33f10d52adddad9fe38d24475bcc7fa87e8223f1a2756ece1da84ee97
+DIST Data-Random-0.13.tar.gz 158143 BLAKE2B 8a7c7f56c563e149f890d341db89690cc2a4f31ff1f5662cc16f80c47a2b9ca4b615cec89f2a10ad3b472e37614995e2af4487a830d6e71d533c0df263fe7355 SHA512 7cf3811ee26a3b93a8170cc9c863ad2cf03f5997cabe66cd78646a4d93a6568ef247f636782b8c707c3064120b30609f3562d8654b31e5e31890aa302b03cdb5