From abc441b00f0fe2fa4ef0efc4e1aa67b27cca9a13 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Mon, 20 Jan 2020 14:07:39 +0100 Subject: Initial packaging. --- debian/compat | 1 + debian/control | 28 ++++++++++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++++++++++++++ debian/rules | 9 +++++++++ debian/source/format | 1 + 5 files changed, 70 insertions(+) create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..477fb1b --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: python-pot +Maintainer: Gard Spreemann +Section: python +Priority: optional +Standards-Version: 4.4.1 +Build-Depends: cython3, + debhelper (>= 12), + dh-python, + python3-all-dev, + python3-numpy, + python3-scipy, + python3-setuptools +Rules-Requires-Root: no +Homepage: https://pypi.org/project/POT/ +Vcs-Browser: https://git.nonempty.org/debian-python-pot +Vcs-Git: https://git.nonempty.org/debian-python-pot -b debian/sid + +Package: python3-pot +Section: python +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Description: Python optimal transport library + Python library with solvers for optimization problems related to + optimal transport in for example signal and image processing, and machine learning. + \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a6f6b1a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pyspike +Source: https://github.com/rflamary/POT/ + +Files: * +Copyright: FIXME +License: MIT + +Files: debian/* +Copyright: 2019 Gard Spreemann +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d04435 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 + +export PYBUILD_NAME = pot + +%: + dh $@ --with python3 --buildsystem=pybuild + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3