[Python-modules-commits] [python-brainstorm] 02/08: Imported Debian patch 0.5-1
Daniel Stender
danstender-guest at moszumanska.debian.org
Sun Mar 13 16:12:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository python-brainstorm.
commit f05aeed968ede7687604082936903e3c9e087f81
Author: Daniel Stender <stender at debian.org>
Date: Sun Mar 13 16:36:01 2016 +0100
Imported Debian patch 0.5-1
---
debian/TODO | 19 +++++++++++++
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 46 +++++++++++++++++++++++++++++++
debian/copyright | 55 ++++++++++++++++++++++++++++++++++++++
debian/python3-brainstorm.doc-base | 11 ++++++++
debian/python3-brainstorm.examples | 2 ++
debian/rules | 20 ++++++++++++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/watch | 3 +++
11 files changed, 164 insertions(+)
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..7cd8f13
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,19 @@
+- build docs with python3-sphinx (fix error on excursion limit)
+
+- examples have py2 shebangs
+
+- test_weight_modifiers.py::test_limit_incoming_weights_squared FAILED
+
+- add pycuda to Recommends or better, Suggests (non-free)
+
+- package scikit-cuda (needed also for running on GPU devices)
+
+- install DEP-8 tests
+
+- expand extended description (add info on GPU processing)
+
+- hardening-no-bindnow _cpuop.cpython-35m-x86_64-linux-gnu.so
+
+- needs dh_numpy3, sequence addon available?
+
+Daniel Stender <stender at debian.org>
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..da3185b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-brainstorm (0.5-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #817890).
+
+ -- Daniel Stender <stender at debian.org> Sun, 13 Mar 2016 16:36:01 +0100
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..42370ae
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: python-brainstorm
+Section: python
+Priority: optional
+Maintainer: Daniel Stender <stender at debian.org>
+Uploaders:
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python3-setuptools,
+ python3-all-dev,
+ python3-six,
+ python3-numpy (>= 1.8),
+ cython3,
+ libopenblas-dev,
+ python3-h5py,
+ python3-pytest,
+ python3-mock,
+# recursion error when build on python3-sphinx
+ python-sphinx,
+ python-pygments,
+ python-sphinx-rtd-theme,
+ python-numpy,
+ python-mock
+Standards-Version: 3.9.7
+Homepage: https://github.com/IDSIA/brainstorm
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-brainstorm.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-brainstorm.git
+X-Python3-Version: >= 3.3
+
+Package: python3-brainstorm
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+ ${sphinxdoc:Depends},
+ libopenblas-base
+Recommends:
+ python3-pygraphviz
+Description: artificial neural network library for Python
+ Brainstorm is an easy-to-use Python library for setting up deep
+ (multiple layered) artificial neural networks which can be employed
+ for setting up advanced machine learning applications like
+ for computer vision tasks, speech recognition and natural language
+ processing.
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..19268e8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: brainstorm
+Upstream-Contact: IDSIA <mailstorm at googlemail.com>
+Source: https://github.com/pinae/MNIST-Brainstorm
+Files-Excluded: .gitignore
+
+Files: *
+Copyright: 2015 IDSIA and various contributors
+ 2014 Anders Boesen Lindbo Larsen
+ 2013-2015 Google Inc., Yangqing Jia, respective contributors
+ 2014 The Regents of the University of California
+License: Expat and BSD-2-Clause
+
+Files: debian/*
+Copyright: 2016 Daniel Stender <stender at debian.org>
+License: Expat
+
+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.
+
+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 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.
\ No newline at end of file
diff --git a/debian/python3-brainstorm.doc-base b/debian/python3-brainstorm.doc-base
new file mode 100644
index 0000000..1bafeab
--- /dev/null
+++ b/debian/python3-brainstorm.doc-base
@@ -0,0 +1,11 @@
+Document: python3-brainstorm
+Title: Documentation of Brainstorm
+Author: Klaus Greff
+Abstract: This document describes the Brainstorm library for Python
+ Brainstorm is a easy-to-use library to set up machine learning applications
+ based on artificial neural networks.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-brainstorm/html/index.html
+Files: /usr/share/doc/python3-brainstorm/html/*.html
diff --git a/debian/python3-brainstorm.examples b/debian/python3-brainstorm.examples
new file mode 100644
index 0000000..814e0d0
--- /dev/null
+++ b/debian/python3-brainstorm.examples
@@ -0,0 +1,2 @@
+examples/*
+data/*
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e3dcd7b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=brainstorm
+
+%:
+ dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="cp -a brainstorm/tests {build_dir}/brainstorm/tests && {interpreter} -Wd -m pytest {build_dir}/brainstorm/tests -v -rs && rm -rf {build_dir}/brainstorm/tests" dh_auto_test || true
+
+override_dh_installchangelogs:
+ dh_installchangelogs HISTORY.rst
+
+override_dh_installdocs:
+ dh_installdocs
+ sphinx-build -N -bhtml docs/ debian/python3-brainstorm/usr/share/doc/python3-brainstorm/html/
+
+override_dh_compress:
+ dh_compress -X.py
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/options b/debian/source/options
new file mode 100644
index 0000000..885842d
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^.+/_cpuop.c|^[^/]+\.egg-info/"
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f8956da
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]+)\.tar\.gz/python-brainstorm-$1.tar.gz/" \
+https://github.com/IDSIA/brainstorm/releases (?:.*/)?v?(\d[\d\.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-brainstorm.git
More information about the Python-modules-commits
mailing list