Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412527 - games-util/nml-0.2.3 doesn't work with python 3 as default version
Summary: games-util/nml-0.2.3 doesn't work with python 3 as default version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 14:57 UTC by Hendrik v. Raven
Modified: 2012-04-20 15:55 UTC (History)
3 users (show)

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


Attachments
ebuild correction (nml-0.2.3.ebuild.diff,444 bytes, text/plain)
2012-04-18 14:57 UTC, Hendrik v. Raven
Details
build.log (build.log,1.82 KB, text/plain)
2012-04-19 19:25 UTC, Alexander Tsoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik v. Raven 2012-04-18 14:57:33 UTC
Created attachment 309421 [details]
ebuild correction

nml doesn't work with python 3
correction (including extra doc) in patch
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-04-18 15:13:38 UTC
fails w/ python 3 as default python version
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-18 15:26:10 UTC
Fixed in cvs. Thanks for the patch.
Comment 3 Alexander Tsoy 2012-04-19 19:22:10 UTC
It still fails at compile phase
Comment 4 Alexander Tsoy 2012-04-19 19:25:05 UTC
Created attachment 309531 [details]
build.log
Comment 5 Michael Weber (RETIRED) gentoo-dev 2012-04-19 21:25:42 UTC
According to [1] `python_set_active_version 2` has to be called before `python_pkg_setup`

[1] http://www.gentoo.org/proj/en/Python/developersguide.xml

--- nml-0.2.3.ebuild    2012-04-19 23:22:26.828805348 +0200
+++ nml-0.2.3.ebuild.new        2012-04-19 23:25:11.961740898 +0200
@@ -22,8 +22,8 @@
 DOCS="docs/changelog.txt docs/readme.txt"
 
 pkg_setup() {
-       python_pkg_setup
        python_set_active_version 2
+       python_pkg_setup
 }
 
 src_install() {
Comment 6 Alexander Tsoy 2012-04-20 12:57:34 UTC
Yes. It's fixed now