[lua-torch-nngraph] 02/02: initialize packaging

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat Aug 20 15:08:01 UTC 2016


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

cdluminate-guest pushed a commit to branch master
in repository lua-torch-nngraph.

commit a0a1c260ec18d207c3c2e0f5b7a0388bb67f4a08
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Mon Aug 15 12:34:41 2016 +0000

    initialize packaging
---
 debian/changelog              |  5 ++++
 debian/clean                  |  3 ++
 debian/compat                 |  1 +
 debian/control                | 33 ++++++++++++++++++++++
 debian/copyright              | 65 +++++++++++++++++++++++++++++++++++++++++++
 debian/lua-torch-nngraph.docs |  2 ++
 debian/lua5.1.dh-lua.conf     |  4 +++
 debian/rules                  | 12 ++++++++
 debian/source/format          |  1 +
 9 files changed, 126 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5620645
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lua-torch-nngraph (0~20160804-g40e4207-1) experimental; urgency=low
+
+  * Initial release. Closes: #827433
+
+ -- Zhou Mo <cdluminate at gmail.com>  Sun, 14 Aug 2016 13:40:11 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..0da35e9
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,3 @@
+debian/lua-torch-nngraph-dev.install
+debian/lua-torch-nngraph.install
+debian/lua_versions
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..124e2f9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: lua-torch-nngraph
+Section: interpreters
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Zhou Mo <cdluminate at gmail.com>
+Build-Depends: debhelper (>=9),
+               dh-lua,
+# lua-torch-{torch7,nn,graph} are not real B-D, but explicit runtime dependencies
+               lua-torch-torch7,
+               lua-torch-nn,
+               lua-torch-graph,
+Standards-Version: 3.9.8
+Homepage: https://github.com/torch/nngraph
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/lua-torch-nngraph.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/lua-torch-nngraph.git
+
+Package: lua-torch-nngraph
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends},
+         lua5.1 | luajit,
+         lua-torch-torch7,
+         lua-torch-nn,
+         lua-torch-graph,
+Suggests: graphviz
+XB-Lua-Versions: ${lua:Versions}
+Description: Neural Network Graph Package for Torch Framework
+ This package provides graphical computation for `nn` library in Torch.
+ The aim of this library is to provide users of `nn` package with tools to
+ easily create complicated architectures. Any given `nn` `module` is going
+ to be bundled into a graph node. The `__call__` operator of an instance of
+ `nn.Module` is used to create architectures as if one is writing function
+ calls.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6391428
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,65 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: torch/nngraph
+Source: https://github.com/torch/nngraph
+
+Files:     *
+Copyright: 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
+           2006 Idiap Research Institute (Samy Bengio)
+           2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
+           2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
+           2011-2013 NYU (Clement Farabet)
+           2011-2014 Idiap Research Institute (Ronan Collobert)
+License:   Torch_BSD-3-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.
+ .
+ 3. Neither the names of NEC Laboratories American and IDIAP Research
+ Institute 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 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.
+
+Files:     debian/*
+Copyright: 2016 Zhou Mo <cdluminate at gmail.com>
+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:
+ 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.
+ 3. Neither the name of the University 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 HOLDERS 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/lua-torch-nngraph.docs b/debian/lua-torch-nngraph.docs
new file mode 100644
index 0000000..b3f4d9c
--- /dev/null
+++ b/debian/lua-torch-nngraph.docs
@@ -0,0 +1,2 @@
+README.md
+doc/
diff --git a/debian/lua5.1.dh-lua.conf b/debian/lua5.1.dh-lua.conf
new file mode 100644
index 0000000..f2f7eb0
--- /dev/null
+++ b/debian/lua5.1.dh-lua.conf
@@ -0,0 +1,4 @@
+PKG_NAME=torch-nngraph
+LUA_MODNAME=
+LUA_VERSION=5.1
+LUA_SOURCES=$(wildcard nngraph/*.lua)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d06c5a2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_configure:
+	ln -s . nngraph
+	dh_auto_configure
+
+override_dh_auto_clean:
+	-$(RM) -rf 5.1-torch-nngraph 5.2-torch-nngraph debian/trash nngraph
+	dh_auto_clean
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)

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



More information about the debian-science-commits mailing list