summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerenc Erki <erkiferenc@gmail.com>2020-09-07 19:07:25 +0200
committerKent Fredric <kentnl@gentoo.org>2020-09-09 20:38:34 +1200
commitc7a45773fcdcb168f9676d598b85b070cc254e86 (patch)
treedfc77035f4112f5150ba7d8e4621cd3eabd620ba /app-admin/rex
parentvirtualbox packages: Removed old (diff)
downloadgentoo-c7a45773fcdcb168f9676d598b85b070cc254e86.tar.gz
gentoo-c7a45773fcdcb168f9676d598b85b070cc254e86.tar.bz2
gentoo-c7a45773fcdcb168f9676d598b85b070cc254e86.zip
app-admin/rex: update live ebuild
Signed-off-by: Ferenc Erki <erkiferenc@gmail.com> Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'app-admin/rex')
-rw-r--r--app-admin/rex/rex-9999.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 85e62dace75d..d832e4f2b87a 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -23,7 +23,7 @@ inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
SLOT="0"
-IUSE="test"
+IUSE="minimal test"
RESTRICT="!test? ( test )"
DZIL_DEPENDS="
@@ -42,14 +42,18 @@ DZIL_DEPENDS="
dev-perl/Software-License
"
RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
virtual/perl-Carp
virtual/perl-Data-Dumper
dev-perl/Data-Validate-IP
- dev-perl/DBI
dev-perl/Devel-Caller
dev-perl/Digest-HMAC
virtual/perl-Digest-MD5
- dev-perl/Expect
virtual/perl-Exporter
virtual/perl-File-Spec
dev-perl/HTTP-Message
@@ -57,7 +61,6 @@ RDEPEND="
virtual/perl-IO
dev-perl/IO-String
dev-perl/IO-Tty
- dev-perl/IPC-Shareable
dev-perl/JSON-MaybeXS
dev-perl/List-MoreUtils
virtual/perl-MIME-Base64
@@ -74,7 +77,6 @@ RDEPEND="
virtual/perl-Text-Tabs+Wrap
virtual/perl-Time-HiRes
dev-perl/URI
- dev-perl/XML-LibXML
dev-perl/XML-Simple
dev-perl/libwww-perl
dev-perl/YAML
@@ -83,12 +85,15 @@ RDEPEND="
BDEPEND="
${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
>=virtual/perl-ExtUtils-MakeMaker-7.110.100
>=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
test? (
virtual/perl-File-Temp
dev-perl/Test-Deep
- >=dev-perl/Test-UseAllModules-0.150.0
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
virtual/perl-autodie
)
"
@@ -122,6 +127,7 @@ dzil_src_prep() {
-e '/^Test::PerlTidy =/d' \
-e '/^Test::Pod =/d' \
-e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
-e '/^\[Test::MinimumVersion\]/{N;d}' \
-i dist.ini || die "Can't patch dist.ini"
}