Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40202 Details for
Bug 59140
dev-python/docutils-0.3.5 is out
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated extramodules patch
docutils-0.3.5-extramodules.patch (text/plain), 1.14 KB, created by
Christian Theune
on 2004-09-23 01:15:17 UTC
(
hide
)
Description:
updated extramodules patch
Filename:
MIME Type:
Creator:
Christian Theune
Created:
2004-09-23 01:15:17 UTC
Size:
1.14 KB
patch
obsolete
>--- docutils-0.3.5/setup.py 2004-07-29 16:57:28.000000000 +0200 >+++ docutils-0.3.5/setup.py.new 2004-09-23 10:06:06.263010624 +0200 >@@ -82,20 +82,15 @@ > List of (module name, minimum __version__ string, [attribute names]).""" > > def get_extras(): >- extras = [] >- for module_name, version, attributes in extra_modules: >- try: >- module = __import__(module_name) >- if version and module.__version__ < version: >- raise ValueError >- for attribute in attributes or []: >- getattr(module, attribute) >- print ('"%s" module already present; ignoring extras/%s.py.' >- % (module_name, module_name)) >- except (ImportError, AttributeError, ValueError): >- extras.append(module_name) >- return extras >- >+ # old method does not work for upgrading/downgrading docutils. >+ # so we use a simple rule, 'optparse' and 'textwrap' are not installed >+ # for >=python-2.3 >+ >+ pyver = sys.version_info >+ if pyver[0] == 2 and pyver[1] > 2: >+ return ["roman"] >+ else: >+ return ["optparse","textwrap","roman"] > > class dual_build_py(build_py): >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59140
:
40201
| 40202