diff options
author | Martin Väth <martin@mvath.de> | 2017-07-10 08:11:05 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2017-07-10 08:11:05 +0200 |
commit | 076140811b2689a0e559485b345aa991a8337ad7 (patch) | |
tree | 3bf68b863ceb20246266e87aa44e78f6edaf0152 /sys-apps/schedule/schedule-7.5.4.ebuild | |
parent | www-plugins/classic-theme-restorer: Version bump (diff) | |
download | mv-076140811b2689a0e559485b345aa991a8337ad7.tar.gz mv-076140811b2689a0e559485b345aa991a8337ad7.tar.bz2 mv-076140811b2689a0e559485b345aa991a8337ad7.zip |
Make nonexpensive deps non-optional. Remove corresponding set data
Diffstat (limited to 'sys-apps/schedule/schedule-7.5.4.ebuild')
-rw-r--r-- | sys-apps/schedule/schedule-7.5.4.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sys-apps/schedule/schedule-7.5.4.ebuild b/sys-apps/schedule/schedule-7.5.4.ebuild index bab7338b..f553c906 100644 --- a/sys-apps/schedule/schedule-7.5.4.ebuild +++ b/sys-apps/schedule/schedule-7.5.4.ebuild @@ -3,7 +3,7 @@ EAPI=6 RESTRICT="mirror" -inherit eutils readme.gentoo-r1 user systemd +inherit readme.gentoo-r1 user systemd DESCRIPTION="script to schedule jobs in a multiuser multitasking environment" HOMEPAGE="https://github.com/vaeth/schedule/" @@ -13,8 +13,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="!<sys-apps/openrc-0.13 - >=dev-lang/perl-5.12" + +# These should really depend on USE-flags but must not by policy. +# Waiting for https://bugs.gentoo.org/show_bug.cgi?id=424283 +OPTIONAL_RDEPEND="|| ( >=dev-lang/perl-5.14 virtual/perl-Term-ANSIColor ) +dev-perl/Crypt-Rijndael" + +RDEPEND=">=dev-lang/perl-5.12 + !<sys-apps/openrc-0.13 + ${OPTIONAL_RDEPEND}" # || ( >=dev-lang/perl-5.10.1 >=virtual/perl-version-0.77 ) # || ( >=dev-lang/perl-5.1 virtual/perl-File-Path ) # || ( >=dev-lang/perl-5.9.4 virtual/perl-File-Spec-3.0 ) @@ -69,8 +76,6 @@ generate_password() ( ) pkg_postinst() { - optfeature "colored output" '>=dev-lang/perl-5.14' 'virtual/perl-Term-ANSIColor' - optfeature "encryption support" 'dev-perl/Crypt-Rijndael' if ! use prefix then enewgroup schedule enewuser schedule -1 -1 -1 schedule |