[DRE-commits] [ruby-rails-assets-highlightjs] 03/04: make lintian happy

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Jul 14 08:28:13 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-rails-assets-highlightjs.

commit e6ac0564c3d490aa38afde5fa0c1604843a53db9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Jul 14 13:52:18 2015 +0530

    make lintian happy
---
 debian/README.source            |  2 ++
 debian/changelog                |  6 ++---
 debian/control                  | 12 +++++++++-
 debian/copyright                | 51 ++++++++++++++++++++++-------------------
 debian/source/lintian-overrides |  2 ++
 debian/watch                    |  3 ++-
 6 files changed, 47 insertions(+), 29 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..2f08c02
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,2 @@
+Replaced minified asset with
+https://github.com/components/highlightjs/blob/master/highlight.pack.js
diff --git a/debian/changelog b/debian/changelog
index bdbccde..667af3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-rails-assets-highlightjs (8.6.0-1) UNRELEASED; urgency=medium
+ruby-rails-assets-highlightjs (8.6.0~dfsg-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #792357)
 
- -- Pirate Praveen <praveen at debian.org>  Tue, 14 Jul 2015 13:48:21 +0530
+ -- Pirate Praveen <praveen at debian.org>  Tue, 14 Jul 2015 13:52:09 +0530
diff --git a/debian/control b/debian/control
index 72998b3..2822171 100644
--- a/debian/control
+++ b/debian/control
@@ -18,4 +18,14 @@ XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
-Description:
+Description: highlightjs for rails applications
+ This library provides highlightjs via rails asset pipeline for rails apps.
+ .
+ Highlightjs provides syntax highlighting for the Web. Its features include,
+ .
+  * 125 languages and 63 styles
+  * automatic language detection
+  * multi-language code highlighting
+  * available for node.js
+  * works with any markup
+  * compatible with any js framework 
diff --git a/debian/copyright b/debian/copyright
index e7f971d..7705773 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,38 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: rails-assets-highlightjs
-Source: FIXME <http://example.com/>
+Source: https://rails-assets.org
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright:  2006, Ivan Sagalaev
+License: BSD-3-clause
+Comment: From https://github.com/components/highlightjs/blob/master/LICENSE
 
 Files: debian/*
 Copyright: 2015 Pirate Praveen <praveen at debian.org>
-License: GPL-2+ (FIXME)
+License: BSD-3-clause
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-License: GPL-2+ (FIXME)
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
+License: BSD-3-clause
+ All rights reserved.
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
  .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
+     * Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+     * Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+     * Neither the name of highlight.js nor the names of its contributors 
+       may be used to endorse or promote products derived from this software 
+       without specific prior written permission.
  .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..91fc39e
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# False positive
+ruby-rails-assets-highlightjs source: source-is-missing app/assets/javascripts/highlightjs/highlight.pack.js
diff --git a/debian/watch b/debian/watch
index 31cef51..2ab575f 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rails-assets-highlightjs .*/rails-assets-highlightjs-(.*).tar.gz
+opts=dversionmangle=s/\~(dfsg)\d*$// \
+https://github.com/components/highlightjs/tags .*/v?(\d[\d\.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-highlightjs.git



More information about the Pkg-ruby-extras-commits mailing list