public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/bzr/files: bzr-2.1-no-pyrex-citon.patch
@ 2010-01-10 11:26 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2010-01-10 11:26 UTC (permalink / raw
  To: gentoo-commits

pva         10/01/10 11:26:26

  Added:                bzr-2.1-no-pyrex-citon.patch
  Log:
  Version bump, bug #300350, thank Jeroen Roovers for report. Added missed patch, bug #297268, thank Christian Faulhammer for report.
  (Portage version: 2.1.7.16/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-util/bzr/files/bzr-2.1-no-pyrex-citon.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/files/bzr-2.1-no-pyrex-citon.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/files/bzr-2.1-no-pyrex-citon.patch?rev=1.1&content-type=text/plain

Index: bzr-2.1-no-pyrex-citon.patch
===================================================================
=== modified file 'setup.py'
--- setup.py	2009-10-20 14:04:31 +0000
+++ setup.py	2009-10-20 14:05:01 +0000
@@ -166,26 +166,9 @@
 from distutils.errors import CCompilerError, DistutilsPlatformError
 from distutils.extension import Extension
 ext_modules = []
-try:
-    try:
-        from Pyrex.Distutils import build_ext
-        from Pyrex.Compiler.Version import version as pyrex_version
-    except ImportError:
-        print "No Pyrex, trying Cython..."
-        from Cython.Distutils import build_ext
-        from Cython.Compiler.Version import version as pyrex_version
-except ImportError:
-    have_pyrex = False
-    # try to build the extension from the prior generated source.
-    print
-    print ("The python package 'Pyrex' is not available."
-           " If the .c files are available,")
-    print ("they will be built,"
-           " but modifying the .pyx files will not rebuild them.")
-    print
-    from distutils.command.build_ext import build_ext
-else:
-    have_pyrex = True
+
+have_pyrex = False
+from distutils.command.build_ext import build_ext
 
 
 class build_ext_if_possible(build_ext):







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-10 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10 11:26 [gentoo-commits] gentoo-x86 commit in dev-util/bzr/files: bzr-2.1-no-pyrex-citon.patch Peter Volkov (pva)

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