[theano] 01/01: Imported Debian patch 0.7-1~exp1

Daniel Stender danstender-guest at moszumanska.debian.org
Thu Feb 25 18:37:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

danstender-guest pushed a commit to branch master
in repository theano.

commit 4a5a12bb71b9353f4b4403340c9163598a94d259
Author: Daniel Stender <debian at danielstender.com>
Date:   Thu Feb 25 19:28:29 2016 +0100

    Imported Debian patch 0.7-1~exp1
---
 debian/changelog                |   5 ++
 debian/compat                   |   1 +
 debian/control                  | 100 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright                |  78 +++++++++++++++++++++++++++++++
 debian/patches/series           |   1 +
 debian/patches/strip-docs.patch |  81 ++++++++++++++++++++++++++++++++
 debian/rules                    |  17 +++++++
 debian/source/format            |   1 +
 debian/source/options           |   1 +
 debian/theano-doc.doc-base      |  11 +++++
 debian/watch                    |   3 ++
 11 files changed, 299 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b8af22f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+theano (0.7-1~exp1) experimental; urgency=medium
+
+  * Initial release (Closes: #576540).
+
+ -- Daniel Stender <debian at danielstender.com>  Thu, 25 Feb 2016 19:28:29 +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..750c163
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,100 @@
+Source: theano
+Section: science
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Daniel Stender <debian at danielstender.com>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python3-all,
+ python-setuptools,
+ python3-setuptools,
+ python3-sphinx,
+ python3-pygments
+Standards-Version: 3.9.7
+Homepage: http://www.deeplearning.net/software/theano/
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/theano.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/theano.git
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+
+# nvidia-cuda-toolkit should be at least Recommends, but it's in Suggests here to
+# keep the package in main (maybe Recommends would justify that, too). As soon
+# as libgpuarray gets available that's going to get added to depends. That
+# package employs the GPU for Theano via OpenCL (alternative backend), then non-free
+# stuff is going to be not needed anymore for GPU accelerated computation at all
+
+Package: python-theano
+Architecture: all
+Section: python
+Depends:
+ ${python:Depends},
+ python-dev,
+ libopenblas-dev,
+ g++,
+ ${misc:Depends}
+Recommends:
+ python-pydot,
+ python-nose,
+ theano-doc
+Suggests:
+ nvidia-cuda-toolkit,
+ python-pycuda
+Description: CPU/GPU math expression compiler for Python
+ Theano is a Python library that allows one to define and evaluate mathematical
+ expressions involving multi-dimensional arrays efficiently. It provides a
+ high-level Numpy like expression language for functional description of
+ calculation, rearranges expressions for speed and stability, and generates
+ native machine instructions for fast calculation. Optionally, highly
+ accelerated computations could be carried out on graphics cards processors.
+ .
+ This package contains Theano for Python 2.
+
+# pycuda is demanded by some tests
+
+Package: python3-theano
+Architecture: all
+Section: python
+Depends:
+ ${python3:Depends},
+ python3-dev,
+ libopenblas-dev,
+ g++,
+ ${misc:Depends}
+Recommends:
+ python3-pydot,
+ python3-nose,
+ theano-doc
+Suggests:
+ nvidia-cuda-toolkit,
+ python3-pycuda
+Description: CPU/GPU math expression compiler for Python 3
+ Theano is a Python library that allows one to define and evaluate mathematical
+ expressions involving multi-dimensional arrays efficiently. It provides a
+ high-level Numpy like expression language for functional description of
+ calculation, rearranges expressions for speed and stability, and generates
+ native machine instructions for fast calculation. Optionally, highly
+ accelerated computations could be carried out on graphics cards processors.
+ .
+ This package contains Theano for Python 3.
+
+Package: theano-doc
+Architecture: all
+Section: doc
+Depends:
+ ${sphinxdoc:Depends},
+ ${misc:Depends}
+Recommends:
+ python-theano,
+ python3-theano
+Description: CPU/GPU math expression compiler for Python (docs)
+ Theano is a Python library that allows one to define and evaluate mathematical
+ expressions involving multi-dimensional arrays efficiently. It provides a
+ high-level Numpy like expression language for functional description of
+ calculation, rearranges expressions for speed and stability, and generates
+ native machine instructions for fast calculation. Optionally, highly
+ accelerated computations could be carried out on graphics cards processors.
+ .
+ This package contains the documentation for Theano.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..11c984b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,78 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: theano
+Upstream-Contact: LISA lab, University of Montreal <theano-dev at googlegroups.com>
+Source: https://github.com/Theano/Theano
+Files-Excluded: .gitignore
+                .mailmap
+		.travis.yml
+		Theano.sln
+		Theano.pyproj
+
+Files: *
+Copyright: 2008-2015 Theano Development Team <theano-dev at googlegroups.com>
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2016 Daniel Stender <debian at danielstender.com>
+License: BSD-3-Clause
+
+Files: theano/misc/cpucount.py
+Copyright: 2006-2008 R. Oudkerk
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ 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 Theano 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 ''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 HOLDERS 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.
+
+Files: theano/compat/six.py
+Copyright: 2010-2012 Benjamin Peterson
+License: Expat
+
+Files: theano/gof/sched.py
+Copyright: 2008-2015 Theano Development Team
+           2012 Oren Tirosh
+License: BSD-3-Clause and 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.
+
+Files: theano/misc/hooks/reindent.py
+Copyright: 2000 Tim Peters
+License: public-domain
+ Released to the public domain, by Tim Peters, 03 October 2000.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..62d4949
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+strip-docs.patch
diff --git a/debian/patches/strip-docs.patch b/debian/patches/strip-docs.patch
new file mode 100644
index 0000000..44cd8f9
--- /dev/null
+++ b/debian/patches/strip-docs.patch
@@ -0,0 +1,81 @@
+Description: strip privacy-breach-generic stuff from docs
+ and disable html_last_updated_fmt for reproducible builds.
+Author: Daniel Stender <debian at danielstender.com>
+Forwarded: not-needed
+
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -120,7 +120,7 @@
+ 
+ # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+ # using the given strftime format.
+-html_last_updated_fmt = '%b %d, %Y'
++#html_last_updated_fmt = '%b %d, %Y'
+ 
+ # If true, SmartyPants will be used to convert quotes and dashes to
+ # typographically correct entities.
+--- a/doc/index.txt
++++ b/doc/index.txt
+@@ -66,21 +66,6 @@
+ 
+ .. only:: html
+ 
+-  Status
+-  ======
+-
+-  .. raw:: html
+-
+-     <a href="http://travis-ci.org/Theano/Theano/builds"><img src="https://secure.travis-ci.org/Theano/Theano.png?branch=master" /></a> 
+-
+-  .. raw:: html
+-
+-     <a href="https://crate.io/packages/Theano/"><img src="https://pypip.in/v/Theano/badge.png" alt="Latest PyPI version" /></a> 
+-
+-  .. raw:: html
+-
+-     <a href="https://crate.io/packages/Theano/"><img src="https://pypip.in/d/Theano/badge.png" alt="Number of PyPI downloads" /></a> 
+-
+ .. _available on PyPI: http://pypi.python.org/pypi/Theano
+ .. _Related Projects: https://github.com/Theano/Theano/wiki/Related-projects
+ 
+--- a/doc/install.txt
++++ b/doc/install.txt
+@@ -199,11 +199,6 @@
+ Bleeding-edge install instructions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 
+-Master Tests Status:
+-
+-.. image:: https://secure.travis-ci.org/Theano/Theano.png?branch=master
+-    :target: http://travis-ci.org/Theano/Theano/builds
+-
+ If you are a developer of Theano, then check out the :ref:`dev_start_guide`.
+ 
+ If you want the bleeding-edge without developing the code you can use pip for
+--- a/doc/.templates/layout.html
++++ b/doc/.templates/layout.html
+@@ -1,24 +1,3 @@
+ {% extends "!layout.html" %}
+ 
+-{%- block extrahead %}
+-{{ super() }}
+-<script type="text/javascript">
+-  var _gaq = _gaq || [];
+-  _gaq.push(['_setAccount', 'UA-168290-9']);
+-  _gaq.push(['_trackPageview']);
+-</script>
+-{% endblock %}
+-
+-{% block footer %}
+-{{ super() }}
+-<script type="text/javascript">
+-  (function() {
+-    var ga = document.createElement('script');
+-    ga.src = ('https:' == document.location.protocol ?
+-              'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+-    ga.setAttribute('async', 'true');
+-    document.documentElement.firstChild.appendChild(ga);
+-  })();
+-</script>
+-{% endblock %}
+ 
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..362282f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+export PYBUILD_NAME=theano
+
+export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/{package} # for now
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+
+override_dh_auto_test:
+	# build-time tests disabled: non-accelerated testing takes veeery long (up to a hour)
+
+override_dh_installdocs:
+	dh_installdocs -A README.txt
+	sphinx-build -N -bhtml doc/ debian/theano-doc/usr/share/doc/theano-doc/html/
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..2fee9db
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="theano/generated_version.py"
\ No newline at end of file
diff --git a/debian/theano-doc.doc-base b/debian/theano-doc.doc-base
new file mode 100644
index 0000000..201b294
--- /dev/null
+++ b/debian/theano-doc.doc-base
@@ -0,0 +1,11 @@
+Document: theano-doc
+Title: Theano documentation
+Author: LISA lab, University of Montreal
+Abstract: Theano (python-theano and python3-theano) is a Python optimizing compiler
+ for evaluating mathematical expressions as native machine instructions and massively
+ accelerated on GPU hardware.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/theano-doc/html/index.html
+Files: /usr/share/doc/theano-doc/html/*.html
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ab8ff29
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]+)\.tar\.gz/theano-$1.tar.gz/" \
+https://github.com/theano/theano/releases (?:.*/)?rel-(\d[\d\.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/theano.git



More information about the debian-science-commits mailing list