Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225657 - net-irc/supybot requires dev-python/twisted-names
Summary: net-irc/supybot requires dev-python/twisted-names
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 20:02 UTC by Mike Nerone
Modified: 2009-09-21 00:08 UTC (History)
1 user (show)

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


Attachments
Correct ebuild dependencies (supybot.ebuild.diff,664 bytes, patch)
2008-06-12 21:00 UTC, Constantin Baranov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nerone 2008-06-09 20:02:03 UTC
The default driver used for making IRC connections is "Socket", so most people probably don't hit this. However, the alternate driver is "Twisted". Since Socket doesn't support SSL, you actually *must* use Twisted if you want supybot to make SSL connections to IRC servers. If you try to switch to the Twisted driver (by setting supybot.drivers.module = Twisted), then python will complain that the Twisted.Names modules wasn't found (sorry I didn't actually capture the output, but we all know what that looks like).

Simply installing twisted-names rectifies the problem, so all that's needed is the additional dep. Since twisted is currently dep'd unconditionally, it makes sense to do the same for twisted-names, or move both into a "twisted" USE flag. If so, I would also suggest adding the "ssl" USE flag having identical effects.
Comment 1 Constantin Baranov 2008-06-12 21:00:53 UTC
Created attachment 156549 [details, diff]
Correct ebuild dependencies

1. Add unconditional dependency on twisted-names.
2. Add IUSE="ssl" with related check in pkg_setup.
Comment 2 Mike Nerone 2008-06-13 21:21:36 UTC
Hmm...perhaps the "ssl" USE flag should also tweak whatever needs to be tweaked so that the default driver is Twisted.
Comment 3 Jesus Rivero (RETIRED) gentoo-dev 2009-09-21 00:08:21 UTC
Hello, 

   Fixed in CVS, I left the ssl flag aside and added a twisted flag. Thanks Constantin for the report.

   Best regards,