[lua-torch-sys] 01/01: Initialize packaging

Zhou Mo cdluminate-guest at moszumanska.debian.org
Fri Jun 17 10:05:39 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-sys.

commit 28b3e1b88ea40083a61ca66d06656e057356237f
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Fri Jun 17 10:05:32 2016 +0000

    Initialize packaging
---
 debian/changelog                       |  5 +++
 debian/clean                           |  3 ++
 debian/compat                          |  1 +
 debian/control                         | 22 ++++++++++++
 debian/copyright                       | 65 ++++++++++++++++++++++++++++++++++
 debian/lua-torch-sys.docs              |  1 +
 debian/lua-torch-sys.lintian-overrides |  2 ++
 debian/lua5.1.dh-lua.conf              |  9 +++++
 debian/rules                           | 13 +++++++
 debian/source/format                   |  1 +
 debian/source/local-options            |  2 ++
 11 files changed, 124 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3a55762
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lua-torch-sys (0~20160415-g8d2b8fa-1) experimental; urgency=low
+
+  * Initial release. Closes: #826792
+
+ -- Zhou Mo <cdluminate at gmail.com>  Fri, 03 Jun 2016 14:23:29 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6ad86bf
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,3 @@
+debian/lua-torch-sys-dev.install
+debian/lua-torch-sys.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..c15370f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: lua-torch-sys
+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/sys
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/lua-torch-sys.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/lua-torch-sys.git
+
+Package: lua-torch-sys
+Architecture: any
+Multi-Arch: same
+Depends: lua-torch-paths,
+         lua-torch-torch7,
+         lua5.1 | luajit,
+         ${misc:Depends},
+         ${shlibs:Depends}
+XB-Lua-Versions: ${lua:Versions}
+Description: System Package for Torch Framework
+ This package provides system functionalities for Torch.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..dce5b82
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,65 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: torch/sys
+Source: http://github.com/torch/sys
+
+Files:     *
+Copyright: 
+ Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
+ Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
+ Copyright (c) 2011-2013 NYU (Clement Farabet)
+ .
+ All rights reserved.
+License: 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 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 REGENTS 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 REGENTS 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-sys.docs b/debian/lua-torch-sys.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/lua-torch-sys.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/lua-torch-sys.lintian-overrides b/debian/lua-torch-sys.lintian-overrides
new file mode 100644
index 0000000..f7bd031
--- /dev/null
+++ b/debian/lua-torch-sys.lintian-overrides
@@ -0,0 +1,2 @@
+# this is lua package, that library is not for general purpose.
+lua-torch-sys: package-name-doesnt-match-sonames liblua5.1-torch-sys0
diff --git a/debian/lua5.1.dh-lua.conf b/debian/lua5.1.dh-lua.conf
new file mode 100644
index 0000000..4da899e
--- /dev/null
+++ b/debian/lua5.1.dh-lua.conf
@@ -0,0 +1,9 @@
+PKG_NAME=torch-sys
+LUA_MODNAME=libsys
+LUA_VERSION=5.1
+
+LUA_SOURCES=$(wildcard sys/*.lua)
+LUA_HEADER=
+CLIB_OBJS= sys.lo
+CLIB_CFLAGS= -I$(shell pwd)
+LUA_TEST=
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..20d6d36
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS= hardening=+all
+
+%:
+	dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_configure:
+	ln -s . sys
+	dh_auto_configure
+
+override_dh_auto_clean:
+	-$(RM) -rf paths.h 5.1-torch-sys 5.2-torch-sys debian/trash sys
+	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)
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-sys.git



More information about the debian-science-commits mailing list