From 4ceaebb71bbd5d74e1ab37b2b341960f9c4d8d98 Mon Sep 17 00:00:00 2001 From: Kartik Kulkarni <kartik.koolks@gmail.com> Date: Sun, 10 Sep 2017 16:49:33 +0530 Subject: [PATCH] Imported Debian patch 1.6.1-1 --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 23 +++++++++++++++++++++++ debian/copyright | 35 +++++++++++++++++++++++++++++++++++ debian/ruby-erubi.docs | 1 + debian/ruby-tests.rake | 6 ++++++ debian/rules | 6 ++++++ debian/source/format | 1 + debian/watch | 2 ++ 9 files changed, 80 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/ruby-erubi.docs create mode 100644 debian/ruby-tests.rake create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..10c356e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ruby-erubi (1.6.1-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #nnnn) + + -- Kartik Kulkarni <kartik.koolks@gmail.com> Sun, 10 Sep 2017 16:49:33 +0530 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..db55a4c --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: ruby-erubi +Section: ruby +Priority: optional +Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org> +Uploaders: Kartik Kulkarni <kartik.koolks@gmail.com> +Build-Depends: debhelper (>= 9~), + gem2deb, + rake +Standards-Version: 3.9.7 +Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-erubi.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-erubi.git +Homepage: https://github.com/jeremyevans/erubi +Testsuite: autopkgtest-pkg-ruby +XS-Ruby-Versions: all + +Package: ruby-erubi +Architecture: all +XB-Ruby-Versions: ${ruby:Versions} +Depends: ruby | ruby-interpreter, + ${misc:Depends}, + ${shlibs:Depends} +Description: Small ERB Implementation + Erubi is a ERB template engine for ruby. It is a simplified fork of Erubis diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ad748a8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: erubi +Source: https://github.com/jeremyevans/erubi + +Files: * +Copyright: <years> <put author's name and email here> + <years> <likewise for another author> +License: GPL-2+ (FIXME) + +Files: debian/* +Copyright: 2017 Kartik Kulkarni <kartik.koolks@gmail.com> +License: GPL-2+ (FIXME) +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. + . + 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. + . + 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'. diff --git a/debian/ruby-erubi.docs b/debian/ruby-erubi.docs new file mode 100644 index 0000000..e475c53 --- /dev/null +++ b/debian/ruby-erubi.docs @@ -0,0 +1 @@ +README.rdoc diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake new file mode 100644 index 0000000..63f3fd6 --- /dev/null +++ b/debian/ruby-tests.rake @@ -0,0 +1,6 @@ +require 'gem2deb/rake/testtask' + +Gem2Deb::Rake::TestTask.new do |t| + t.libs = ['test'] + t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] +end diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3454d59 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export GEM2DEB_TEST_RUNNER = --check-dependencies + +%: + dh $@ --buildsystem=ruby --with ruby 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..b569af5 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/erubi .*/erubi-(.*).tar.gz -- GitLab