[Pkg-javascript-commits] [libjs-microplugin.js] 02/03: Debianization of libjs-microplugin.js.

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Mon Aug 15 13:08:50 UTC 2016


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

sergiodj-guest pushed a commit to branch master
in repository libjs-microplugin.js.

commit cd9f7a9d400ea753b74f1ff2d21dbc835d65d708
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Mon Aug 15 09:04:37 2016 -0400

    Debianization of libjs-microplugin.js.
    
    Closes: #834417
---
 debian/compat        |  1 +
 debian/control       | 19 +++++++++++++++++++
 debian/copyright     | 27 +++++++++++++++++++++++++++
 debian/install       |  2 ++
 debian/rules         | 10 ++++++++++
 debian/source/format |  1 +
 debian/watch         |  6 ++++++
 7 files changed, 66 insertions(+)

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..a33fdd0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: libjs-microplugin.js
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Build-Depends: debhelper (>=9), yui-compressor, mocha
+Standards-Version: 3.9.8
+Homepage: https://github.com/brianreavis/microplugin.js
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/libjs-microplugin.js.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/libjs-microplugin.js.git
+
+Package: libjs-microplugin.js
+Architecture: all
+Depends: ${misc:Depends}
+Description: Lightweight plugin / dependency system for libraries
+ MicroPlugin is a lightweight drop-in plugin architecture for your
+ JavaScript library. Plugins can declare dependencies to other plugins
+ and can be initialized with options (in a variety of formats). It is
+ AMD-compatible and it works identically in Node.js and in a browser.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f95b9b5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libjs-microplugin.js
+Source: https://github.com/brianreavis/microplugin.js
+
+Files: *
+Copyright: 2013 Brian Reavis <brian at thirdroute.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016 Sergio Durigan Junior <sergiodj at sergiodj.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 2.0 License can be
+ found in /usr/share/common-licenses/Apache-2.0 file.
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..e4d1087
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+src/microplugin.js usr/share/javascript/microplugin.js/
+src/microplugin.min.js usr/share/javascript/microplugin.js/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2fa88e5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_build:
+	yui-compressor -o src/microplugin.min.js src/microplugin.js
+
+override_dh_auto_clean:
+	dh_clean
+	rm -f src/microplugin.min.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..9bd387a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=4
+opts="dversionmangle=s@\+dfsg(\.\d+)?@@,\
+	repacksuffix=+dfsg,\
+	filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+   https://github.com/<user>/libjs-microplugin.js/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

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



More information about the Pkg-javascript-commits mailing list