public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/spyder/files: spyder-2.0.4-disable_sphinx_dependency.patch
@ 2010-12-13 20:39 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-12-13 20:39 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/12/13 20:39:30

  Added:                spyder-2.0.4-disable_sphinx_dependency.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.0_alpha8/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/spyder/files/spyder-2.0.4-disable_sphinx_dependency.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/files/spyder-2.0.4-disable_sphinx_dependency.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/files/spyder-2.0.4-disable_sphinx_dependency.patch?rev=1.1&content-type=text/plain

Index: spyder-2.0.4-disable_sphinx_dependency.patch
===================================================================
--- 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,27 +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')
-        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'
@@ -83,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', 'spyder.bat'] if os.name == 'nt' else ['spyder'],
       classifiers=['License :: OSI Approved :: MIT License',
@@ -97,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'])






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/spyder/files: spyder-2.0.4-disable_sphinx_dependency.patch
@ 2011-11-18 10:03 Andrey Grozin (grozin)
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Grozin (grozin) @ 2011-11-18 10:03 UTC (permalink / raw
  To: gentoo-commits

grozin      11/11/18 10:03:00

  Removed:              spyder-2.0.4-disable_sphinx_dependency.patch
  Log:
  Version bump (bug #390777), new USE flag pep8, cleaning old versions
  
  (Portage version: 2.2.0_alpha74/cvs/Linux i686)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-18 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 10:03 [gentoo-commits] gentoo-x86 commit in dev-python/spyder/files: spyder-2.0.4-disable_sphinx_dependency.patch Andrey Grozin (grozin)
  -- strict thread matches above, loose matches on Subject: below --
2010-12-13 20:39 Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox