[med-svn] [mne-python] 02/02: Inject first attempt of packaging
Andreas Tille
tille at debian.org
Thu Nov 21 13:13:20 UTC 2013
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository mne-python.
commit 1949ddb287b0e91f465c12dc2a1456af82101308
Author: Andreas Tille <tille at debian.org>
Date: Thu Nov 21 14:14:48 2013 +0100
Inject first attempt of packaging
---
debian/TODO | 4 ++++
debian/changelog | 12 ++++++++++++
debian/compat | 1 +
debian/control | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
debian/pycompat | 1 +
debian/rules | 26 ++++++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 4 ++++
9 files changed, 147 insertions(+)
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..8b0874a
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,4 @@
+# emacs: -*- mode: org; indent-tabs-mode: nil -*-
+
+* provide .doc-base file
+* provide -dbg package
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4df3c1f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+mne-python (0.6-1) UNRELEASED; urgency=low
+
+ * Initial packaging attempt to prepare packaging for 0.7 release
+ * TODO: Tests:
+ debian/rules override_dh_auto_test
+ make[1]: Entering directory `/tmp/buildd/mne-python-0.6'
+ MNE_SKIP_SAMPLE_DATASET_TESTS=true \
+ xvfb-run --auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" \
+ nosetests mne
+
+
+ -- Alexandre Gramfort <alexandre.gramfort at m4x.org> Sun, 27 Oct 2013 21:30:31 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ea97c5d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: mne-python
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Alexandre Gramfort <alexandre.gramfort at m4x.org>
+ Yaroslav Halchenko <debian at onerussian.com>,
+ Michael Hanke <michael.hanke at gmail.com>,
+ Andreas Tille <tille at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ python-all-dev,
+ python-support,
+ python-numpy,
+ python-scipy,
+ python-sphinx (>= 1.0~),
+ python-nose,
+ python-setuptools,
+ python-matplotlib,
+ python-joblib (>= 0.4.5),
+ python-sklearn,
+ xvfb,
+ xauth,
+ libgl1-mesa-dri,
+ help2man,
+ python-coverage
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/debian-med/mne-python.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/mne-python.git
+Homepage: http://martinos.org/mne
+X-Python-Version: >= 2.6
+
+Package: python-mne
+Architecture: all
+Depends: ${misc:Depends},
+ ${python:Depends},
+ python-numpy,
+ python-scipy,
+ python-sklearn,
+ python-matplotlib,
+ python-joblib (>= 0.4.5),
+ xvfb,
+ xauth,
+ libgl1-mesa-dria,
+ help2man
+Recommends: python-nose,
+ mayavi2
+Suggests: python-dap,
+ ipython
+Provides: ${python:Provides}
+Description: Python modules for MEG and EEG data analysis
+ TODO
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7b20db7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,48 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: MNE-Python
+Upstream-Contact: Alexandre Gramfort <alexandre.gramfort at m4x.org>
+Source: http://github.com/mne-tools/mne-python
+
+Files: *
+Copyright: 2010-2013, MNE-Python Developers
+License: BSD-3
+
+Files: doc/sphinxext/*
+Copyright: 2008, Stefan van der Walt <stefan at mentat.za.net>, Pauli Virtanen <pav at iki.fi>
+License: BSD
+ 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.
+
+Files: debian/*
+Copyright: 2010-2013, Yaroslav Halchenko <debian at onerussian.com>, Alexandre Gramfort <alexandre.gramfort at m4x.org>
+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:
+ .
+ a. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ b. 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.
+ c. Neither the name of the MNE Developers nor the names of
+ its 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 REGENTS 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/pycompat b/debian/pycompat
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..42e1e0f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+NOSETESTS=nosetests
+
+%:
+ dh $@ --with python2 --buildsystem python_distutils
+
+override_dh_clean:
+ rm -rf *.egg-info
+ dh_clean
+
+override_dh_auto_test:
+ MNE_SKIP_SAMPLE_DATASET_TESTS=true \
+ xvfb-run --auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" \
+ $(NOSETESTS) mne
+
+manpages:
+ @echo "I: generating manpages"
+ set -e; mkdir -p build/manpages && \
+ cd bin && for f in *; do \
+ descr=$$(grep -h -e "^ *'''" -e 'DESCRIP =' $$f -h | sed -e "s,.*' *\([^'][^']*\)'.*,\1,g" | head -n 1); \
+ PYTHONPATH=../ \
+ help2man -n "$$descr" --no-discard-stderr --no-info --version-string "$(uver)" ./$$f \
+ >| ../build/manpages/$$f.1; \
+ done
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..50d78ab
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts="dversionmangle=s/.dfsg$//,filenamemangle=s/.*v([\d\.]+)\..*/mne-python_$1.orig.tar.gz/" \
+ https://github.com/mne-tools/mne-python/tags .*/archive/v([\d\.a-z]+)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
+
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/mne-python.git
More information about the debian-med-commit
mailing list