[Pkg-javascript-commits] [node-chroma-js] 02/05: Initial Debian packaging

Ross Gammon ross-guest at moszumanska.debian.org
Tue Dec 20 18:48:47 UTC 2016


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

ross-guest pushed a commit to branch master
in repository node-chroma-js.

commit a8c8dabb98cfce928208550b10cd4271462d86cc
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sat Nov 19 12:48:49 2016 +0100

    Initial Debian packaging
---
 debian/changelog               |  6 +++++
 debian/compat                  |  1 +
 debian/control                 | 33 +++++++++++++++++++++++++
 debian/copyright               | 55 ++++++++++++++++++++++++++++++++++++++++++
 debian/docs                    |  2 ++
 debian/gbp.conf                | 19 +++++++++++++++
 debian/libjs-chroma-js.install |  2 ++
 debian/node-chroma-js.install  |  2 ++
 debian/rules                   | 15 ++++++++++++
 debian/source/format           |  1 +
 debian/tests/control           |  2 ++
 debian/tests/require           |  3 +++
 debian/upstream/metadata       |  6 +++++
 debian/watch                   |  6 +++++
 14 files changed, 153 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ab99db7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-chroma-js (1.1.1+dfsg-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #844229)
+
+ -- Ross Gammon <rosco2 at ubuntu.com>  Sun, 13 Nov 2016 16:26:07 +0100
+
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..0a748b5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: node-chroma-js
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Ross Gammon <rosco2 at ubuntu.com>
+Build-Depends: debhelper (>= 9),
+               dh-buildinfo,
+               nodejs
+Standards-Version: 3.9.8
+Homepage: https://github.com/gka/chroma.js
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-chroma-js.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-chroma-js.git
+
+Package: node-chroma-js
+Architecture: all
+Depends: ${misc:Depends},
+         nodejs
+Description: JavaScript library for color conversions - Node package
+ Chroma.js is a tiny JavaScript library (12kB) for all kinds of color
+ conversions and color scales.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
+Package: libjs-chroma-js
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: JavaScript library for color conversions - Javascript package
+ Chroma.js is a tiny JavaScript library (12kB) for all kinds of color
+ conversions and color scales.
+ .
+ This is the package for the browser-side JavaScript.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2c650f7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: chroma-js
+Upstream-Contact: https://github.com/gka/chroma.js/issues
+Source: https://github.com/gka/chroma.js
+Files-Excluded:
+ chroma.min.js
+ 
+Files: colorbrewer.coffee
+Copyright: 2002 Cynthia Brewer, Mark Harrower, and The 
+	Pennsylvania State University
+License: Apache-2.0
+ ColorBrewer colors for chroma.js
+ .
+ Licensed under the Apache License, Version 2.0 (the "License"); 
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at	
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations under the License.
+
+Files: *
+Copyright: 2011-2015 Gregor Aisch
+License: BSD-3
+
+Files: debian/*
+Copyright: 2016 Ross Gammon <rosco2 at ubuntu.com>
+License: BSD-3
+
+License: BSD-3
+ 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. The name Gregor Aisch may not 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 GREGOR AISCH 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..1fec6a0
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+readme.md
+doc/api.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..462aef2
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,19 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
+
+# Applies to all commands
+sign-tags = True
diff --git a/debian/libjs-chroma-js.install b/debian/libjs-chroma-js.install
new file mode 100644
index 0000000..10f6324
--- /dev/null
+++ b/debian/libjs-chroma-js.install
@@ -0,0 +1,2 @@
+chroma.min.js usr/share/javascript/chroma-js/
+chroma.js usr/share/javascript/chroma-js/
diff --git a/debian/node-chroma-js.install b/debian/node-chroma-js.install
new file mode 100644
index 0000000..0733eb3
--- /dev/null
+++ b/debian/node-chroma-js.install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/chroma-js/
+chroma.js usr/lib/nodejs/chroma-js/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..de57af0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+#override_dh_auto_build:
+
+#override_dh_auto_test:
+
+
+
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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..84341d7
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-chroma-js
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..d4ea412
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('chroma-js');"
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..310c082
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/gka/chroma.js/issues
+Bug-Submit: https://github.com/gka/chroma.js/issues/new
+Name: chroma.js
+Repository: https://github.com/gka/chroma.js.git
+Repository-Browse: https://github.com/gka/chroma.js
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fed19c4
--- /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/node-chroma-js-$1.tar.gz/,\
+repacksuffix=+dfsg \
+ https://github.com/gka/chroma.js/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list