summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-07 10:51:02 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-07 10:51:02 +0200
commit444f8ef7f9d860826fc9aa467fbf7d4e287352d0 (patch)
treea2983a72c219490cbea222df9a613dd9b82000db /dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild
parentapp-vim/pyclewn: Inherit optfeature.eclass (diff)
downloadgentoo-444f8ef7f9d860826fc9aa467fbf7d4e287352d0.tar.gz
gentoo-444f8ef7f9d860826fc9aa467fbf7d4e287352d0.tar.bz2
gentoo-444f8ef7f9d860826fc9aa467fbf7d4e287352d0.zip
dev-perl/AnyEvent: Inherit optfeature.eclass
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild')
-rw-r--r--dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild b/dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild
index e0a208b01594..f560cca85d76 100644
--- a/dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild
+++ b/dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild
@@ -5,7 +5,7 @@ EAPI=7
DIST_AUTHOR=MLEHMANN
DIST_VERSION=7.17
-inherit perl-module eutils virtualx
+inherit perl-module optfeature virtualx
DESCRIPTION="Provides a uniform interface to various event loops"
@@ -29,6 +29,7 @@ PERL_RM_FILES=(
t/70_uv_0{1_basic,2_signals,3_child,4_condvar,5_dns,7_io,9_multi}.t
)
+
pkg_postinst() {
optfeature "improved event-loop performance" '>=dev-perl/EV-4.0.0'
optfeature "improved performance of Guard objects" '>=dev-perl/Guard-1.20.0'
@@ -37,6 +38,7 @@ pkg_postinst() {
# AnyEvent::AIO
# Async::Interrupts
}
+
src_test() {
# optional:
# - install dev-perl/glib-perl for Glib for AnyEvent::Impl::Glib