[lasagne] 02/17: Imported Debian patch 0.1+git20160728.8b66737-1
Stephen Sinclair
sinclairs-guest at moszumanska.debian.org
Thu Nov 2 23:24:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
sinclairs-guest pushed a commit to branch master
in repository lasagne.
commit 8182143dd8a9f66d584874325de44d7b12116afc
Author: Daniel Stender <stender at debian.org>
Date: Wed Aug 17 21:51:47 2016 +0200
Imported Debian patch 0.1+git20160728.8b66737-1
---
debian/changelog | 5 ++
debian/clean | 1 +
debian/compat | 1 +
debian/control | 94 ++++++++++++++++++++++++++++++++
debian/copyright | 38 +++++++++++++
debian/lasagne-doc.doc-base | 7 +++
debian/patches/pytest-no-cov-pep8.patch | 18 ++++++
debian/patches/series | 2 +
debian/patches/use-mathjax-package.patch | 17 ++++++
debian/python-lasagne.examples | 1 +
debian/python3-lasagne.examples | 1 +
debian/rules | 26 +++++++++
debian/source/format | 1 +
debian/watch | 3 +
14 files changed, 215 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..40b284a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lasagne (0.1+git20160728.8b66737-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #818641).
+
+ -- Daniel Stender <stender at debian.org> Wed, 17 Aug 2016 21:51:47 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6f8ebe3
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+Lasagne.egg-info/
\ No newline at end of file
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..157aab4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,94 @@
+Source: lasagne
+Maintainer: Daniel Stender <stender at debian.org>
+Section: science
+Priority: optional
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python3-all,
+ python-setuptools,
+ python3-setuptools,
+ python-theano (>= 0.8.0),
+ python3-theano (>= 0.8.0),
+ python-numpy,
+ python3-numpy,
+ python-docutils, links,
+ python-pytest,
+ python3-pytest,
+ python-mock,
+ python3-mock,
+ python-sphinx (>= 1.2.3~),
+ python-numpydoc,
+ python-jinja2 (>= 2.7.3~),
+ python-sphinx-rtd-theme
+Standards-Version: 3.9.8
+Homepage: http://lasagne.readthedocs.org/
+Vcs-Git: https://anonscm.debian.org/git/collab-maint/lasagne.git
+Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/lasagne.git
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
+
+Package: python-lasagne
+Architecture: all
+Section: python
+Depends:
+ python-theano (>= 0.8.0),
+ ${misc:Depends},
+ ${python:Depends}
+Recommends:
+ lasagne-doc
+Description: deep learning library build on the top of Theano (Python2 modules)
+ Lasagne is a Python library to build and train deep (multi-layered) artificial
+ neural networks on the top of Theano (math expression compiler). In comparison
+ to other abstraction layers for that like e.g. Keras, it abstracts Theano as
+ little as possible.
+ .
+ Lasagne supports Convolutional Neural Networks (CNN, mostly used for image
+ recognition resp. classification) and the Long Short-Term Memory type (LSTM, a
+ subtype of Recurrent Neural Networks, RNN)
+ .
+ This package contains the modules for Python 2.
+
+Package: python3-lasagne
+Architecture: all
+Section: python
+Depends:
+ python3-theano (>= 0.8.0),
+ ${misc:Depends},
+ ${python3:Depends}
+Recommends:
+ lasagne-doc
+Description: deep learning library build on the top of Theano (Python3 modules)
+ Lasagne is a Python library to build and train deep (multi-layered) artificial
+ neural networks on the top of Theano (math expression compiler). In comparison
+ to other abstraction layers for that like e.g. Keras, it abstracts Theano as
+ little as possible.
+ .
+ Lasagne supports Convolutional Neural Networks (CNN, mostly used for image
+ recognition resp. classification) and the Long Short-Term Memory type (LSTM, a
+ subtype of Recurrent Neural Networks, RNN)
+ .
+ This package contains the modules for Python 3.
+
+Package: lasagne-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends},
+ ${sphinxdoc:Depends},
+ libjs-mathjax
+Recommends:
+ python-lasagne,
+ python3-lasagne
+Description: deep learning Python library build on the top of Theano (docs)
+ Lasagne is a Python library to build and train deep (multi-layered) artificial
+ neural networks on the top of Theano (math expression compiler). In comparison
+ to other abstraction layers for that like e.g. Keras, it abstracts Theano as
+ little as possible.
+ .
+ Lasagne supports Convolutional Neural Networks (CNN, mostly used for image
+ recognition resp. classification) and the Long Short-Term Memory type (LSTM, a
+ subtype of Recurrent Neural Networks, RNN)
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9926679
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lasagne
+Upstream-Contact: Lasagne contributors <lasagne-users at googlegroups.com>
+Source: https://github.com/Lasagne/Lasagne
+Files-Excluded: .gitignore
+
+Files: *
+Copyright: 2014-2016 Eric Battenberg <ebattenberg at gmail.com>
+ Sander Dieleman <sanderdieleman at gmail.com>
+ Daniel Nouri <daniel.nouri at gmail.com>
+ Eben Olson <eben.olson at gmail.com>
+ Colin Raffel <craffel at gmail.com>
+ Jan Schlüter <github at jan-schlueter.de>
+ Søren Kaae Sønderby <sorensonderby at bn09574.local>
+License: Expat
+
+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.
diff --git a/debian/lasagne-doc.doc-base b/debian/lasagne-doc.doc-base
new file mode 100644
index 0000000..93b3116
--- /dev/null
+++ b/debian/lasagne-doc.doc-base
@@ -0,0 +1,7 @@
+Document: lasagne-documentation
+Title: Documentation of python{,3}-lasagne
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/lasagne-doc/html/index.html
+Files: /usr/share/doc/lasagne-doc/html/*.html
\ No newline at end of file
diff --git a/debian/patches/pytest-no-cov-pep8.patch b/debian/patches/pytest-no-cov-pep8.patch
new file mode 100644
index 0000000..6ac814b
--- /dev/null
+++ b/debian/patches/pytest-no-cov-pep8.patch
@@ -0,0 +1,18 @@
+Description: don't use pytest options from setup.cfg
+ coverage and pep-8 testing not needed, and pytest-pep8 isn't
+ even yet available (#823789).
+Author: Daniel Stender <stender at debian.org>
+Forwarded: not-needed
+Last-Update: 2016-08-18
+
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -1,7 +1,7 @@
+ [aliases]
+ dev = develop easy_install lasagne[testing]
+
+-[pytest]
++[pytest_options_here_are_disabled]
+ addopts =
+ -v --doctest-modules
+ --cov=lasagne --cov-report=term-missing
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..809981b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+pytest-no-cov-pep8.patch
+use-mathjax-package.patch
diff --git a/debian/patches/use-mathjax-package.patch b/debian/patches/use-mathjax-package.patch
new file mode 100644
index 0000000..f8e976b
--- /dev/null
+++ b/debian/patches/use-mathjax-package.patch
@@ -0,0 +1,17 @@
+Description: use libjs-mathjax package, fix of privacy breaches
+Author: Daniel Stender <stender at debian.org>
+Forwarded: not-needed
+Last-Update: 2016-08-18
+
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -40,8 +40,7 @@
+ ]
+
+ # See https://github.com/rtfd/readthedocs.org/issues/283
+-mathjax_path = ('https://cdn.mathjax.org/mathjax/latest/MathJax.js?'
+- 'config=TeX-AMS-MML_HTMLorMML')
++mathjax_path = ('/usr/share/javascript/mathjax/MathJax.js')
+
+ # see http://stackoverflow.com/q/12206334/562769
+ numpydoc_show_class_members = False
diff --git a/debian/python-lasagne.examples b/debian/python-lasagne.examples
new file mode 100644
index 0000000..4cd66f8
--- /dev/null
+++ b/debian/python-lasagne.examples
@@ -0,0 +1 @@
+examples/*
\ No newline at end of file
diff --git a/debian/python3-lasagne.examples b/debian/python3-lasagne.examples
new file mode 100644
index 0000000..4cd66f8
--- /dev/null
+++ b/debian/python3-lasagne.examples
@@ -0,0 +1 @@
+examples/*
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..25a73f1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=lasagne
+export THEANO_FLAGS=base_compiledir='.pybuild',device=cpu
+
+%:
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -rs lasagne/" dh_auto_test || true # 2 fails with Python 3.5 remain
+
+override_dh_auto_install:
+ dh_auto_install
+ PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N docs/ debian/lasagne-doc/usr/share/doc/lasagne-doc/html/
+
+override_dh_installdocs:
+ rst2html -r 5 README.rst .pybuild/README.html
+ LANG=C.UTF-8 links -dump .pybuild/README.html > .pybuild/README
+ dh_installdocs -A .pybuild/README
+
+override_dh_sphinxdoc:
+ dh_sphinxdoc --exclude=MathJax.js
+
+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/watch b/debian/watch
new file mode 100644
index 0000000..639ed21
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="filenamemangle=s/(?:.*/)?v?(\d[\d\.]+)\.tar\.gz/lasagne-$1.tar.gz/" \
+https://github.com/Lasagne/Lasagne/releases (?:.*/)?v?(\d[\d\.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lasagne.git
More information about the debian-science-commits
mailing list