diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-05 18:13:27 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-05 18:13:27 +0000 |
commit | 7bf91c01eb663230ab52442185f0f42f4fac0dbf (patch) | |
tree | c20a51c6edcf139e119b56c3b4efaad14e036888 /dev-python/spyder/files | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-7bf91c01eb663230ab52442185f0f42f4fac0dbf.tar.gz gentoo-2-7bf91c01eb663230ab52442185f0f42f4fac0dbf.tar.bz2 gentoo-2-7bf91c01eb663230ab52442185f0f42f4fac0dbf.zip |
Version bump.
(Portage version: 2.2.0_alpha6_p21/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/spyder/files')
-rw-r--r-- | dev-python/spyder/files/spyder-2.0.3-disable_sphinx_dependency.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/spyder/files/spyder-2.0.3-disable_sphinx_dependency.patch b/dev-python/spyder/files/spyder-2.0.3-disable_sphinx_dependency.patch new file mode 100644 index 000000000000..10c7d302c032 --- /dev/null +++ b/dev-python/spyder/files/spyder-2.0.3-disable_sphinx_dependency.patch @@ -0,0 +1,51 @@ +--- 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, os.path as osp, sys
+
+
+@@ -36,24 +35,6 @@ + splist.append(".".join(dirpath.split(os.sep)))
+ 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')
+- setup_command.BuildDoc.run(self)
+- sys.path.pop(0)
+-
+-cmdclass = {'build': MyBuild, 'build_doc': MyBuildDoc}
+-
+
+ NAME = 'spyder'
+ LIBNAME = 'spyderlib'
+@@ -80,7 +61,7 @@ + get_package_data(LIBNAME, ('.qm', '.svg', '.png', '.css')),
+ 'spyderplugins':
+ get_package_data('spyderplugins', ('.qm', '.svg', '.png'))},
+- requires=["pyflakes (>0.3.0)", "rope (>0.9.0)", "sphinx (>0.6.0)",
++ requires=["pyflakes (>0.3.0)", "rope (>0.9.0)",
+ "PyQt4 (>4.3)"],
+ scripts=['spyder.pyw', 'spyder.py'] if os.name == 'nt' else ['spyder'],
+ classifiers=['License :: OSI Approved :: MIT License',
+@@ -94,5 +75,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'])
|