summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2019-10-30 12:27:22 +0100
committerGard Spreemann <gspr@nonempty.org>2019-10-30 12:27:22 +0100
commit0ccbdf61cd4d0c2b051f196302b09a5bfd577fba (patch)
tree00819eefb772c8381363d7a552f578487ba7186b
parent3e375a78a75c66da5ca40c2c3758a29adb0d0216 (diff)
Initial Debian packaging.
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control21
-rw-r--r--debian/copyright33
-rw-r--r--debian/ripser.install1
-rwxr-xr-xdebian/rules20
-rw-r--r--debian/source/format1
7 files changed, 82 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9b746ad
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ripser (1.1-1) UNRELEASED; urgency=medium
+
+ * Initial release. (Closes: #943817)
+
+ -- Gard Spreemann <gspr@nonempty.org> Wed, 30 Oct 2019 11:59:50 +0100
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..63fa63a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: ripser
+Section: math
+Priority: optional
+Maintainer: Gard Spreemann <gspr@nonempty.org>
+Build-Depends:
+ debhelper (>= 12)
+Standards-Version: 4.4.0
+Rules-Requires-Root: no
+Homepage: http://ripser.org
+Vcs-Browser: https://git.nonempty.org/debian-ripser
+Vcs-Git: https://git.nonempty.org/debian-ripser -b debian/sid
+
+Package: ripser
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: fast computation of persistent homology of flag complexes
+ Ripser computes persistent homology of flag complexes (such as
+ Vietoris-Rips complexes) only, allowing significant gains in
+ computation time and memory usage over the general situation.
+ .
+ See https://arxiv.org/abs/1908.02518.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..67f7327
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ripser
+Source: http://ripser.org
+License: MIT
+
+Files: *
+Copyright: 2015-2019 Ulrich Bauer
+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.
diff --git a/debian/ripser.install b/debian/ripser.install
new file mode 100644
index 0000000..8dd1c67
--- /dev/null
+++ b/debian/ripser.install
@@ -0,0 +1 @@
+build/* usr/bin/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8ef0cd9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ mkdir -p build
+
+override_dh_auto_build:
+ c++ $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o build/ripser ripser.cpp
+ c++ $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -DUSE_COEFFICIENTS -o build/ripser-coeff ripser.cpp
+
+override_dh_auto_clean:
+ rm -rf build
+ dh_auto_clean
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)