Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395573 - dev-perl/AnyEvent should not depend on dev-perl/Event
Summary: dev-perl/AnyEvent should not depend on dev-perl/Event
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 17:42 UTC by redneb
Modified: 2012-01-28 08:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description redneb 2011-12-21 17:42:26 UTC
AnyEvent can use one many different event loops as its backend. It always tries EV (which is provided by dev-perl/EV in gentoo) first. If EV is not available it will then try AnyEvent::Loop which is shipped with AnyEvent itself so this will always succeed. Any other backend (such as Event) will only be used if the user explicitly requests that. Therefore it doesn't make sense for dev-perl/AnyEvent to depend on dev-perl/Event. I think the best option is to make dev-perl/EV to conditionally depend on dev-perl/EV with a use flag that will be on by default. If any application needs to use some other backend with AnyEvent then the ebuild for that application should explicitly depend on the other backend's ebuild and not expect the backend to be pulled in as a dependency of AnyEvent. See [1] for more information on how AnyEvent selects its backend.

[1] http://search.cpan.org/perldoc?AnyEvent#DESCRIPTION
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2012-01-28 08:02:32 UTC
dev-perl/Event removed from dev-perl/AnyEvent-6.130.0.
Thanks