This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository python-shapely.
commit 035e4bd178c38df69101183d65ed4b7a5d6af1e5 Author: Pietro Battiston <m...@pietrobattiston.it> Date: Mon Jul 4 12:56:14 2011 +0200 Regenerate _speedups.c at runtime --- debian/clean | 1 + debian/control | 2 +- debian/patches/rerun-cython | 28 ++++++++++++++++++++++++++++ debian/patches/series | 1 + 4 files changed, 31 insertions(+), 1 deletion(-) diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..29b2e18 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +shapely/speedups/_speedups.c diff --git a/debian/control b/debian/control index b06c3ce..6774c94 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: python-shapely Section: python Priority: optional Maintainer: Pietro Battiston <m...@pietrobattiston.it> -Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), libgeos-c1 (>= 3.1.0), libgeos-dev, python-numpy, python (>= 2.6.6-3), python-all-dev +Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), libgeos-c1 (>= 3.1.0), libgeos-dev, python-numpy, python (>= 2.6.6-3), python-all-dev, cython Standards-Version: 3.9.2 X-Python-Version: >= 2.5 Homepage: http://trac.gispython.org/lab/wiki/Shapely diff --git a/debian/patches/rerun-cython b/debian/patches/rerun-cython new file mode 100644 index 0000000..937b095 --- /dev/null +++ b/debian/patches/rerun-cython @@ -0,0 +1,28 @@ +Description: Generate .pyx at compile time. + Shapely is distributed with the .pyx Cython file already transformed into a .c + file. This patch imports the modified "build_ext" from the Cython Distutils, + and then feeds it the .pyx (rather than .c) file. +Author: Pietro Battiston <m...@pietrobattiston.it> +Forwarded: not-needed +Last-Update: <2011-07-04> + +--- python-shapely-1.2.10.orig/setup.py ++++ python-shapely-1.2.10/setup.py +@@ -12,7 +12,7 @@ except: + from distutils.errors import CCompilerError, DistutilsExecError, \ + DistutilsPlatformError + from setuptools.extension import Extension +-from setuptools.command.build_ext import build_ext ++from Cython.Distutils import build_ext + from setuptools import setup, find_packages + import sys + +@@ -92,7 +92,7 @@ if sys.platform == 'win32': + else: + ext_modules = [ + Extension("shapely.speedups._speedups", +- ["shapely/speedups/_speedups.c"], libraries=['geos_c']), ++ ["shapely/speedups/_speedups.pyx"], libraries=['geos_c']), + ] + + try: diff --git a/debian/patches/series b/debian/patches/series index c032abc..439fd12 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ disable-broken-locale-test +rerun-cython -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel