[Pkg-javascript-commits] [node-jade] 02/02: initial debian commit

Leo Iannacone l3on-guest at moszumanska.debian.org
Wed May 7 17:47:15 UTC 2014


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

l3on-guest pushed a commit to branch master
in repository node-jade.

commit 5d13dac94a3c8a0c2446acf609356683377b4ffb
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Wed May 7 19:47:01 2014 +0200

    initial debian commit
---
 debian/changelog                            |  6 ++++
 debian/compat                               |  1 +
 debian/control                              | 34 ++++++++++++++++++
 debian/copyright                            | 37 ++++++++++++++++++++
 debian/dirs                                 |  1 +
 debian/docs                                 |  4 +++
 debian/examples                             |  1 +
 debian/install                              |  4 +++
 debian/jadejs.1                             | 53 +++++++++++++++++++++++++++++
 debian/links                                |  1 +
 debian/manpages                             |  1 +
 debian/patches/0001_fix_nodejs_shebang.path | 16 +++++++++
 debian/patches/series                       |  1 +
 debian/rules                                | 16 +++++++++
 debian/source/format                        |  1 +
 debian/watch                                |  3 ++
 16 files changed, 180 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..523f9de
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-jade (1.3.1+dfsg-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #747344)
+
+ -- Leo Iannacone <l3on at ubuntu.com>  Wed, 07 May 2014 10:45:33 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2b0a525
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: node-jade
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Leo Iannacone <l3on at ubuntu.com>
+Build-Depends:
+ debhelper (>= 8)
+ , dh-buildinfo
+ , nodejs
+Standards-Version: 3.9.5
+Homepage: http://jade-lang.com
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-jade.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-jade.git
+
+Package: node-jade
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+ , node-monocle
+ , node-transformers
+ , node-character-parser
+ , node-mkdirp
+ , node-commander
+ , constantinople
+ , with
+Description: high performance template engine
+ Jade is a templating language able to compile to HTML.
+ .
+ Jade makes possible build up web sites quickly by offering
+ a new way of separating logic from markup, using indentation
+ to reflect nesting. It also supports Markdonw language.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8fc5b97
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jade
+Upstream-Contact: https://github.com/visionmedia/jade/issues
+Source: https://github.com/visionmedia/jade
+ Repackaged, excluding pre-compiled JavaScript files
+Files-Excluded: jade.js
+ runtime.js
+
+Files: *
+Copyright: 2009-2014 TJ Holowaychuk <tj at vision-media.ca>
+License: Expat
+
+Files: debian/*
+Copyright: 2014 Leo Iannacone <l3on at ubuntu.com>
+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/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..d821121
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,4 @@
+README.md
+Readme_zh-cn.md
+jade.md
+jade-language.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..30978f9
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+package.json usr/lib/nodejs/jade/
+bin usr/lib/nodejs/jade/
+lib usr/lib/nodejs/jade/
+index.js usr/lib/nodejs/jade/
diff --git a/debian/jadejs.1 b/debian/jadejs.1
new file mode 100644
index 0000000..824a3ee
--- /dev/null
+++ b/debian/jadejs.1
@@ -0,0 +1,53 @@
+.TH JADEJS "1" "May 2014" "jadejs" "User Commands"
+.SH NAME
+jadejs \- high performance template engine
+.SH
+OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+output usage information
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+output the version number
+.TP
+\fB\-O\fR, \fB\-\-obj\fR <str>
+javascript options object
+.TP
+\fB\-o\fR, \fB\-\-out\fR <dir>
+output the compiled html to <dir>
+.TP
+\fB\-p\fR, \fB\-\-path\fR <path>
+filename used to resolve includes
+.TP
+\fB\-P\fR, \fB\-\-pretty\fR
+compile pretty html output
+.TP
+\fB\-c\fR, \fB\-\-client\fR
+compile function for client\-side runtime.js
+.TP
+\fB\-D\fR, \fB\-\-no\-debug\fR
+compile without debugging (smaller functions)
+.TP
+\fB\-w\fR, \fB\-\-watch\fR
+watch files for changes and automatically re\-render
+.SH
+EXAMPLES
+.TP
+translate jade the templates dir
+$ jadejs templates
+.TP
+create {foo,bar}.html
+$ jadejs {foo,bar}.jade
+.TP
+jade over stdio
+$ jadejs < my.jade > my.html
+.TP
+jade over stdio
+$ echo 'h1 Jade!' | jadejs
+.TP
+foo, bar dirs rendering to \fI/tmp\fP
+$ jadejs foo bar \fB\-\-out\fR \fI/tmp\fP
+.SH "SEE ALSO"
+For more information and examples take a look at files in:
+/usr/share/doc/node-jade/examples
+
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..d2549db
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/lib/nodejs/jade/bin/jade.js usr/bin/jadejs
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..ef3cbbd
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/jadejs.1
diff --git a/debian/patches/0001_fix_nodejs_shebang.path b/debian/patches/0001_fix_nodejs_shebang.path
new file mode 100644
index 0000000..80fd96d
--- /dev/null
+++ b/debian/patches/0001_fix_nodejs_shebang.path
@@ -0,0 +1,16 @@
+Description: fix shebang on nodejs
+Author: Leo Iannacone <l3on at ubuntu.com>
+Forwarded: not-needed
+
+---
+ bin/jade.js |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/bin/jade.js
++++ b/bin/jade.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/nodejs
+ 
+ /**
+  * Module dependencies.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2bc11bc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_fix_nodejs_shebang.path
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f042f10
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/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:
+
+override_dh_installchangelogs:
+	dh_installchangelogs -k History.md
+
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/watch b/debian/watch
new file mode 100644
index 0000000..f18fbc1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/.dfsg?([\d]*)//,filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-jade-$1.tar.gz/ \
+ https://github.com/visionmedia/jade/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list