summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2014-06-14 13:34:18 +0200
committerYaroslav Halchenko <debian@onerussian.com>2014-06-14 13:34:18 +0200
commit9f010b1561421d8b3e128e07b50de9919955f258 (patch)
tree8b692a5cc9abe7024da3a6809f5c5dc5b7c6b7b6 /debian
nitime (0.5-1) unstable; urgency=medium
* New release - does not ship sphinxext/inheritance_diagram.py any longer (Closes: #706533) * debian/copyright - extended to cover added 3rd party snippets and updated years * debian/watch - updated to use githubredir.debian.net service * debian/patches - debian/patches/up_version_info_python2.6 for compatibility with python2.6 (on wheezy etc) # imported from the archive
Diffstat (limited to 'debian')
-rw-r--r--debian/blends9
-rw-r--r--debian/changelog82
-rw-r--r--debian/compat1
-rw-r--r--debian/control47
-rw-r--r--debian/copyright124
-rw-r--r--debian/docs2
-rw-r--r--debian/gbp.conf18
-rw-r--r--debian/patches/deb_no_sources_for_docs12
-rw-r--r--debian/patches/series2
-rw-r--r--debian/patches/up_version_info_python2.622
-rw-r--r--debian/python-nitime-doc.doc-base9
-rw-r--r--debian/python-nitime-doc.docs1
-rw-r--r--debian/python-nitime-doc.links1
-rw-r--r--debian/python-nitime.install1
-rwxr-xr-xdebian/rules61
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
17 files changed, 397 insertions, 0 deletions
diff --git a/debian/blends b/debian/blends
new file mode 100644
index 0000000..de60ff9
--- /dev/null
+++ b/debian/blends
@@ -0,0 +1,9 @@
+Format: extended
+Tasks: debian-med/imaging-dev
+Depends: python-nitime
+Language: Python
+
+Tasks: debian-med/imaging
+Recommends: python-nitime
+Why: Although listed in -dev task, it also has a strong focus on interactive
+ data analysis.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bdc7a97
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,82 @@
+nitime (0.5-1) unstable; urgency=medium
+
+ * New release
+ - does not ship sphinxext/inheritance_diagram.py any longer
+ (Closes: #706533)
+ * debian/copyright
+ - extended to cover added 3rd party snippets and updated years
+ * debian/watch
+ - updated to use githubredir.debian.net service
+ * debian/patches
+ - debian/patches/up_version_info_python2.6 for compatibility with
+ python2.6 (on wheezy etc)
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Sat, 14 Jun 2014 07:34:18 -0400
+
+nitime (0.4-2) unstable; urgency=low
+
+ * Added graphviz to Build-Depends (Closes: #608908)
+ Sorry that I have missed in -1 upload
+ * Adding additional cleaning to assure pristine state for source
+ package rebuilding (Closes: #643226, original report was about version.py
+ being modified -- seems to be not the case any longer)
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Wed, 20 Jun 2012 09:01:35 -0400
+
+nitime (0.4-1) unstable; urgency=low
+
+ * New upstream release
+ - fix commit for lazyimports pickling
+ - compatible with scipy 0.10 API breakage (Closes: #671978)
+ * debian/control:
+ - added XS-Python-Version >= 2.6 (for squeeze backports)
+ - reindented/untabified *Depends
+ - boosted policy compliance to 3.9.3 (no further changes)
+ - upcased Depends in ${python:Depends}. Hopefully finally it
+ (Closes: #614220)
+ * debian/copyright:
+ - updated years and fixed for DEP5 compliance
+ * debian/rules
+ - disable test_lazy_reload test (known to fail whenever ran by nosetest)
+ - export HOME=$(CURDIR)/build just to avoid possible FTBFs
+ * debian/watch
+ - adjusted to fetch from tags
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Wed, 06 Jun 2012 16:04:24 -0400
+
+nitime (0.3.1-1) unstable; urgency=low
+
+ * Fresh bugfix release: addresses compatibility concerns allowing easy
+ backporting
+ * CP commit to fixup __version__ to report 0.3.1 instead of 0.4.dev
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Wed, 17 Aug 2011 17:35:17 -0400
+
+nitime (0.3-1) UNRELEASED; urgency=low
+
+ * Fresh upstream release
+ * Adjusted debian/watch and added a rudimentary get-orig-source which
+ uses uscan to fetch tarballs from github
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Mon, 15 Aug 2011 16:29:48 -0400
+
+nitime (0.2.99-1) unstable; urgency=low
+
+ * Pre-0.3 snapshot release
+ * Boost policy compliance to 3.9.2 (no changes due)
+ * Assure off-screen backend (Agg) for matplotlib while building docs
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Sun, 29 May 2011 21:48:41 -0400
+
+nitime (0.2-2) unstable; urgency=low
+
+ * Proper casing in ${python:depends} (Closes: #614220).
+ Thanks Jakub Wilk for the report and for the fix
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Sun, 20 Feb 2011 09:40:41 -0500
+
+nitime (0.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #600714)
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Fri, 22 Oct 2010 14:32:15 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ac60d05
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: nitime
+Section: python
+Priority: extra
+Maintainer: NeuroDebian Team <team@neuro.debian.net>
+Uploaders: Yaroslav Halchenko <debian@onerussian.com>, Michael Hanke <michael.hanke@gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), python-all, python-support,
+ python-numpy,
+ python-scipy,
+ python-matplotlib, python-tk,
+ python-sphinx,
+ python-nose,
+ python-networkx,
+ python-nibabel,
+ graphviz,
+Standards-Version: 3.9.3
+XS-Python-Version: >= 2.6
+Homepage: http://nipy.org/nitime
+Vcs-Git: git://github.com/yarikoptic/nitime.git
+Vcs-Browser: http://github.com/yarikoptic/nitime
+
+Package: python-nitime
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
+ python-numpy, python-scipy
+Recommends: python-matplotlib,
+ python-nose,
+ python-nibabel,
+ python-networkx
+Description: timeseries analysis for neuroscience data (nitime)
+ Nitime is a Python module for time-series analysis of data from
+ neuroscience experiments. It contains a core of numerical algorithms
+ for time-series analysis both in the time and spectral domains, a set
+ of container objects to represent time-series, and auxiliary objects
+ that expose a high level interface to the numerical machinery and
+ make common analysis tasks easy to express with compact and
+ semantically clear code.
+
+Package: python-nitime-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, libjs-jquery
+Suggests: python-nitime
+Description: timeseries analysis for neuroscience data (nitime) -- documentation
+ Nitime is a Python module for time-series analysis of data from
+ neuroscience experiments.
+ .
+ This package provides the documentation in HTML format.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..824d75a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,124 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: nitime
+Upstream-Contact: nipy-devel@neuroimaging.scipy.org
+Source: http://github.com/nipy/nitime
+
+
+Files: *
+Copyright: 2006-2014, NIPY Developers
+License: BSD-3
+
+Files: doc/sphinxext/*
+Copyright: 2007-2009, Stefan van der Walt and Sphinx team
+License: BSD-3
+
+Files: nitime/tests/decotest.py
+Copyright: 2009, The IPython Development Team
+License: BSD-3
+
+Files: nitime/_mpl_units.py
+Copyright: 2012-2013, Matplotlib Development Team
+License: PSF-Matplotlib-license
+Comment: for compatibility with older matplotlib versions
+
+Files: nitime/six.py
+Copyright: 2010-2013, Benjamin Peterson
+License: Expat
+
+Files: debian/*
+Copyright: 2010-2014, Yaroslav Halchenko <debian@onerussian.com>
+License: BSD-3
+
+
+License: BSD-3
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * 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.
+ * Neither the name of the NIPY Developers nor the names of any
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+ .
+ 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
+ OWNER 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.
+
+License: PSF-Matplotlib-license
+ 1. This LICENSE AGREEMENT is between the Matplotlib Development Team
+ ("MDT"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using matplotlib software in source or binary form and its
+ associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, MDT
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide license
+ to reproduce, analyze, test, perform and/or display publicly, prepare
+ derivative works, distribute, and otherwise use matplotlib 1.3.1
+ alone or in any derivative version, provided, however, that MDT's
+ License Agreement and MDT's notice of copyright, i.e., "Copyright (c)
+ 2012-2013 Matplotlib Development Team; All Rights Reserved" are retained in
+ matplotlib 1.3.1 alone or in any derivative version prepared by
+ Licensee.
+ .
+ 3. In the event Licensee prepares a derivative work that is based on or
+ incorporates matplotlib 1.3.1 or any part thereof, and wants to
+ make the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to matplotlib 1.3.1.
+ .
+ 4. MDT is making matplotlib 1.3.1 available to Licensee on an "AS
+ IS" basis. MDT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, MDT MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 1.3.1
+ WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. MDT SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
+ 1.3.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
+ LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
+ MATPLOTLIB 1.3.1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
+ THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between MDT and
+ Licensee. This License Agreement does not grant permission to use MDT
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using matplotlib 1.3.1,
+ Licensee agrees to be bound by the terms and conditions of this License
+ Agreement.
+
+License: Expat
+ 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/docs b/debian/docs
new file mode 100644
index 0000000..fa6b147
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.txt
+README.txt
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..0e3ce00
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,18 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian
+upstream-tag = %(version)s
+debian-tag = debian/%(version)s
+
+# Options only affecting git-buildpackage
+[git-buildpackage]
+# ignore some any non-gitted files
+ignore-new = True
+#upstream-branch = dfsgclean
+# uncomment this to automatically GPG sign tags
+sign-tags = True
+# use this for more svn-buildpackage like bahaviour:
+export-dir = ../build-area/
+tarball-dir = ../tarballs/
+
+
diff --git a/debian/patches/deb_no_sources_for_docs b/debian/patches/deb_no_sources_for_docs
new file mode 100644
index 0000000..d95e4a6
--- /dev/null
+++ b/debian/patches/deb_no_sources_for_docs
@@ -0,0 +1,12 @@
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -131,6 +131,9 @@ today_fmt = '%B %d, %Y, %H:%M PDT'
+ # for source files.
+ exclude_trees = ['_build']
+
++# If true, the reST sources are included in the HTML build as _sources/<name>.
++html_copy_source = False
++
+ # The reST default role (used for this markup: `text`) to use for all documents.
+ #default_role = None
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2ce853c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+deb_no_sources_for_docs
+up_version_info_python2.6
diff --git a/debian/patches/up_version_info_python2.6 b/debian/patches/up_version_info_python2.6
new file mode 100644
index 0000000..7cf84f7
--- /dev/null
+++ b/debian/patches/up_version_info_python2.6
@@ -0,0 +1,22 @@
+diff --git a/nitime/tests/test_lazy.py b/nitime/tests/test_lazy.py
+index 70a9cda..bbb874f 100644
+--- a/nitime/tests/test_lazy.py
++++ b/nitime/tests/test_lazy.py
+@@ -28,11 +28,13 @@ def test_lazy_noreload():
+ mod = l.LazyImport('sys')
+ # accessing module dictionary will trigger an import
+ len(mod.__dict__)
+- if sys.version_info.major == 2:
++ # do not use named tuple feature for Python 2.6 compatibility
++ major, minor = sys.version_info[:2]
++ if major == 2:
+ npt.assert_raises(ImportError, reload, mod)
+- elif sys.version_info.major == 3:
++ elif major == 3:
+ import imp
+- if sys.version_info.minor == 2:
++ if minor == 2:
+ npt.assert_raises(ImportError, imp.reload, mod)
+- elif sys.version_info.minor == 3:
++ elif minor == 3:
+ npt.assert_raises(TypeError, imp.reload, mod)
diff --git a/debian/python-nitime-doc.doc-base b/debian/python-nitime-doc.doc-base
new file mode 100644
index 0000000..e3769c6
--- /dev/null
+++ b/debian/python-nitime-doc.doc-base
@@ -0,0 +1,9 @@
+Document: nitime
+Title: NiTime Manual
+Author: NiPy Developers
+Abstract: This manual provides Nitime user guide, examples, and developers reference.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/python-nitime-doc/html/index.html
+Files: /usr/share/doc/python-nitime-doc/html/*.html
diff --git a/debian/python-nitime-doc.docs b/debian/python-nitime-doc.docs
new file mode 100644
index 0000000..7123782
--- /dev/null
+++ b/debian/python-nitime-doc.docs
@@ -0,0 +1 @@
+doc/_build/html
diff --git a/debian/python-nitime-doc.links b/debian/python-nitime-doc.links
new file mode 100644
index 0000000..9f118e4
--- /dev/null
+++ b/debian/python-nitime-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/python-nitime-doc/html/_static/jquery.js
diff --git a/debian/python-nitime.install b/debian/python-nitime.install
new file mode 100644
index 0000000..326a444
--- /dev/null
+++ b/debian/python-nitime.install
@@ -0,0 +1 @@
+debian/tmp/usr/* usr/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..93dce87
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+PACKAGE_NAME = python-nitime
+PACKAGE_ROOT_DIR = debian/${PACKAGE_NAME}
+INSTALL_PATH = $(CURDIR)/debian/tmp
+
+# default Python
+PYTHON=$(shell pyversions -d)
+
+# override matplotlib config directory
+export MPLCONFIGDIR=$(CURDIR)/build
+export HOME=$(CURDIR)/build
+
+%:
+ dh $@
+
+override_dh_auto_test:
+ : # Do not test just after build, lets install and then test
+
+override_dh_auto_install:
+ dh_auto_install
+
+ mkdir -p $(MPLCONFIGDIR) # just in case
+ echo "backend : Agg" >| $(MPLCONFIGDIR)/matplotlibrc
+ : # Prune duplicate LICENSE file
+ find debian/ -name LICENSE -delete
+ : # Only now lets build docs
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+ export PYTHONPATH=$$(/bin/ls -d $(INSTALL_PATH)/usr/lib/$(PYTHON)/*-packages); \
+ $(MAKE) -C doc html
+ -rm doc/_build/html/_static/jquery.js
+ -rm -r doc/_build/html/_sources
+ : # objects inventory is of no use for the package
+ -rm doc/_build/html/objects.inv
+endif
+
+# All tests later on
+# cd build to prevent use of local/not-built source tree
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ cd build; \
+ for PYTHON in $(shell pyversions -r); do \
+ echo "I: Running NiTime unittests using $$PYTHON"; \
+ PYTHONPATH=$$(/bin/ls -d $(INSTALL_PATH)/usr/lib/$$PYTHON/*-packages) \
+ MPLCONFIGDIR=/tmp/ \
+ $$PYTHON /usr/bin/nosetests --exclude=test_lazy_reload nitime; \
+ done
+endif
+
+## immediately useable documentation
+## and exemplar data (they are small excerpts anyway)
+override_dh_compress:
+ dh_compress -X.py -X.html -X.css -X.jpg -X.txt -X.js -X.json -X.rtc -X.par -X.bin
+
+override_dh_clean:
+ dh_clean
+ @echo "I: Removing other generated material"
+ rm -rf build doc/_build doc/examples/fig doc/api/generated/ doc/examples/*rst
+
+get-orig-source:
+ -uscan --upstream-version 0 --rename
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/watch b/debian/watch
new file mode 100644
index 0000000..f9099e3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts="uversionmangle=s/rc/~rc/g" \
+ http://githubredir.debian.net/github/nipy/nitime/ rel/(.+).tar.gz