diff options
author | Sam James <sam@gentoo.org> | 2024-10-14 05:35:34 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-14 05:44:03 +0100 |
commit | aff560c148f708e02514d7d44b09547bf0b9082e (patch) | |
tree | 606dcd0f0cad90797476c2c0a781bfd51dea3f60 /dev-perl/App-perlbrew/App-perlbrew-1.0.0.ebuild | |
parent | dev-perl/Test2-Plugin-IOEvents: new package, add 0.1.1 (diff) | |
download | gentoo-aff560c148f708e02514d7d44b09547bf0b9082e.tar.gz gentoo-aff560c148f708e02514d7d44b09547bf0b9082e.tar.bz2 gentoo-aff560c148f708e02514d7d44b09547bf0b9082e.zip |
dev-perl/App-perlbrew: add 1.0.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/App-perlbrew/App-perlbrew-1.0.0.ebuild')
-rw-r--r-- | dev-perl/App-perlbrew/App-perlbrew-1.0.0.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-perl/App-perlbrew/App-perlbrew-1.0.0.ebuild b/dev-perl/App-perlbrew/App-perlbrew-1.0.0.ebuild new file mode 100644 index 000000000000..ad720c9feb0e --- /dev/null +++ b/dev-perl/App-perlbrew/App-perlbrew-1.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=GUGOD +DIST_VERSION=1.00 +inherit perl-module + +DESCRIPTION='Manage perl installations in your $HOME' + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=virtual/perl-ExtUtils-MakeMaker-7.220.0 + >=dev-perl/CPAN-Perl-Releases-5.202.307.200 + >=dev-perl/Capture-Tiny-0.360.0 + >=dev-perl/Devel-PatchPerl-2.80.0 + >=virtual/perl-ExtUtils-MakeMaker-7.220.0 + >=virtual/perl-File-Temp-0.230.400 + virtual/perl-JSON-PP + >=dev-perl/local-lib-2.0.14 +" +BDEPEND=" + ${RDEPEND} + >=dev-perl/Module-Build-Tiny-0.39.0 + test? ( + >=dev-perl/File-Which-1.210.0 + >=dev-perl/Path-Class-0.330.0 + >=dev-perl/Test2-Plugin-IOEvents-0.1.1 + >=dev-perl/Test2-Plugin-NoWarnings-0.100.0 + ) +" + +mydoc=( "doc/notes.org" ) + +src_test() { + ( # export leak guard + if has "network" ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then + einfo "Network Tests Enabled" + export TEST_LIVE=1 + else + ewarn "This package needs network access for comprehensive testing." + ewarn "For details, see:" + ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}" + fi + + if has "network-dev-test" ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then + einfo "Developer HTTP Test enabled" + export PERLBREW_DEV_TEST=1 + fi + + perl-module_src_test + ) +} |