...
 
Commits (22)
libmpikmeans (1.5+dfsg-6) unstable; urgency=medium
* Point Vcs-* to Salsa
* Switch to https in Homepage field
* Switch Build-Depends from debhelper to debhelper-compat
* Bump Build-Depends for debhelper-compat to 12
* Remove now obsolete d/compat
* Drop ancient X-Python-Version
* Reduce Priority to optional as per Policy 4.0.1
* Bump Standards-Version to 4.3.0
* d/rules:
- Drop override_dh_strip
It was only needed for the dbgsym migration
- Use DEB_VERSION from dpkg/pkg-info.mk instead of parsing d/changelog
* d/source/lintian-overrides
- Remove tag debian-watch-file-is-missing, it has been re-classified as
experimental
- Add tag python-foo-but-no-python3-foo
* gbp.conf:
- Add pristine-tar, sign-tags options
- Set upstream branch to dfsg
* d/copyright: Switch to https in Format field
* d/tests: Rename ADTTMP to AUTOPKGTEST_TMP
* d/libmpikmeans.symbols: Add Build-Depends-Package field
-- Christian Kastner <ckk@debian.org> Wed, 13 Feb 2019 21:21:27 +0100
libmpikmeans (1.5+dfsg-5) unstable; urgency=medium
* Drop package libmpikmeans-dbg in favor of automatic dbgsym packages as per
......
Source: libmpikmeans
Section: libs
Priority: extra
Priority: optional
Maintainer: Christian Kastner <ckk@debian.org>
Build-Depends:
debhelper (>= 9),
debhelper-compat (= 12),
dh-python,
python-all-dev (>= 2.6.6-3~),
cython,
......@@ -11,11 +11,10 @@ Build-Depends:
libboost-dev,
libboost-filesystem-dev,
libboost-program-options-dev,
Standards-Version: 3.9.8
Homepage: http://mloss.org/software/view/48/
Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/libmpikmeans.git
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/libmpikmeans.git
X-Python-Version: >= 2.5
Standards-Version: 4.3.0
Homepage: https://mloss.org/software/view/48/
Vcs-Git: https://salsa.debian.org/science-team/libocas.git
Vcs-Browser: https://salsa.debian.org/science-team/libocas
Package: libmpikmeans-dev
Section: libdevel
......@@ -90,4 +89,3 @@ Description: Python bindings for MPIKmeans
.
This package contains the Python bindings. Both the old, ctypes-based and the
new, Cython-based interfaces are provided.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: MPIKmeans
Upstream-Contact: Peter Gehler <pgehler@tuebingen.mpg.de>
Source: http://mloss.org/software/view/48/
Source: https://mloss.org/software/view/48/
Comment:
For DFSG purposes, some of the files have been removed from the upstream
source. Specifically, those files were:
......@@ -23,7 +23,7 @@ Copyright: 2011-2015, Christian Kastner <ckk@debian.org>
License: GPL-2+
Files: debian/patches/*
Copyright: 2011-2016, Christian Kastner <ckk@debian.org>
Copyright: 2011-2019, Christian Kastner <ckk@debian.org>
License: Apache-2
License: Apache-2
......
[DEFAULT]
pristine-tar = True
upstream-branch = dfsg
[buildpackage]
upstream-tag = dfsg/%(version)s
sign-tags = True
[pq]
patch-numbers = False
libmpikmeans.so.1 libmpikmeans1 #MINVER#
* Build-Depends-Package: libmpikmeans-dev
(c++)"kmeans_run(double*, double const*, unsigned int*, unsigned int, unsigned int, unsigned int, unsigned int)@Base" 1.5
(c++)"kmeans_error(char*)@Base" 1.5
(c++)"comp_randperm(void const*, void const*)@Base" 1.5
......
......@@ -4,10 +4,12 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# For DEB_VERSION
include /usr/share/dpkg/pkg-info.mk
# Get version numbers for SONAME from changelog
DEBVER = $(shell dpkg-parsechangelog -S Version)
LVER = $(shell echo $(DEBVER) | sed -e 's/\([0-9]*\)\..*/\1/')
LSUBVER = $(shell echo $(DEBVER) | sed -e 's/.*\.\([0-9]*\).*/\1/')
LVER = $(shell echo $(DEB_VERSION) | sed -e 's/\([0-9]*\)\..*/\1/')
LSUBVER = $(shell echo $(DEB_VERSION) | sed -e 's/.*\.\([0-9]*\).*/\1/')
export LVER
export LSUBVER
......@@ -34,6 +36,3 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install -- libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/
override_dh_strip:
dh_strip --dbgsym-migration='libmpikmeans-dbg (<< $(DEBVER)~)'
# Upstream doesn't provide a list of downloads, just a link to the current
# version
libmpikmeans: debian-watch-file-is-missing
# Upstream doesn't provide Python 3 bindings
libmpikmeans: python-foo-but-no-python3-foo
#!/bin/sh
# Run the examples from the man pages. Assumes $ADTTMP is set, see
# Run the examples from the man pages. Assumes $AUTOPKGTEST_TMP is set, see
# /usr/share/doc/autopkgtest/README.package-tests.gz
set -e
# Copy the example data to $ADTTMP, and run the examples.
cp example.txt "$ADTTMP"
cd "$ADTTMP"
# Copy the example data to $AUTOPKGTEST_TMP, and run the examples.
cp example.txt "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
mpi_kmeans --k 2 --data example.txt --output clusters.txt
mpi_assign --data example.txt --cluster clusters.txt --assignment assignment.txt