[python-shapely] 104/148: Support python 3 (switch to pbuild)
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Thu Aug 20 17:42:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-shapely.
commit d18892a0b8b349e1f572b9d75b300a607bf420b2
Author: Pietro Battiston <me at pietrobattiston.it>
Date: Mon Jan 20 14:05:17 2014 +0100
Support python 3 (switch to pbuild)
---
debian/changelog | 1 +
debian/control | 21 ++++++++++++++++++++-
debian/rules | 4 +++-
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index eaa79a8..241ff42 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ python-shapely (1.3.0-1) unstable; urgency=low
- Works with libgeos >= 3.4.2 (Closes: #733667, #735808)
- Removed non-deterministic test "cascaded_union.txt" (Closes: #666655)
* Deleted obsolete patches.
+ * Switched to pbuild, added support for python 3.
* Updated watch file: look for releases on github (they contain .pyx files).
* Updated policy version.
diff --git a/debian/control b/debian/control
index 1614b20..7e173f5 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,10 @@ Source: python-shapely
Section: python
Priority: optional
Maintainer: Pietro Battiston <me at 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, cython
+Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), libgeos-c1 (>= 3.1.0), libgeos-dev, python-numpy, python-all (>= 2.6.6-3), python-all-dev, python3-all, python3-setuptools, cython, cython3, dh-python
Standards-Version: 3.9.5
X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.2
Homepage: http://trac.gispython.org/lab/wiki/Shapely
Vcs-Browser: http://git.debian.org/?p=collab-maint/python-shapely.git
Vcs-Git: git://git.debian.org/git/collab-maint/python-shapely.git
@@ -22,3 +23,21 @@ Description: geometric objects, predicates, and operations
.
Supported geometric types are points, line strings, linear rings, polygons, and
homogeneous or heterogeneous collections thereof.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-shapely
+Architecture: any
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, python3, libgeos-c1 (>= 3.1.0)
+Suggests: python3-numpy, python3-matplotlib
+Enhances: python3-numpy
+Description: geometric objects, predicates, and operations
+ Shapely is a package for manipulation and analysis of 2D features.
+ Its capabilities include:
+ * calculating the point set unions, intersections, or differences of features
+ * predicate tests on features: intersects, touches, contains, and more.
+ .
+ Supported geometric types are points, line strings, linear rings, polygons, and
+ homogeneous or heterogeneous collections thereof.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/rules b/debian/rules
index 2e84a4c..dd79a7b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,10 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export PYBUILD_NAME=shapely
+
%:
- dh $@ --with python2
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git
More information about the Pkg-grass-devel
mailing list