diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-07-17 19:33:58 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-07-17 19:34:39 +1200 |
commit | 0e0d1ef572caec0f5baea4d835450a9336855946 (patch) | |
tree | 6d3115859dfffda2f85f3aebde1706795b07b83b /dev-perl/Data-Random/Data-Random-0.130.0.ebuild | |
parent | app-emulation/docker-compose: amd64 stable wrt bug #725890 (diff) | |
download | gentoo-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/Data-Random-0.130.0.ebuild')
-rw-r--r-- | dev-perl/Data-Random/Data-Random-0.130.0.ebuild | 48 |
1 files changed, 48 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" +} |