[node-kosmtik] 02/05: Initial debian packaging

Ross Gammon ross-guest at moszumanska.debian.org
Fri Nov 11 17:33:58 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-kosmtik.

commit 34267933944bd87d8b2be6be29cc28d66d9c1ae0
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Thu Nov 10 20:36:01 2016 +0100

    Initial debian packaging
---
 debian/changelog     |  6 ++++++
 debian/compat        |  1 +
 debian/control       | 36 ++++++++++++++++++++++++++++++++++++
 debian/copyright     | 33 +++++++++++++++++++++++++++++++++
 debian/docs          |  1 +
 debian/gbp.conf      | 19 +++++++++++++++++++
 debian/install       |  3 +++
 debian/rules         | 15 +++++++++++++++
 debian/source/format |  1 +
 debian/tests/control |  2 ++
 debian/tests/require |  3 +++
 debian/watch         |  5 +++++
 upstream/metadata    |  6 ++++++
 13 files changed, 131 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..763a448
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-kosmtik (0.0.13-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #805308)
+
+ -- Ross Gammon <rosco2 at ubuntu.com>  Thu, 10 Nov 2016 19:14:01 +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..f626053
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: node-kosmtik
+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,
+               mocha
+Standards-Version: 3.9.8
+Homepage: https://github.com/kosmtik/kosmtik#readme
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-kosmtik.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-kosmtik.git
+
+Package: node-kosmtik
+Architecture: all
+Depends: ${misc:Depends},
+         nodejs,
+         node-json-localizer (>= 0.0.3),
+         node-js-yaml (>= 3.4.2),
+         node-semver (>= 5.0.3),
+         node-request (>= 2.64.0),
+         node-nomnom (>= 1.8.1),
+         node-carto (>= 0.15.2),
+         node-leaflet-hash (>= 0.2.1),
+         node-leaflet-formbuilder (>= 0.2.0),
+         node-leaflet (>= 1.0.0-beta.2),
+         node-generic-pool (>= 2.2.0),
+         node-mapnik (>= 3.4.7)
+Description: Make maps with OpenStreetMap and Mapnik
+ Kosmtik is a very light but extendable mapping framework to create Mapnik
+ ready maps with OpenStreetMap data (and more).
+ .
+ Carto based projects are supported (with .mml or .yml config).
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..95f3673
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: kosmtik
+Upstream-Contact: https://github.com/kosmtik/kosmtik/issues
+Source: https://github.com/kosmtik/kosmtik#readme
+
+Files: *
+Copyright: 2014-2016 Yohan Boniface
+License: WTFPL-2
+
+Files: debian/*
+Copyright: 2016 Ross Gammon <rosco2 at ubuntu.com>
+License: WTFPL-2
+
+License: WTFPL-2
+ This program is free software. It comes without any warranty, to
+ the extent permitted by applicable law. You can redistribute it
+ and/or modify it under the terms of the Do What The Fuck You Want
+ To Public License, Version 2, as published by Sam Hocevar. See
+ below or http://www.wtfpl.net/ for more details.
+ . 
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+ .
+ Copyright (C) 2004 Sam Hocevar <sam at hocevar.net>
+ .
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+ .
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+ .
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
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..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/install b/debian/install
new file mode 100644
index 0000000..5269af7
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+package.json usr/lib/nodejs/kosmtik/
+index.js usr/lib/nodejs/kosmtik/
+src/* usr/lib/nodejs/kosmtik/
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..3cebd1c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-kosmtik
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..1071474
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('kosmtik');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..492a487
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-kosmtik-$1.tar.gz/ \
+ https://github.com/kosmtik/kosmtik/tags .*/archive/v?([\d\.]+).tar.gz
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644
index 0000000..0f6b326
--- /dev/null
+++ b/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/kosmtik/kosmtik/issues
+Bug-Submit: https://github.com/kosmtik/kosmtik/issues/new
+Name: kosmtik
+Repository: https://github.com/kosmtik/kosmtik.git
+Repository-Browse: https://github.com/kosmtik/kosmtik

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/node-kosmtik.git



More information about the Pkg-grass-devel mailing list