Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314513 - dev-python/jaxml-3.01 fails to build with Python 2.7 (__debug__ assignment)
Summary: dev-python/jaxml-3.01 fails to build with Python 2.7 (__debug__ assignment)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.7
  Show dependency tree
 
Reported: 2010-04-10 13:08 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-09-15 21:47 UTC (History)
0 users

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


Attachments
jaxml-3.01:20100410-130606.log (jaxml-3.01:20100410-130606.log,2.43 KB, text/plain)
2010-04-10 13:09 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details
version bump (jaxml-3.02.ebuild,515 bytes, text/plain)
2010-08-22 16:30 UTC, Domen Kožar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-10 13:08:47 UTC
dev-python/jaxml-3.01 fails to build with Python 2.7.

python2.7 setup.py build -b build-2.7 
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    import jaxml
  File "/var/tmp/portage/dev-python/jaxml-3.01/work/jaxml-3.01/jaxml.py", line 990
    self.__debug__ = file
SyntaxError: cannot assign to __debug__
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-10 13:09:34 UTC
Created attachment 227261 [details]
jaxml-3.01:20100410-130606.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-26 16:29:58 UTC
dev-python/jaxml-3.01 could assign a name different than __debug__, e.g. __debug_file__.

dev-python/jaxml-3.01 also uses regex module, which has been removed in Python 2.5.
Comment 3 Johan Bergström 2010-08-22 14:47:43 UTC
iElectric @ #gentoo-python claims 3.02 indeed plays with python 2.7. Lets look at a version bump
Comment 4 Domen Kožar 2010-08-22 16:30:50 UTC
Created attachment 244055 [details]
version bump
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-15 21:47:44 UTC
Fixed by upstream in dev-python/jaxml-3.02.