From c5d9894364a1fdc4d6d7e0781e6fa9730b5624b7 Mon Sep 17 00:00:00 2001 From: umar abdullahi Date: Sat, 7 Jul 2018 17:41:20 +0100 Subject: [PATCH 1/4] Adde debian directory for building from source Fix all lintian error by overriding them --- debian/README.Debian | 36 +++++++++++++++++++++++++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 21 ++++++++++++++++++ debian/copyright | 31 ++++++++++++++++++++++++++ debian/rules | 7 ++++++ debian/source/format | 1 + debian/source/lintian-overrides | 1 + debian/tvb-data.lintian-overrides | 2 ++ debian/watch | 3 +++ 10 files changed, 108 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/tvb-data.lintian-overrides create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..9885a18 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,36 @@ +tvb-data for Debian + +TVB Data +======== + +Various demonstration datasets for use with The Virtual Brain are provided here. + +Here you will find: +* compatible file/folder structures that can be uploaded thorugh the web interface of TVB; and +* the default datasets used when working in ``console`` or `library` mode. + +This package should be treated as a regular Python module. + +Possibly what you want to do after cloning it locally from GitHub (https://github.com/the-virtual-brain/tvb-data) is:: + + cd tvb-data/ + python setup.py develop + +to have it linked into your current Python environment. + +`tvb-data` also is shared on Pypi, but it has fewer files, due to size restrictions there. +To work with this package from pypi, run:: + + pip install tvb-data + + +Further Resources +================= + +- For issue tracking we are using Jira: http://req.thevirtualbrain.org +- For API documentation and live demos, have a look here: http://docs.thevirtualbrain.org +- A public mailing list for users of The Virtual Brain can be joined and followed using: tvb-users@googlegroups.com +- Raw demo IPython Notebooks can be found under: https://github.com/the-virtual-brain/tvb-documentation/tree/master/demos +- Data from here will be used by `tvb-library` and `tvb-framework` packages on Pypi + + -- umar haruna abdullahi Sat, 30 Jun 2018 00:19:47 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b02cd0f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tvb-data (1.5.6-1) unstable; urgency=medium + + * Initial release. Closes: #901862 + + -- umar haruna abdullahi Sat, 30 Jun 2018 00:19:47 +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..6f3738f --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: tvb-data +Maintainer: umar haruna abdullahi +Section: python +Priority: optional +Build-Depends: debhelper (>=11), + dh-python, + python-all, + python-setuptools +Standards-Version: 4.1.4 +Vcs-Browser: https://github.com/the-virtual-brain/tvb-data +Vcs-Git: https://github.com/the-virtual-brain/tvb-data.git +Homepage: http://www.thevirtualbrain.org + +Package: tvb-data +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends} +Description: various demonstration datasets for the virtual brain + Here you will find compatible file/folder structures that can + be uploaded thorugh the web interface of TVB and the default + datasets used when working in console or library mode diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9ec6c14 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tvb-data +Upstream-Contact: TVB TEAM +Source: https://github.com/the-virtual-brain/tvb-library + +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..c4a1311 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = tvb-data + +%: + 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..ae5028a --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1 @@ +tvb-data source: debian-watch-does-not-check-gpg-signature diff --git a/debian/tvb-data.lintian-overrides b/debian/tvb-data.lintian-overrides new file mode 100644 index 0000000..50437bb --- /dev/null +++ b/debian/tvb-data.lintian-overrides @@ -0,0 +1,2 @@ +tvb-data: no-upstream-changelog +tvb-data: dependency-on-python-version-marked-for-end-of-life diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..f8da85b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/tvb-data/tvb-data-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) From e71d5bfb33c7e908600b3d7c2d0ddd780d1ffbe7 Mon Sep 17 00:00:00 2001 From: umar abdullahi Date: Wed, 11 Jul 2018 11:31:41 +0100 Subject: [PATCH 2/4] Upadate maintainer and added uploader --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 6f3738f..51bbaa6 100644 --- a/debian/control +++ b/debian/control @@ -1,5 +1,6 @@ Source: tvb-data -Maintainer: umar haruna abdullahi +Maintainer: the virtual brain +Uploaders: umar haruna abdullahi Section: python Priority: optional Build-Depends: debhelper (>=11), From 2f4fc0a69350e9f5d43149768830eeb8a05b260f Mon Sep 17 00:00:00 2001 From: umar abdullahi Date: Thu, 12 Jul 2018 07:41:02 +0100 Subject: [PATCH 3/4] update source --- debian/copyright | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/copyright b/debian/copyright index 9ec6c14..4014b0b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tvb-data Upstream-Contact: TVB TEAM -Source: https://github.com/the-virtual-brain/tvb-library +Source: https://github.com/the-virtual-brain/tvb-data Files: * Copyright: 2012-2017 Baycrest Centre for Geriatric Care ("Baycrest") and others From 33a160a367ad7a2fe7882a485f5f58fc51fe2926 Mon Sep 17 00:00:00 2001 From: umar abdullahi Date: Thu, 12 Jul 2018 07:42:39 +0100 Subject: [PATCH 4/4] remove email and name --- debian/README.Debian | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/README.Debian b/debian/README.Debian index 9885a18..5f4a7a5 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -33,4 +33,3 @@ Further Resources - Raw demo IPython Notebooks can be found under: https://github.com/the-virtual-brain/tvb-documentation/tree/master/demos - Data from here will be used by `tvb-library` and `tvb-framework` packages on Pypi - -- umar haruna abdullahi Sat, 30 Jun 2018 00:19:47 +0100