blob: 4a16bac98ee797fe5da8f529f989752458b83815 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=GUGOD
DIST_VERSION=0.88
inherit perl-module
DESCRIPTION='Manage perl installations in your $HOME'
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=virtual/perl-ExtUtils-MakeMaker-6.860.0
>=dev-perl/CPAN-Perl-Releases-5.201.912.200
>=dev-perl/Capture-Tiny-0.360.0
>=dev-perl/Devel-PatchPerl-1.800.0
>=virtual/perl-ExtUtils-MakeMaker-7.220.0
>=virtual/perl-File-Temp-0.230.400
virtual/perl-JSON-PP
>=virtual/perl-Pod-Parser-1.630.0
>=dev-perl/local-lib-2.0.14
"
DEPEND="
dev-perl/Module-Build-Tiny
"
BDEPEND="${RDEPEND}
>=dev-perl/Module-Build-Tiny-0.34.0
test? (
>=dev-perl/File-Which-1.210.0
>=dev-perl/IO-All-0.510.0
>=dev-perl/Path-Class-0.330.0
>=dev-perl/Test-Exception-0.320.0
>=dev-perl/Test-NoWarnings-1.40.0
>=dev-perl/Test-Output-1.30.0
>=virtual/perl-Test-Simple-1.1.2
>=dev-perl/Test-Spec-0.470.0
>=dev-perl/Test-TempDir-Tiny-0.16.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
)
}
|