--- python-cluster-1.1.1b3.orig/debian/copyright +++ python-cluster-1.1.1b3/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Luciano Bello on +Thu, 29 May 2008 19:33:58 -0300. + +It was downloaded from http://python-cluster.sourceforge.net/ + +Upstream Author: + + Michel Albert + +Copyright: + + Copyright (C) 2008 Michel Albert + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + +The Debian packaging is (C) 2008, Luciano Bello and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- python-cluster-1.1.1b3.orig/debian/control +++ python-cluster-1.1.1b3/debian/control @@ -0,0 +1,25 @@ +Source: python-cluster +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Luciano Bello +Build-Depends: debhelper (>= 5.0.38), python-all +Build-Depends-Indep: python-support (>= 0.6.4) +Standards-Version: 3.7.3 +Homepage: http://python-cluster.sourceforge.net/ +XS-Python-Version: all + +Package: python-cluster +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +XB-Python-Version: ${python:Versions} +Description: allows grouping a list of arbitrary objects into related groups (clusters) + python-cluster is a "simple" package that allows 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. --- python-cluster-1.1.1b3.orig/debian/changelog +++ python-cluster-1.1.1b3/debian/changelog @@ -0,0 +1,5 @@ +python-cluster (1.1.1b3-1) unstable; urgency=low + + * Initial release (Closes: #483458) + + -- Luciano Bello Thu, 29 May 2008 19:26:36 -0300 --- python-cluster-1.1.1b3.orig/debian/rules +++ python-cluster-1.1.1b3/debian/rules @@ -0,0 +1,50 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYVERS=$(shell pyversions -r) + +build: + +clean: + dh_testdir + + # Add here commands to clean up after the build process. + for python in $(PYVERS); do \ + $$python setup.py clean; \ + done + + rm -f build-stamp + rm -f *.pyc *.pyo + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_installdirs + + for python in $(PYVERS); do \ + $$python setup.py install --root=debian/python-cluster; \ + done + +# Build architecture-dependent files here. +binary-arch: +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs README + dh_pysupport + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- python-cluster-1.1.1b3.orig/debian/compat +++ python-cluster-1.1.1b3/debian/compat @@ -0,0 +1 @@ +5