This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository python-shapely.

commit ecc1c01ef3ebf40b5c6d2ff39d9f9c866878ec2f
Author: Pietro Battiston <m...@pietrobattiston.it>
Date:   Tue Sep 30 14:15:24 2014 +0200

    Patch: do not install _geos.pxi file
---
 debian/patches/0004-Do-not-install-.pxi-file.patch | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/0004-Do-not-install-.pxi-file.patch 
b/debian/patches/0004-Do-not-install-.pxi-file.patch
new file mode 100644
index 0000000..4ad10b6
--- /dev/null
+++ b/debian/patches/0004-Do-not-install-.pxi-file.patch
@@ -0,0 +1,24 @@
+From: Pietro Battiston <m...@pietrobattiston.it>
+Date: Mon, 29 Sep 2014 08:48:38 +0200
+Subject: Do not install .pxi file
+
+This file is apparently not required for the (post-install) functioning of
+shapely, and it makes the Python 2 and 3 versions clash.
+---
+ setup.py | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 2d18d56..fabe936 100644
+--- a/setup.py
++++ b/setup.py
+@@ -85,8 +85,7 @@ setup_args = dict(
+         'Programming Language :: Python :: 2.7',
+         'Programming Language :: Python :: 3',
+         'Topic :: Scientific/Engineering :: GIS',
+-    ],
+-    data_files         = [('shapely', ['shapely/_geos.pxi'])]
++    ]
+ )
+ 
+ # Add DLLs for Windows
diff --git a/debian/patches/series b/debian/patches/series
index 013f5be..4c67f98 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-Use-cythonize-for-cythonization.patch
 0002-setup.cfg-to-autobuild-sphinx.patch
 0003-Retrieve-MathJax.js-locally.patch
+0004-Do-not-install-.pxi-file.patch

-- 
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

Reply via email to