[pykdtree] 06/07: New package for python3

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sat Jul 2 16:56:02 UTC 2016


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

a_valentino-guest pushed a commit to branch master
in repository pykdtree.

commit c272030045ce319750f11861df7765816b855b97
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sat Mar 5 11:08:42 2016 +0000

    New package for python3
---
 debian/changelog |  1 +
 debian/control   | 32 ++++++++++++++++++++++++++++++--
 debian/rules     |  7 ++++++-
 3 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0abf1c2..d3f5992 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pykdtree (1.1.1-1) UNRELEASED; urgency=medium
 
   [ Antonio Valentino ]
   * New upstream release
+  * New package for Python 3
   * debian/control
     - standard version bumped to 3.9.8 (no change)
   * debian/rules
diff --git a/debian/control b/debian/control
index 357e0f3..dcc396c 100644
--- a/debian/control
+++ b/debian/control
@@ -7,9 +7,13 @@ Priority: optional
 Build-Depends: debhelper (>= 9.0.0),
                dh-python,
                python-setuptools,
+               python3-setuptools,
                python-all-dev,
+               python3-all-dev,
                python-numpy,
-               python-nose
+               python3-numpy,
+               python-nose,
+               python3-nose
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/pykdtree.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-grass/pykdtree.git
@@ -20,7 +24,7 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${python:Depends},
          ${misc:Depends}
-Description: Fast kd-tree implementation with OpenMP-enabled queries
+Description: Fast kd-tree implementation with OpenMP-enabled queries (Python 2 version)
  pykdtree is a kd-tree implementation for fast nearest neighbour search
  in Python. The aim is to be the fastest implementation around for
  common use cases (low dimensions and low number of neighbours) for
@@ -34,3 +38,27 @@ Description: Fast kd-tree implementation with OpenMP-enabled queries
  Euclidean distance measure is supported.
  .
  Queries are optionally multithreaded using OpenMP.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-pykdtree
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${python3:Depends},
+         ${misc:Depends}
+Description: Fast kd-tree implementation with OpenMP-enabled queries (Python 3 version)
+ pykdtree is a kd-tree implementation for fast nearest neighbour search
+ in Python. The aim is to be the fastest implementation around for
+ common use cases (low dimensions and low number of neighbours) for
+ both tree construction and queries.
+ .
+ The implementation is based on scipy.spatial.cKDTree and libANN by
+ combining the best features from both and focus on implementation
+ efficiency.
+ .
+ The interface is similar to that of scipy.spatial.cKDTree except only
+ Euclidean distance measure is supported.
+ .
+ Queries are optionally multithreaded using OpenMP.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/rules b/debian/rules
index 35233cc..3986a24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,13 @@ export PYBUILD_NAME=pykdtree
 
 
 %:
-	dh $@ --parallel --with python2 --buildsystem=pybuild
+	dh $@ --parallel --with python2,python3 --buildsystem=pybuild
 
 override_dh_python2:
 	dh_python2
 	dh_numpy
+
+override_dh_python3:
+	dh_python3
+	dh_numpy3
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pykdtree.git



More information about the Pkg-grass-devel mailing list