From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 240BD13800E for ; Thu, 2 Aug 2012 17:50:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7F6C21C035; Thu, 2 Aug 2012 17:50:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 62AE821C035 for ; Thu, 2 Aug 2012 17:50:11 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CB711B402C for ; Thu, 2 Aug 2012 17:50:05 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2162) id E46692004B; Thu, 2 Aug 2012 17:50:03 +0000 (UTC) From: "Sebastien Fabbro (bicatali)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, bicatali@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-python/spyder/files: spyder-2.1.11-disable_sphinx_dependency.patch spyder-2.0.10-disable_sphinx_dependency.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: spyder-2.1.11-disable_sphinx_dependency.patch spyder-2.0.10-disable_sphinx_dependency.patch X-VCS-Directories: dev-python/spyder/files X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20120802175003.E46692004B@flycatcher.gentoo.org> Date: Thu, 2 Aug 2012 17:50:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a79284f1-c921-4892-9f86-15d9302f5af0 X-Archives-Hash: d5e26d0e25034cb3e75a4e797dcc63bb bicatali 12/08/02 17:50:03 Added: spyder-2.1.11-disable_sphinx_dependency.patch Removed: spyder-2.0.10-disable_sphinx_dependency.patch Log: Version bump. Keyword amd64-linux and x86-linux. Updated patch (Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64) Revision Changes Path 1.1 dev-python/spyder/files/spyder-2.1.11-disable_sphinx_dependency.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/files/spyder-2.1.11-disable_sphinx_dependency.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/files/spyder-2.1.11-disable_sphinx_dependency.patch?rev=1.1&content-type=text/plain Index: spyder-2.1.11-disable_sphinx_dependency.patch =================================================================== --- setup.py.orig 2012-08-02 10:46:39.683501361 -0700 +++ setup.py 2012-08-02 10:48:16.479009298 -0700 @@ -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,34 +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__ @@ -110,7 +81,7 @@ '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', "%s_win_post_install.py" % NAME, 'spyder.ico', 'spyder_light.ico'] @@ -132,5 +103,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'])