diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-01 22:47:25 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-01 22:47:25 +0000 |
commit | a9a9797fa1d8de71f0bdc3d79632eeee20de41dd (patch) | |
tree | 02a54d213c911462bee20f783e950e4943511fdb /dev-python/docutils/files | |
parent | don't set KEYWORDS or IUSE (diff) | |
download | gentoo-2-a9a9797fa1d8de71f0bdc3d79632eeee20de41dd.tar.gz gentoo-2-a9a9797fa1d8de71f0bdc3d79632eeee20de41dd.tar.bz2 gentoo-2-a9a9797fa1d8de71f0bdc3d79632eeee20de41dd.zip |
Version bump.
(Portage version: 14469-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/docutils/files')
-rw-r--r-- | dev-python/docutils/files/docutils-0.6-extra_modules.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/docutils/files/docutils-0.6-extra_modules.patch b/dev-python/docutils/files/docutils-0.6-extra_modules.patch new file mode 100644 index 000000000000..ca5de4b7fc4e --- /dev/null +++ b/dev-python/docutils/files/docutils-0.6-extra_modules.patch @@ -0,0 +1,24 @@ +--- setup.py ++++ setup.py +@@ -182,19 +182,8 @@ + 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. ++ return ["roman"] + + + if __name__ == '__main__' : |