[lua-torch-cwrap] 01/01: Initial packaging, release to unstable

Zhou Mo cdluminate-guest at moszumanska.debian.org
Wed Jun 8 05:06:15 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-cwrap.

commit 5b918c0466185df6ff7abb70125f182e3f9d47a1
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed Jun 8 05:05:44 2016 +0000

    Initial packaging, release to unstable
---
 debian/changelog            |  5 ++++
 debian/clean                |  8 ++++++
 debian/compat               |  1 +
 debian/control              | 21 +++++++++++++++
 debian/copyright            | 66 +++++++++++++++++++++++++++++++++++++++++++++
 debian/lua-torch-cwrap.docs |  2 ++
 debian/lua5.1.dh-lua.conf   |  3 +++
 debian/lua5.2.dh-lua.conf   |  1 +
 debian/rules                | 12 +++++++++
 debian/source/format        |  1 +
 debian/source/local-options |  2 ++
 11 files changed, 122 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e296e2b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lua-torch-cwrap (0~20160222-gdbd0a62-1) unstable; urgency=low
+
+  * Initial release. Closes: #826528
+
+ -- Zhou Mo <cdluminate at gmail.com>  Thu, 02 Jun 2016 04:20:04 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..bb0fa84
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,8 @@
+debian/files
+debian/lua-torch-cwrap-dev.install
+debian/lua-torch-cwrap.debhelper.log
+debian/lua-torch-cwrap.install
+debian/lua-torch-cwrap.substvars
+debian/lua-torch-cwrap/
+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..2c6500b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: lua-torch-cwrap
+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
+Standards-Version: 3.9.8
+Homepage: https://github.com/torch/cwrap
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/lua-torch-cwrap.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/lua-torch-cwrap.git
+
+Package: lua-torch-cwrap
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}, lua5.1 | lua5.2
+XB-Lua-Versions: ${lua:Versions}
+Description: CWrap package for Torch Framework
+ The cwrap package helps you to automate the generation of Lua/C wrappers
+ around existing C functions, such that these functions would be callable
+ from Lua. This package is used by the torch package, but does not depend
+ on anything, and could be used by anyone using Lua.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4270e49
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: torch/cwrap
+Source: https://github.com/torch/cwrap
+
+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-LICENSE
+ 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-cwrap.docs b/debian/lua-torch-cwrap.docs
new file mode 100644
index 0000000..b3f4d9c
--- /dev/null
+++ b/debian/lua-torch-cwrap.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..9791f49
--- /dev/null
+++ b/debian/lua5.1.dh-lua.conf
@@ -0,0 +1,3 @@
+PKG_NAME=torch-cwrap
+LUA_MODNAME=cwrap
+LUA_SOURCES=$(wildcard cwrap/*.lua)
diff --git a/debian/lua5.2.dh-lua.conf b/debian/lua5.2.dh-lua.conf
new file mode 120000
index 0000000..ba875b6
--- /dev/null
+++ b/debian/lua5.2.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.dh-lua.conf
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4b9c736
--- /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-cwrap/ 5.2-torch-cwrap/ debian/tmp/ cwrap
+	dh_auto_clean
+
+override_dh_auto_configure:
+	ln -s . cwrap
+	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)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches

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



More information about the debian-science-commits mailing list