From d1f42d4be4676d76242e4148c06004cbf0b7cefa Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Wed, 17 Jul 2019 15:32:52 +0200 Subject: Initial commit of Debian packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 31 +++++++++++++++++++++++++++++++ debian/copyright | 36 ++++++++++++++++++++++++++++++++++++ debian/rules | 9 +++++++++ debian/source/format | 1 + 6 files changed, 83 insertions(+) create mode 100644 debian/changelog 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/changelog b/debian/changelog new file mode 100644 index 0000000..3f2ae8e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-pyspike (0.6.0-1) UNRELEASED; urgency=medium + + * Initial release. (Closes: #XXXXXX) + + -- Gard Spreemann Wed, 17 Jul 2019 15:22:14 +0200 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..084fff2 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: python-pyspike +Maintainer: Gard Spreemann +Section: python +Priority: optional +Standards-Version: 4.4.0 +Build-Depends: debhelper (>= 12), + dh-python, + python3-all-dev, + python3-numpy, + python3-setuptools +Rules-Requires-Root: no +Homepage: https://mariomulansky.github.io/PySpike/ +Vcs-Browser: https://git.nonempty.org/debian-python-pyspike +Vcs-Git: https://git.nonempty.org/debian-python-pyspike -b debian/sid + +Package: python3-pyspike +Section: python +Architecture: any +Depends: ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Description: Python 3 library for the numerical analysis of spike train similarity + PySpike is a Python library for the numerical analysis of spike train + similarity. Its core functionality is the implementation of the + ISI-distance and SPIKE-distance as well as SPIKE-Synchronization. It + provides functions to compute multivariate profiles, distance + matrices, as well as averaging and general spike train processing. + . + Mario Mulansky, Thomas Kreuz, PySpike - A Python library for + analyzing spike train synchrony, SoftwareX, (2016), ISSN 2352-7110, + http://dx.doi.org/10.1016/j.softx.2016.07.006. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..819eb43 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pyspike +Source: https://mariomulansky.github.io/PySpike/ + +Files: * +Copyright: 2014 Mario Mulansky +License: BSD-2-clause + +Files: debian/* +Copyright: 2019 Gard Spreemann +License: BSD-2-clause + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY + WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b3a7e6e --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 + +export PYBUILD_NAME = pyspike + +%: + 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