[Python-modules-commits] [python-cluster] 01/01: add python3 support

Adrian Alves alvesadrian-guest at moszumanska.debian.org
Tue May 10 11:19:15 UTC 2016


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

alvesadrian-guest pushed a commit to branch master
in repository python-cluster.

commit 75a0896ab300e5549533bd5774f602fe7ee30186
Author: Adrian Alves <aalves at gmail.com>
Date:   Tue May 10 08:18:25 2016 -0300

    add python3 support
---
 debian/changelog |  7 +++++++
 debian/control   | 29 ++++++++++++++++++++++++++++-
 debian/rules     |  4 ++--
 3 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 08302cd..60c1abe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-cluster (1.3.3-2) unstable; urgency=medium
+
+  [ Adrian Alves ]
+  * add python3 support
+
+ -- Adrian Alves <aalves at gmail.com>  Tue, 10 May 2016 12:54:32 +0200
+
 python-cluster (1.3.3-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/control b/debian/control
index 6ee52a0..45ab888 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,20 @@ Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Luciano Bello <luciano at debian.org>, Adrian Alves <aalves at gmail.com>
-Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools
 Standards-Version: 3.9.8
 Homepage: https://github.com/exhuma/python-cluster/
 XS-Python-Version: all
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-cluster.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-cluster.git
+XS-Python-Version: all
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
 
 Package: python-cluster
 Architecture: all
@@ -24,3 +32,22 @@ Description: allows grouping a list of arbitrary objects into related groups (cl
  now, it is possible to generate the clusters using a hierarchical clustering
  and the popular K-Means algorithm. For the hierarchical algorithm there are
  different "linkage" (single, complete, average and uclus) methods available.
+ .
+ This is the Python 2 compatible package.
+
+Package: python3-cluster
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+XB-Python-Version: ${python3:Versions}
+Description: allows grouping a list of arbitrary objects into related groups (clusters)
+ python-cluster is a "simple" package that allows users to create several groups
+ (clusters) of objects from a list. It's meant to be flexible and able to
+ cluster any object. To ensure this kind of flexibility, you need not only to
+ supply the list of objects, but also a function that calculates the similarity
+ between two of those objects. For simple datatypes, like integers, this can be
+ as simple as a subtraction, but more complex calculations are possible. Right
+ now, it is possible to generate the clusters using a hierarchical clustering
+ and the popular K-Means algorithm. For the hierarchical algorithm there are
+ different "linkage" (single, complete, average and uclus) methods available.
+ .
+ This is the Python 3 compatible package.
diff --git a/debian/rules b/debian/rules
index 701921f..ad1a931 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,5 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
-
+export PYBUILD_NAME=python-cluster
 %:
-	dh $@ --with python2
+		dh $@ --with python2,python3 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-cluster.git



More information about the Python-modules-commits mailing list