[Pkg-javascript-commits] [mustache.js] 02/31: First debianization

Martín Ferrari tincho at debian.org
Sun Nov 13 22:20:12 UTC 2016


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

tincho pushed a commit to branch master
in repository mustache.js.

commit a37bff7ac39be7a4f29af3833a2ee245af50a334
Author: David Paleino <dapal at debian.org>
Date:   Wed Nov 2 11:41:33 2011 +0100

    First debianization
---
 debian/changelog                      |  5 +++++
 debian/compat                         |  1 +
 debian/control                        | 41 +++++++++++++++++++++++++++++++++++
 debian/copyright                      | 30 +++++++++++++++++++++++++
 debian/libjs-mustache.docs            |  2 ++
 debian/libjs-mustache.install         |  1 +
 debian/node-mustache.docs             |  2 ++
 debian/node-mustache.install          |  1 +
 debian/patches/00-disable_tests.patch | 22 +++++++++++++++++++
 debian/patches/series                 |  1 +
 debian/rules                          | 25 +++++++++++++++++++++
 debian/source/format                  |  1 +
 debian/watch                          |  2 ++
 13 files changed, 134 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..09461f6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mustache.js (0.3.0-1) UNRELEASED; urgency=low
+
+  * Initial release
+
+ -- David Paleino <dapal at debian.org>  Wed, 02 Nov 2011 11:34:42 +0100
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..1f632d8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: mustache.js
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: David Paleino <dapal at debian.org>
+Build-Depends:
+ debhelper (>= 8~)
+ , rake
+Standards-Version: 3.9.2
+Homepage: http://mustache.github.com/
+Vcs-Git: git://git.debian.org/collab-maint/mustache.js.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/mustache.js.git;a=summary
+
+Package: libjs-mustache
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: Mustache rendering engine for Javascript
+ Inspired by ctemplate, Mustache is a framework-agnostic way to render
+ logic-free views. (As in model-view-controller.)
+ .
+ As ctemplates says, "It emphasizes separating logic from presentation:
+ it is impossible to embed application logic in this template
+ language."
+ .
+ This package provides the Mustache rendering engine for Javascript.
+
+Package: node-mustache
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: Mustache rendering engine for Javascript - CommonJS
+ Inspired by ctemplate, Mustache is a framework-agnostic way to render
+ logic-free views. (As in model-view-controller.)
+ .
+ As ctemplates says, "It emphasizes separating logic from presentation:
+ it is impossible to embed application logic in this template
+ language."
+ .
+ This package provides the Mustache rendering engine for CommonJS.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4229733
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://dep.debian.net/deps/dep5
+
+Files: *
+Copyright: © 2009, Chris Wanstrath
+ © 2010, Jan Lehnardt
+License: MIT
+
+Files: debian/*
+Copyright: © 2011, David Paleino <dapal at debian.org>
+License: MIT
+
+License: MIT
+ 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/libjs-mustache.docs b/debian/libjs-mustache.docs
new file mode 100644
index 0000000..fb3feb5
--- /dev/null
+++ b/debian/libjs-mustache.docs
@@ -0,0 +1,2 @@
+README.md
+THANKS.md
diff --git a/debian/libjs-mustache.install b/debian/libjs-mustache.install
new file mode 100644
index 0000000..c97ed88
--- /dev/null
+++ b/debian/libjs-mustache.install
@@ -0,0 +1 @@
+jquery.mustache.js	usr/share/javascript/mustache/
diff --git a/debian/node-mustache.docs b/debian/node-mustache.docs
new file mode 100644
index 0000000..fb3feb5
--- /dev/null
+++ b/debian/node-mustache.docs
@@ -0,0 +1,2 @@
+README.md
+THANKS.md
diff --git a/debian/node-mustache.install b/debian/node-mustache.install
new file mode 100644
index 0000000..8e44ddb
--- /dev/null
+++ b/debian/node-mustache.install
@@ -0,0 +1 @@
+lib/mustache.js	usr/lib/nodejs/
diff --git a/debian/patches/00-disable_tests.patch b/debian/patches/00-disable_tests.patch
new file mode 100644
index 0000000..04b4933
--- /dev/null
+++ b/debian/patches/00-disable_tests.patch
@@ -0,0 +1,22 @@
+---
+ Rakefile |   11 -----------
+ 1 file changed, 11 deletions(-)
+
+--- mustache.js.orig/Rakefile
++++ mustache.js/Rakefile
+@@ -1,15 +1,4 @@
+ require 'rake'
+-require 'spec/rake/spectask'
+-
+-task :default => :spec
+-
+-Spec::Rake::SpecTask.new(:spec) do |t|
+-  #t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
+-  t.spec_files = FileList['test/*_spec.rb']
+-end
+-
+-desc "Run all specs"
+-task :spec
+ 
+ def templated_build(name, opts={})
+   # Create a rule that uses the .tmpl.{pre,post} stuff to make a final,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7581d0a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-disable_tests.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f864b69
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_installchangelogs:
+	dh_installchangelogs -- CHANGES.md
+
+override_dh_auto_build:
+	rake commonjs
+	rake jquery
+	#rake dojo
+	#rake yui3
+
+override_dh_auto_clean:
+	#disabled, it also removes .pc/ and other possibly-useful things
+	#rake clean
+
+	rm -rf \
+		lib/ \
+		jquery.mustache.js
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..e7eebdb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/janl/mustache.js/(\d+.*)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list