[Pkg-javascript-commits] [d3-tip.js] 273/277: Initial Debian packaging

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


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

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

commit 35382bf8bc360c5d594ede12326137cbdb221329
Author: Sunil Mohan Adapa <sunil at medhas.org>
Date:   Sun Dec 4 10:19:44 2016 +0530

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

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eab51cc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+d3-tip (0.7.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #???)
+
+ -- Sunil Mohan Adapa <sunil at medhas.org>  Sun, 4 Dec 2016 09:53: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..a927009
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: d3-tip
+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,
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/d3-tip.git
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/d3-tip.git
+Homepage: https://github.com/Caged/d3-tip
+
+Package: libjs-d3-tip
+Architecture: all
+Depends:
+ ${misc:Depends},
+ libjs-d3,
+Description: Tooltips for d3.js visualizations
+ This javascript library provides tooltips for d3.js visualizations
+ such as bar charts.  The tooltips show value at the selection and
+ label for the unit.  They can be styled, shown, hidden, positioned
+ and updated.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..65b7c18
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: d3-tip
+Upstream-Contact: Justin Palmer <justin at labratrevenge.com> (http://labratrevenge.com/d3-tip)
+Source: https://github.com/Caged/d3-tip
+
+Files: *
+Copyright: 2012-2016, Justin Palmer <justin at labratrevenge.com> (http://labratrevenge.com/d3-tip)
+License: Expat
+
+Files: debian/*
+Copyright: 2016, Sunil Mohan Adapa <sunil at medhas.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..3e1760a
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+README.md
+docs/*.md
+examples
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..3896bf6
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+package.json usr/share/javascript/libjs-d3-tip/
+index.js usr/share/javascript/libjs-d3-tip/
+d3-tip.min.js usr/share/javascript/libjs-d3-tip/
+d3-tip.min.css usr/share/javascript/libjs-d3-tip/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c136b6d
--- /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_build:
+	make UGLIFYJS=/usr/bin/uglifyjs UGLIFYCSS=/bin/cat
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..c00e6f6
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/Caged/d3-tip/issues
+Bug-Submit: https://github.com/jasondavies/science.js/issues/new
+Name: d3-tip
+Repository: https://github.com/Caged/d3-tip.git
+Repository-Browse: https://github.com/Caged/d3-tip
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bd3c70a
--- /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/d3-tip-$1.tar.gz/ \
+https://github.com/Caged/d3-tip/releases \
+.*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list