Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265784 - net-p2p/bittorrent-5.2.2 incompatible with dev-lang/python:2.6
Summary: net-p2p/bittorrent-5.2.2 incompatible with dev-lang/python:2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6 336166
  Show dependency tree
 
Reported: 2009-04-11 16:46 UTC by Santiago Gala
Modified: 2011-03-18 00:32 UTC (History)
2 users (show)

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


Attachments
Simple patch to the current stable ebuild for this problem (bittorrent.diff,446 bytes, patch)
2009-08-31 08:11 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Gala 2009-04-11 16:46:57 UTC
when reemerging bittorrent under python 2.6, it choked at "as" used as variable at:

$ equery files bittorrent | grep py | xargs grep "self.as "
/usr/lib64/python2.6/site-packages/khashmir/test_krpc.py:        self.as = self.r.create_udpsocket(addr[1], addr[0], True)

It is trivial to patch and, further, it is inside a test, so the basic functionality of the package is not affected

Reproducible: Always

Steps to Reproduce:
1. Install net-p2p/bittorrent having python2.6
2. Look at the error when trying to compile the .py files

Actual Results:  
the .pyc and .pyo files are missing
Comment 1 Attila Tóth 2009-08-31 08:11:12 UTC
Created attachment 202772 [details, diff]
Simple patch to the current stable ebuild for this problem
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2011-03-16 02:40:36 UTC
We're dropping 5.x.  This shouldn't be a problem with 4.4.0.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2011-03-16 04:54:56 UTC
Sorry, turns out it is.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-03-18 00:32:39 UTC
Fixed in 4.4.0-r2.