diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..9e4f02d --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,31 @@ +tvb-gdist for Debian + +External Library Geodesic +========================= + +The `gdist` module is a Cython interface to a C++ library +(http://code.google.com/p/geodesic/) for computing +geodesic distance which is the length of shortest line between two +vertices on a triangulated mesh in three dimensions, such that the line +lies on the surface. + +The algorithm is due Mitchell, Mount and Papadimitriou, 1987; the implementation +is due to Danil Kirsanov and the Cython interface to Gaurav Malhotra and +Stuart Knock. + + +Original library (published under MIT license): +http://code.google.com/p/geodesic/ + +We added a python wrapped and made small fixes to the original library, to make it compatible with cython. + +To install this, either run `pip install gdist` or download +sources from Github and run `python setup.py install` in current folder. + +Basic test could be:: + + python + import gdist + + +Python 2.7, Cython, and a C++ compiler are required. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b1dd78e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tvb-gdist (1.5.6-1) unstable; urgency=medium + + * Initial release. Closes: #896927 + + -- umar haruna abdullahi Sun, 01 Jul 2018 12:24:32 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7e62480 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: tvb-gdist +Maintainer: the virtual brain +Uploaders: umar haruna abdullahi +Section: python +Priority: optional +Build-Depends: cython, + debhelper (>=11), + dh-python, + python-all, + python-numpy, + python-scipy, + python-setuptools +Standards-Version: 4.1.4.2 +Vcs-Browser: https://github.com/the-virtual-brain/tvb-geodesic +Vcs-Git: https://github.com/the-virtual-brain/tvb-geodesic.git +Homepage: http://www.thevirtualbrain.org + +Package: tvb-gdist +Architecture: any +Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} +Description: gdist module is a Cython interface + computing geodesic distance which is the length of shortest + line between two vertices on a triangulated mesh in three + dimensions, such that the line lies on the surface diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c2434ab --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tvb-library +Upstream-Contact: TVB TEAM +Source: https://github.com/the-virtual-brain/tvb-geodesic + +Files: * +Copyright: 2012-2017 Baycrest Centre for Geriatric Care ("Baycrest") and others +License: GPL-3.0+ + +Files: debian/* +Copyright: 2018 Baycrest Centre for Geriatric Care ("Baycrest") and others +License: GPL-3.0+ + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + This program is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the GNU General Public License for more details. + You should have received a copy of the GNU General Public License along with this + program. If not, see . + . + When using The Virtual Brain for scientific publications, please cite it as follows: + Paula Sanz Leon, Stuart A. Knock, M. Marmaduke Woodman, Lia Domide, + Jochen Mersmann, Anthony R. McIntosh, Viktor Jirsa (2013) + The Virtual Brain: a simulator of primate brain network dynamics. + Frontiers in Neuroinformatics (7:10. doi: 10.3389/fninf.2013.00010) + . + On Debian systems, the complete text of the GNU General Public License + Version 3 can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..5f16329 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = tvb-gdist +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 + +include /usr/share/dpkg/buildflags.mk + +%: + dh $@ --with python2 --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) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..7d2edfc --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1 @@ +tvb-gdist source: debian-watch-does-not-check-gpg-signature diff --git a/debian/tvb-gdist.lintian-overrides b/debian/tvb-gdist.lintian-overrides new file mode 100644 index 0000000..eec8f18 --- /dev/null +++ b/debian/tvb-gdist.lintian-overrides @@ -0,0 +1,2 @@ +tvb-gdist: no-upstream-changelog +tvb-gdist: dependency-on-python-version-marked-for-end-of-life diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..82af55f --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/tvb-gdist/tvb-gdist-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))