[Pkg-javascript-commits] [node-ast-util] 03/08: Initial packaging

Julien Puydt julien.puydt at laposte.net
Tue Oct 20 06:45:26 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository node-ast-util.

commit f1b72d5de0cfe175f5d823e8f508cef3a5f6735f
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Mon Oct 19 12:52:42 2015 +0200

    Initial packaging
---
 debian/changelog     |  6 ++++++
 debian/compat        |  1 +
 debian/control       | 23 +++++++++++++++++++++++
 debian/copyright     | 28 ++++++++++++++++++++++++++++
 debian/docs          |  1 +
 debian/examples      |  1 +
 debian/install       |  3 +++
 debian/rules         | 10 ++++++++++
 debian/tests/control |  2 ++
 debian/tests/require |  3 +++
 debian/watch         |  5 +++++
 11 files changed, 83 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0a363ae
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-ast-util (0.6.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #XXXXXX)
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Mon, 19 Oct 2015 09:58:08 +0200
+
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..666da31
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: node-ast-util
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Julien Puydt <julien.puydt at laposte.net>
+Build-Depends: debhelper (>= 9), nodejs, node-recast
+Standards-Version: 3.9.6
+Homepage: https://github.com/eventualbuddha/ast-util
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-ast-util.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-ast-util.git
+
+Package: node-ast-util
+Architecture: all
+Depends: node-ast-types (>= 0.6.7),
+         node-private (>= 0.1.6),
+         nodejs,
+         ${misc:Depends}
+Description: Utilities for AST transformers
+ These methods are useful for source transformers such as transpilers and
+ macros, as they often have to insert variables into scopes and replace
+ expressions.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8e8d2c4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ast-util
+Upstream-Contact: https://github.com/eventualbuddha/ast-util/issues
+Source: https://github.com/eventualbuddha/ast-util
+
+Files: *
+Copyright: 2015 Brian Donovan
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015 Julien Puydt <julien.puydt at laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+ 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.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
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/examples b/debian/examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..77cb8f9
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+bin usr/lib/nodejs/ast-util/
+lib usr/lib/nodejs/ast-util/
+package.json usr/lib/nodejs/ast-util/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..76d830b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_test:
+	@echo "Tests disabled for now"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7ed6b99
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-ast-util
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..43b7901
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('ast-util');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..92facd1
--- /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-ast-util-$1.tar.gz/ \
+ https://github.com/eventualbuddha/ast-util/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list