Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293043 Details for
Bug 390961
dev-python/spyder-2.1.2[-doc] fails to build without dev-python/sphinx installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
spyder-2.1.2-disable_sphinx_dependency.patch
spyder-2.1.2-disable_sphinx_dependency.patch (text/plain), 2.22 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2011-11-18 22:55:00 UTC
(
hide
)
Description:
spyder-2.1.2-disable_sphinx_dependency.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2011-11-18 22:55:00 UTC
Size:
2.22 KB
patch
obsolete
>--- setup.py >+++ setup.py >@@ -13,7 +13,6 @@ > > from distutils.core import setup > from distutils.command.build import build >-from sphinx import setup_command > import os > import os.path as osp > import sys >@@ -40,30 +39,6 @@ > return splist > > >-# Sphinx build (documentation) >-class MyBuild(build): >- def has_doc(self): >- setup_dir = os.path.dirname(os.path.abspath(__file__)) >- return os.path.isdir(os.path.join(setup_dir, 'doc')) >- sub_commands = build.sub_commands + [('build_doc', has_doc)] >- >- >-class MyBuildDoc(setup_command.BuildDoc): >- def run(self): >- build = self.get_finalized_command('build') >- sys.path.insert(0, os.path.abspath(build.build_lib)) >- dirname = self.distribution.get_command_obj('build').build_purelib >- self.builder_target_dir = osp.join(dirname, 'spyderlib', 'doc') >- try: >- setup_command.BuildDoc.run(self) >- except UnicodeDecodeError: >- print >>sys.stderr, "ERROR: unable to build documentation because Sphinx do not handle source path with non-ASCII characters. Please try to move the source package to another location (path with *only* ASCII characters)." >- sys.path.pop(0) >- >- >-cmdclass = {'build': MyBuild, 'build_doc': MyBuildDoc} >- >- > NAME = 'spyder' > LIBNAME = 'spyderlib' > from spyderlib import __version__, __project_url__ >@@ -88,7 +63,7 @@ > get_package_data(LIBNAME, ('.mo', '.svg', '.png', '.css')), > 'spyderplugins': > get_package_data('spyderplugins', ('.mo', '.svg', '.png'))}, >- requires=["rope (>=0.9.2)", "sphinx (>=0.6.0)", "PyQt4 (>=4.4)"], >+ requires=["rope (>=0.9.2)", "PyQt4 (>=4.4)"], > scripts=[osp.join('scripts', fname) for fname in > (['spyder', 'spyder.bat'] if os.name == 'nt' else ['spyder'])], > classifiers=['License :: OSI Approved :: MIT License', >@@ -102,5 +77,4 @@ > 'Programming Language :: Python :: 2.7', > 'Development Status :: 5 - Production/Stable', > 'Topic :: Scientific/Engineering', >- 'Topic :: Software Development :: Widget Sets'], >- cmdclass=cmdclass) >+ 'Topic :: Software Development :: Widget Sets'])
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 390961
: 293043 |
293045