[Pkg-javascript-commits] [libjs-jquery-stupidtable] 02/03: Initial release of libjs-jquery-stupidtable.
Sergio Durigan Junior
sergiodj-guest at moszumanska.debian.org
Thu Aug 11 01:40:56 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-jquery-stupidtable.
commit 8c2a6cf0299408f4396ff08d89a506655be243fd
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date: Wed Aug 10 20:56:39 2016 -0400
Initial release of libjs-jquery-stupidtable.
Closes: #833975
---
debian/compat | 1 +
debian/control | 25 ++++++++
debian/copyright | 35 +++++++++++
debian/docs | 1 +
debian/examples | 1 +
debian/install | 2 +
.../0001-Use-system-jQuery-on-examples.patch | 71 ++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 11 ++++
debian/source/format | 1 +
debian/watch | 4 ++
11 files changed, 153 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..9b785ca
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: libjs-jquery-stupidtable
+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
+Standards-Version: 3.9.8
+Homepage: https://github.com/joequery/Stupid-Table-Plugin
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/libjs-jquery-stupidtable.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/libjs-jquery-stupidtable.git
+
+Package: libjs-jquery-stupidtable
+Architecture: all
+Depends: ${misc:Depends}, libjs-jquery
+Recommends: javascript-common
+Description: jQuery table sorting plugin
+ Most table sorting plugins try to account for a limitless number of
+ data types and their limitless ways of being presented. This leads to
+ an extremely bloated code base with only a tiny portion of the code
+ ever used by your project.
+ .
+ This plugin avoids that issue by letting you define your own ways of
+ sorting table columns. The plugin internally recognizes "int",
+ "string", "string-ins" (case-insensitive) and "float", so simple data
+ tables will take very little effort on your part.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..040eabe
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Stupid-Table-Plugin
+Source: https://github.com/joequery/Stupid-Table-Plugin
+Files-Excluded:
+ *.min.js
+ tests/jquery.js
+ tests/underscore.js
+
+Files: *
+Copyright: 2012 Joseph McCullough
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Sergio Durigan Junior <sergiodj at sergiodj.net>
+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/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..88c073f
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*.html
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..e9fcd26
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+stupidtable.js usr/share/javascript/jquery-stupidtable/
+stupidtable.min.js usr/share/javascript/jquery-stupidtable/
diff --git a/debian/patches/0001-Use-system-jQuery-on-examples.patch b/debian/patches/0001-Use-system-jQuery-on-examples.patch
new file mode 100644
index 0000000..b38f97a
--- /dev/null
+++ b/debian/patches/0001-Use-system-jQuery-on-examples.patch
@@ -0,0 +1,71 @@
+From: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Date: Wed, 10 Aug 2016 21:33:58 -0400
+Subject: Use system jQuery on examples
+
+---
+ examples/basic.html | 4 ++--
+ examples/colspan.html | 4 ++--
+ examples/complex.html | 4 ++--
+ examples/large-table.html | 4 ++--
+ 4 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/examples/basic.html b/examples/basic.html
+index 11e4341..c10a66e 100644
+--- a/examples/basic.html
++++ b/examples/basic.html
+@@ -2,8 +2,8 @@
+ <html>
+ <head>
+ <title>Stupid jQuery table sort</title>
+- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+- <script src="../stupidtable.js?dev"></script>
++ <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
++ <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
+ <script>
+ $(function(){
+ $("table").stupidtable();
+diff --git a/examples/colspan.html b/examples/colspan.html
+index 148d9e4..d3be46c 100644
+--- a/examples/colspan.html
++++ b/examples/colspan.html
+@@ -2,8 +2,8 @@
+ <html>
+ <head>
+ <title>Stupid jQuery table sort (colspan test)</title>
+- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+- <script src="../stupidtable.js?dev"></script>
++ <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
++ <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
+ <script>
+ $(function(){
+ $("table").stupidtable();
+diff --git a/examples/complex.html b/examples/complex.html
+index 75e4ee3..dc1434d 100644
+--- a/examples/complex.html
++++ b/examples/complex.html
+@@ -2,8 +2,8 @@
+ <html>
+ <head>
+ <title>Stupid jQuery table sort (complex example)</title>
+- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+- <script src="../stupidtable.js?dev"></script>
++ <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
++ <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
+ <script>
+ $(function(){
+ // Helper function to convert a string of the form "Mar 15, 1987" into
+diff --git a/examples/large-table.html b/examples/large-table.html
+index 926100c..77d096b 100644
+--- a/examples/large-table.html
++++ b/examples/large-table.html
+@@ -2,8 +2,8 @@
+ <html>
+ <head>
+ <title>Stupid jQuery table sort (large table example)</title>
+- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+- <script src="../stupidtable.js?dev"></script>
++ <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
++ <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
+ <script>
+ $(function(){
+ // Helper function to convert a string of the form "Mar 15, 1987" into a Date object.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6b3b838
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-system-jQuery-on-examples.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7d17f5c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ yui-compressor -o stupidtable.min.js stupidtable.js
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f stupidtable.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..62dfea3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%" \
+ https://github.com/joequery/Stupid-Table-Plugin/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-jquery-stupidtable.git
More information about the Pkg-javascript-commits
mailing list