[Pkg-javascript-commits] [science.js] 84/87: Initial Debian packaging

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:12:06 UTC 2016


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

bhuvan-guest pushed a commit to branch master
in repository science.js.

commit 08b09a3109f429f7bf844647599218ba6eb2a1c2
Author: Sunil Mohan Adapa <sunil at medhas.org>
Date:   Sun Dec 4 09:06:23 2016 +0530

    Initial Debian packaging
---
 debian/changelog         |  5 +++++
 debian/compat            |  1 +
 debian/control           | 23 +++++++++++++++++++++++
 debian/copyright         | 41 +++++++++++++++++++++++++++++++++++++++++
 debian/docs              |  1 +
 debian/gbp.conf          |  2 ++
 debian/install           |  3 +++
 debian/rules             | 11 +++++++++++
 debian/source/format     |  1 +
 debian/upstream/metadata |  6 ++++++
 debian/watch             |  6 ++++++
 11 files changed, 100 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..631d1a5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+science.js (1.9.3-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #???)
+
+ -- Sunil Mohan Adapa <sunil at medhas.org>  Sat, 3 Dec 2016 22:14:17 +0530
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..6e02064
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: science.js
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Sunil Mohan Adapa <sunil at medhas.org>
+Section: web
+Priority: optional
+Build-Depends:
+ debhelper (>= 9),
+ dh-buildinfo,
+ node-uglify,
+ node-vows,
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/science.js.git
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/science.js.git
+Homepage: https://github.com/jasondavies/science.js/
+
+Package: libjs-sciencejs
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: JavaScript library for scientific and statistical computing
+ This library contains two modules. science.stats module contains
+ various implementations of statistical methods similar to those
+ provided by R. science.lin contains methods for linear algebra.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d5c387a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: science.js
+Upstream-Contact: Jason Davies <jason at jasondavies.com> (http://www.jasondavies.com/)
+Source: https://github.com/jasondavies/science.js
+
+Files: *
+Copyright: 2011-2015, Jason Davies <jason at jasondavies.com> (http://www.jasondavies.com/)
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016, Sunil Mohan Adapa <sunil at medhas.org>
+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 the copyright holder 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
+ HOLDER 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/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..4e94eb4
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+upstream-tag = v%(version)s
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..a587d84
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+package.json usr/share/javascript/libjs-sciencejs/
+science.v1.js usr/share/javascript/libjs-sciencejs/
+science.v1.min.js usr/share/javascript/libjs-sciencejs/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a72d627
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_test:
+	vows test/env-assert.js test/\*/\*-test.js
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b89c44e
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/jasondavies/science.js/issues
+Bug-Submit: https://github.com/jasondavies/science.js/issues/new
+Name: science.js
+Repository: https://github.com/jasondavies/science.js.git
+Repository-Browse: https://github.com/jasondavies/science.js
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f881cc2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/sciense.js-$1.tar.gz/ \
+https://github.com/jasondavies/science.js/releases \
+.*/archive/v?([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/science.js.git



More information about the Pkg-javascript-commits mailing list