--- mlpy-2.2.0~dfsg1.orig/debian/copyright +++ mlpy-2.2.0~dfsg1/debian/copyright @@ -0,0 +1,21 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Name: mlpy +Upstream-Source-Location: https://mlpy.fbk.eu/wiki/MlpyDownloads + +Files: * +Copyright: Copyright, + 2007-2009, Fondazione Bruno Kessler - Via Santa Croce 77, 38100 Trento, ITALY +License: GPL-3+ + On Debian GNU/Linux systems, the complete text of the GPL version 3 License + can be found in `/usr/share/common-licenses/GPL-3`. + +Files: docs/source/conf.py +Copyright: Copyright, + 2008-2009, mlpy developers +License: GPL-3+ + On Debian GNU/Linux systems, the complete text of the GPL version 3 License + can be found in `/usr/share/common-licenses/GPL-3`. + +Files: debian/* +Copyright: Copyright 2009-2010, Yaroslav Halchenko +License: Expat --- mlpy-2.2.0~dfsg1.orig/debian/changelog +++ mlpy-2.2.0~dfsg1/debian/changelog @@ -0,0 +1,45 @@ +mlpy (2.2.0~dfsg1-2.1) unstable; urgency=low + + * Non maintainer upload. + * No-change upload to drop python-mlpy dependency on python2.6. + + -- Matthias Klose Mon, 20 May 2013 15:17:14 +0200 + +mlpy (2.2.0~dfsg1-2) unstable; urgency=low + + * Build-Depend on python-numpy providing numpy-ext (Closes: #589588). + Thanks Jakub Wilk for keeping us in a good shape ;) + + -- Yaroslav Halchenko Mon, 19 Jul 2010 10:31:01 -0400 + +mlpy (2.2.0~dfsg1-1) unstable; urgency=low + + * New upstream release + * Moved under NeuroDebian Team umbrella + * Boosted policy compliance to 3.9.0 -- no changes are due + * Dumped python-progressbar from *Depends since of no use + + -- Yaroslav Halchenko Tue, 13 Jul 2010 13:05:58 -0400 + +mlpy (2.1.0~dfsg1-3) unstable; urgency=low + + * Adjusted long description for -doc package (Closes: #562902). + * Boosted policy compliance to 3.8.4 -- no changes are due. + * minor reformatting of debian/copyright. + + -- Yaroslav Halchenko Tue, 09 Feb 2010 22:51:12 -0500 + +mlpy (2.1.0~dfsg1-2) unstable; urgency=low + + * BF: we have now not only linux in debian -- relax + path assumptions on where to look for installed version during build + (closes: #560760). + + -- Yaroslav Halchenko Fri, 11 Dec 2009 20:44:49 -0500 + +mlpy (2.1.0~dfsg1-1) unstable; urgency=low + + * Initial packaging/upload to Debian (closes: #559006): + - mlpy/progressbar.py removed since provided within python-progressbar + + -- Yaroslav Halchenko Fri, 04 Sep 2009 16:18:54 -0400 --- mlpy-2.2.0~dfsg1.orig/debian/pycompat +++ mlpy-2.2.0~dfsg1/debian/pycompat @@ -0,0 +1 @@ +2 --- mlpy-2.2.0~dfsg1.orig/debian/compat +++ mlpy-2.2.0~dfsg1/debian/compat @@ -0,0 +1 @@ +5 --- mlpy-2.2.0~dfsg1.orig/debian/control +++ mlpy-2.2.0~dfsg1/debian/control @@ -0,0 +1,57 @@ +Source: mlpy +Section: python +Priority: optional +Maintainer: NeuroDebian Team +Uploaders: Yaroslav Halchenko , Michael Hanke +Build-Depends: cdbs, debhelper (>= 5.0.38), libgsl0-dev, python-all-dev (>= 2.4), python-support (>= 0.6), python-numpy, python-sphinx, texlive, texlive-latex-extra, help2man +Standards-Version: 3.9.0 +Homepage: https://mlpy.fbk.eu/ +Vcs-Browser: http://git.debian.org/?p=pkg-exppsy/mlpy.git +Vcs-Git: git://git.debian.org/git/pkg-exppsy/mlpy.git + +Package: python-mlpy +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python, python-numpy, python-mlpy-lib(>= ${source:Version}) +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Suggests: python-mvpa +Description: high-performance Python package for predictive modeling + mlpy provides high level procedures that support, with few lines of + code, the design of rich Data Analysis Protocols (DAPs) for + preprocessing, clustering, predictive classification and feature + selection. Methods are available for feature weighting and ranking, + data resampling, error evaluation and experiment landscaping. + . + mlpy includes: SVM (Support Vector Machine), KNN (K Nearest + Neighbor), FDA, SRDA, PDA, DLDA (Fisher, Spectral Regression, + Penalized, Diagonal Linear Discriminant Analysis) for classification + and feature weighting, I-RELIEF, DWT and FSSun for feature weighting, + *RFE (Recursive Feature Elimination) and RFS (Recursive Forward + Selection) for feature ranking, DWT, UWT, CWT (Discrete, Undecimated, + Continuous Wavelet Transform), KNN imputing, DTW (Dynamic Time + Warping), Hierarchical Clustering, k-medoids, Resampling Methods, + Metric Functions, Canberra indicators. + +Package: python-mlpy-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, libjs-jquery +Suggests: python-mlpy +Description: documention and examples for mlpy + mlpy provides high level procedures that support, with few lines of + code, the design of rich Data Analysis Protocols (DAPs) for + preprocessing, clustering, predictive classification and feature + selection. Methods are available for feature weighting and ranking, + data resampling, error evaluation and experiment landscaping. + . + This package provides user documentation for mlpy in various formats + (HTML, PDF). + + +Package: python-mlpy-lib +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, python-numpy +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: low-level implementations and bindings for mlpy + This is an add-on package for the mlpy providing compiled core functionality. --- mlpy-2.2.0~dfsg1.orig/debian/python-mlpy-doc.links +++ mlpy-2.2.0~dfsg1/debian/python-mlpy-doc.links @@ -0,0 +1 @@ +usr/share/javascript/jquery/jquery.js usr/share/doc/python-mlpy-doc/html/_static/jquery.js --- mlpy-2.2.0~dfsg1.orig/debian/rules +++ mlpy-2.2.0~dfsg1/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +DEB_PYTHON_SYSTEM = pysupport +# for earlier cdbs versions +DEB_PYTHON_MODULE_PACKAGE = python-mlpy +# for cdbs >= 0.4.54 +DEB_PYTHON_MODULE_PACKAGES = python-mlpy python-mlpy-lib +include /usr/share/cdbs/1/class/python-distutils.mk + +BUILD_SCRIPTS_DIR=build/scripts-$(cdbs_python_current_version) +BUILD_PYTHONPATH=$(CURDIR)/$(shell ls -d build/lib.*-*-$(cdbs_python_current_version)) +MLPY_VERSION = $(shell awk -F\' '/version *=/{print $$2;}' setup.py) + +doc: doc-stamp +doc-stamp: build/python-mlpy +ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) + PYTHONPATH=$(BUILD_PYTHONPATH) $(MAKE) -C docs html latex + PYTHONPATH=$(BUILD_PYTHONPATH) $(MAKE) -C docs/build/latex all-pdf + touch $@ +endif + +# Build basic manpages +man: man-stamp +man-stamp: build/python-mlpy + -rm -f $(BUILD_SCRIPTS_DIR)/*.1 + mkdir -p build/man + for f in $(BUILD_SCRIPTS_DIR)/*; do \ + fn=$${f##*/}; \ + PYTHONPATH=$(BUILD_PYTHONPATH) help2man -N -S mlpy -s 1 \ + -n "Command line interface to $${fn} in mlpy (version $(MLPY_VERSION))" \ + --version-string=$(MLPY_VERSION) $$f >| build/man/$${fn}.1;\ + done + touch $@ + +clean:: + -rm -rf build docs/build doc-stamp man-stamp + +build/python-mlpy:: man +build/python-mlpy-doc:: doc + +# use jquery from Debian package +# symlinked by debhelper +install/python-mlpy-doc:: + -rm docs/build/html/_static/jquery.js + +install/python-mlpy-lib:: + # move libraries into the python-mlpy-lib package + for lib in $$(find debian/python-mlpy/usr -name '*.so'); do \ + sdir=$$(dirname $$lib) ; \ + tdir=debian/python-mlpy-lib/$${sdir#*python-mlpy/} ; \ + mkdir -p $$tdir ; \ + echo "Moving '$$lib' into '$$tdir'." ; \ + mv $$lib $$tdir ; \ + done + +# we need to move libraries away first, hence dependence on -lib +# Also without this step, movemodules from pysupport would not +# move arch-indep part of the module under pyshared +install/python-mlpy:: install/python-mlpy-lib + +# install directly into package directory (despite multiple packages) +DEB_DESTDIR = $(CURDIR)/debian/python-mlpy +# immediately useable documentation +# and exemplar data (they are small excerpts anyways) +DEB_COMPRESS_EXCLUDE := .py .pdf .html .css .jpg .txt .js .json .rtc .par .bin +# Man pages +DEB_INSTALL_MANPAGES_python-mlpy := build/man/*.1 +# -doc package contents +ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) +DEB_INSTALL_DOCS_python-mlpy-doc := docs/build/html docs/build/latex/mlpy.pdf +endif + --- mlpy-2.2.0~dfsg1.orig/debian/gbp.conf +++ mlpy-2.2.0~dfsg1/debian/gbp.conf @@ -0,0 +1,25 @@ +[DEFAULT] +# the default build command: +builder = debuild -i'\.(git\.*|gbp.conf|gitignore)' +# the default clean command: +cleaner = fakeroot debian/rules clean +# the default branch for upstream sources: +upstream-branch = master-dfsg +# the default branch for the debian patch: +debian-branch = debian-release +# the default tag formats used: +upstream-tag = upstream/%(version)s +debian-tag = debian/%(version)s + +# Options only affecting git-buildpackage +[git-buildpackage] +# ignore some any non-gitted files +ignore-new = True +#upstream-branch = dfsgclean +# uncomment this to automatically GPG sign tags +sign-tags = True +# use this for more svn-buildpackage like bahaviour: +export-dir = ../build-area/ +tarball-dir = ../tarballs/ + + --- mlpy-2.2.0~dfsg1.orig/debian/pyversions +++ mlpy-2.2.0~dfsg1/debian/pyversions @@ -0,0 +1 @@ +2.4- --- mlpy-2.2.0~dfsg1.orig/debian/watch +++ mlpy-2.2.0~dfsg1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="dversionmangle=s/~dfsg\d+$//" \ +https://mlpy.fbk.eu/wiki/MlpyDownloads https://mlpy.fbk.eu/download/src/MLPY-([\d\.]*)\.tar\.gz