Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288065 Details for
Bug 384497
[java-overlay] antlr-python-3.1.3.ebuild issues deprecation warning
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
python3-compat.patch
python3-compat.patch (text/plain), 1.67 KB, created by
Ralph Sennhauser (RETIRED)
on 2011-09-28 09:52:32 UTC
(
hide
)
Description:
python3-compat.patch
Filename:
MIME Type:
Creator:
Ralph Sennhauser (RETIRED)
Created:
2011-09-28 09:52:32 UTC
Size:
1.67 KB
patch
obsolete
>diff -u -r antlr-3.1.3.orig//runtime/Python/ez_setup.py antlr-3.1.3/runtime/Python/ez_setup.py >--- antlr-3.1.3.orig//runtime/Python/ez_setup.py 2009-03-18 03:41:01.000000000 +0100 >+++ antlr-3.1.3/runtime/Python/ez_setup.py 2011-09-28 09:33:49.000000000 +0200 >@@ -88,7 +88,7 @@ > try: > pkg_resources.require("setuptools>="+version) > >- except pkg_resources.VersionConflict, e: >+ except pkg_resources.VersionConflict as e: > # XXX could we install in a subprocess here? > print >>sys.stderr, ( > "The required version of setuptools (>=%s) is not available, and\n" >@@ -180,8 +180,8 @@ > from setuptools.command.easy_install import main > main(argv) > else: >- print "Setuptools version",version,"or greater has been installed." >- print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' >+ print( "Setuptools version",version,"or greater has been installed.") >+ print( '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') > > > >diff -u -r antlr-3.1.3.orig//runtime/Python/setup.py antlr-3.1.3/runtime/Python/setup.py >--- antlr-3.1.3.orig//runtime/Python/setup.py 2009-03-18 03:41:01.000000000 +0100 >+++ antlr-3.1.3/runtime/Python/setup.py 2011-09-28 09:19:59.000000000 +0200 >@@ -46,7 +46,7 @@ > try: > log.info("removing '%s'", filePath) > os.unlink(filePath) >- except OSError, exc: >+ except OSError as exc: > log.warn( > "Failed to delete '%s': %s", > filePath, exc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 384497
:
288063
| 288065