summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-01-20 14:07:39 +0100
committerGard Spreemann <gspr@nonempty.org>2020-01-20 14:07:39 +0100
commitabc441b00f0fe2fa4ef0efc4e1aa67b27cca9a13 (patch)
treedca5e7a144e86c4c39819d7c9477acda696e8f53
parent9b9002fdabe58ca4bcdb40685b6bd0dd6e4dbf8c (diff)
Initial packaging.
-rw-r--r--debian/compat1
-rw-r--r--debian/control28
-rw-r--r--debian/copyright31
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
5 files changed, 70 insertions, 0 deletions
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 <gspr@nonempty.org>
+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 <gspr@nonempty.org>
+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)