[lua-torch-dok] 01/01: d/*: initialize packaging
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sat Aug 20 15:21:29 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-dok.
commit a960dfd233c714221fda6dcd9aa30c303281c4e8
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sat Aug 20 15:20:57 2016 +0000
d/*: initialize packaging
---
debian/changelog | 5 ++++
debian/clean | 4 +++
debian/compat | 1 +
debian/control | 29 +++++++++++++++++++++
debian/copyright | 66 +++++++++++++++++++++++++++++++++++++++++++++++
debian/lua-torch-dok.docs | 3 +++
debian/lua5.1.dh-lua.conf | 4 +++
debian/rules | 12 +++++++++
debian/source/format | 1 +
9 files changed, 125 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2c69826
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lua-torch-dok (0~20160131-g1b36900-1) unstable; urgency=low
+
+ * Initial release. Closes: #827431
+
+ -- Zhou Mo <cdluminate at gmail.com> Mon, 15 Aug 2016 13:26:16 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..5e394da
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,4 @@
+debian/lua-torch-dok-dev.install
+debian/lua-torch-dok.install
+debian/lua_versions
+debian/trash
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..804038f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: lua-torch-dok
+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-sundown is explicit runtime dependency
+ lua-torch-sundown,
+Standards-Version: 3.9.8
+Homepage: https://github.com/torch/dok
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/lua-torch-dok.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/lua-torch-dok.git
+
+Package: lua-torch-dok
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}, lua5.1 | luajit,
+ lua-torch-sundown,
+XB-Lua-Versions: ${lua:Versions}
+Description: Support for the old torch7 dok system
+ This package ships the dok module for Torch Framework.
+ .
+ Apart from that lua module, this package also ships some torch documents,
+ including:
+ * Torch installation guide
+ * Lua introduction
+ * Torch tutorial
+ which can be found under /usr/share/doc/lua-torch-dok/ directory.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..09a3dee
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: torch/dok
+Source: https://github.com/torch/dok
+
+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)
+ 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
+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 Deepmind Technologies, NYU, NEC Laboratories America
+ 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-dok.docs b/debian/lua-torch-dok.docs
new file mode 100644
index 0000000..bb48407
--- /dev/null
+++ b/debian/lua-torch-dok.docs
@@ -0,0 +1,3 @@
+docinstall/
+doclua/
+doctutorial/
diff --git a/debian/lua5.1.dh-lua.conf b/debian/lua5.1.dh-lua.conf
new file mode 100644
index 0000000..1a92f6f
--- /dev/null
+++ b/debian/lua5.1.dh-lua.conf
@@ -0,0 +1,4 @@
+PKG_NAME=torch-dok
+LUA_MODNAME=
+LUA_SOURCES=$(wildcard dok/*.lua)
+LUA_VERSION=5.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1a2c7e1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_clean:
+ -$(RM) -rf 5.1-torch-dok/ 5.2-torch-dok/ debian/tmp/ dok
+ dh_auto_clean
+
+override_dh_auto_configure:
+ ln -s . dok
+ dh_auto_configure
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-dok.git
More information about the debian-science-commits
mailing list