Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503508 - =dev-python/pyalsaaudio-0.7*: Support python3_{2,3} by using `2to3 -w --no-diffs`
Summary: =dev-python/pyalsaaudio-0.7*: Support python3_{2,3} by using `2to3 -w --no-di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 11:46 UTC by gentoo
Modified: 2014-03-05 14:01 UTC (History)
2 users (show)

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


Attachments
pyalsaaudio-0.7-r2.ebuild (pyalsaaudio-0.7-r2.ebuild,1.14 KB, text/plain)
2014-03-05 11:47 UTC, gentoo
Details
Use python3_2 and 3_3 by `2to3 -w --no-diffs` (pyalsaaudio-0.7-r2.ebuild.patch,430 bytes, patch)
2014-03-05 12:34 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2014-03-05 11:46:24 UTC
Hello,

Please find attached the pyalsaaudio-0.7-r2 ebuild.
With a trivial change it now also builds for python 3.2.

seth0r
Comment 1 gentoo 2014-03-05 11:47:27 UTC
Created attachment 371786 [details]
pyalsaaudio-0.7-r2.ebuild
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-03-05 12:34:47 UTC
Created attachment 371788 [details, diff]
Use python3_2 and 3_3 by `2to3 -w --no-diffs`

Can you try this patch? I looked at how other ebuilds in dev-python/ category call 2to3, and this seems to be the way.
I use 3.3 myself as default and it installed okay here like this.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-05 12:37:39 UTC
Should propably even add the '-n' argument to 2to3 since backups of the files are useless
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-03-05 14:00:41 UTC
should be fixed in 0.7-r2
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2014-03-05 14:01:09 UTC
Comment on attachment 371786 [details]
pyalsaaudio-0.7-r2.ebuild

turned out the ebuild had more issues than just missing 2to3, so this was no-go
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-03-05 14:01:19 UTC
Comment on attachment 371788 [details, diff]
Use python3_2 and 3_3 by `2to3 -w --no-diffs`

also bogus