ruby-hamlit (2.15.1-3) unstable; urgency=medium
authorPirate Praveen <praveen@debian.org>
Wed, 8 Feb 2023 15:49:02 +0000 (15:49 +0000)
committerPirate Praveen <praveen@debian.org>
Wed, 8 Feb 2023 15:49:02 +0000 (15:49 +0000)
  * Remove build dependency on ruby-coffee-script
  * Bump Standards-Version to 4.6.2 (no changes needed)

[dgit import unpatched ruby-hamlit 2.15.1-3]

16 files changed:
1  2 
debian/changelog
debian/control
debian/copyright
debian/gbp.conf
debian/patches/001-remove-git-in-gemspec.patch
debian/patches/002-remove-bundler.patch
debian/patches/003-remove-coffee-script.patch
debian/patches/series
debian/ruby-hamlit.docs
debian/ruby-hamlit.examples
debian/ruby-tests.rake
debian/rules
debian/salsa-ci.yml
debian/source/format
debian/upstream/metadata
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..716f28a572edabacc3a490edec5959ef926bd92e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,161 @@@
++ruby-hamlit (2.15.1-3) unstable; urgency=medium
++
++  * Remove build dependency on ruby-coffee-script
++  * Bump Standards-Version to 4.6.2 (no changes needed)
++
++ -- Pirate Praveen <praveen@debian.org>  Wed, 08 Feb 2023 16:49:02 +0100
++
++ruby-hamlit (2.15.1-2) unstable; urgency=medium
++
++  [ Debian Janitor ]
++  * Remove constraints unnecessary since buster
++
++  [ Pirate Praveen ]
++  * Remove coffee-script dependency and tests (upstream removed it in a new
++    version) (Closes: #1013499)
++  * Bump Standards-Version to 4.6.1 (no changes needed)
++
++ -- Pirate Praveen <praveen@debian.org>  Fri, 19 Aug 2022 20:52:00 +0530
++
++ruby-hamlit (2.15.1-1) unstable; urgency=medium
++
++  * Reupload to unstable
++  * Bump Standards-Version to 4.6.0 (no changes needed)
++  * New upstream version 2.15.1
++  * Refresh patches
++
++ -- Pirate Praveen <praveen@debian.org>  Fri, 27 Aug 2021 18:27:59 +0530
++
++ruby-hamlit (2.15.0-1) experimental; urgency=medium
++
++  * New upstream version 2.15.0
++  * Bump debhelper compatibility level to 13
++
++ -- Pirate Praveen <praveen@debian.org>  Wed, 28 Apr 2021 19:44:26 +0530
++
++ruby-hamlit (2.14.4-1) experimental; urgency=medium
++
++  [ Debian Janitor ]
++  * Remove obsolete field Name from debian/upstream/metadata (already
++    present in machine-readable debian/copyright).
++
++  [ Abhijith PA ]
++  * Bump minimum version of gem2deb to 1.0
++
++  [ Cédric Boutillier ]
++  * Update team name
++  * Add .gitattributes to keep unwanted files out of the source package
++
++  [ Debian Janitor ]
++  * Set upstream metadata fields: Bug-Database, Repository.
++  * Update standards version to 4.5.0, no changes needed.
++
++  [ Pirate Praveen ]
++  * Bump Standards-Version to 4.5.1 (no changes needed)
++  * New upstream version 2.14.4
++  * Require test_helper always and disable more haml tests
++
++ -- Pirate Praveen <praveen@debian.org>  Wed, 10 Mar 2021 12:02:07 +0530
++
++ruby-hamlit (2.11.0-2) unstable; urgency=medium
++
++  * Team upload
++  * Fix minimum version for ruby-temple
++
++ -- Sruthi Chandran <srud@debian.org>  Wed, 08 Jan 2020 00:18:41 +0530
++
++ruby-hamlit (2.11.0-1) unstable; urgency=medium
++
++  * Team upload.
++
++  [ Utkarsh Gupta ]
++  * Add salsa-ci.yml
++
++  [ Joseph Herlant ]
++  * New upstream version 2.11.0
++  * d/watch: switch back to github as upstream does not ship tests in the gem
++  * Add gbp.conf as the branching scheme does not follow dep14 yet
++  * d/control:
++    * bump debhelpers to 12
++    * bump standards to 4.4.1
++    * ruby-temple minimum version required is 0.8.2 now
++    * add missing Rules-Requires-Root field
++  * dep12: add upstream/metadata file
++
++ -- Joseph Herlant <aerostitch@debian.org>  Sun, 22 Dec 2019 11:50:04 -0800
++
++ruby-hamlit (2.9.2-2) unstable; urgency=medium
++
++  * Improve descriptions
++  * Make sure that versions of ruby-actionview and ruby-haml are compatible
++    for tests, fixing incidentally autopkgtest (Closes: #890072)
++
++ -- Cédric Boutillier <boutil@debian.org>  Thu, 14 Feb 2019 14:07:54 +0100
++
++ruby-hamlit (2.9.2-1) unstable; urgency=medium
++
++  * Team upload
++  * New upstream version 2.9.2
++  * Bump debhelper compatibility level to 11
++  * Bump Standards-Version to 4.3.0 (no changes needed)
++  * Re-write watch file
++
++ -- Utkarsh Gupta <guptautkarsh2102@gmail.com>  Thu, 03 Jan 2019 13:35:25 +0530
++
++ruby-hamlit (2.8.8-1) unstable; urgency=medium
++
++  * Team upload
++  * New upstream release
++  * Bump standards version to 4.1.4
++  * Updated Vcs- urls to salsa
++  * Updated copyright url to use https
++
++ -- Hari Govind S <harigovindind@gmail.com>  Wed, 20 Jun 2018 12:07:54 +0000
++
++ruby-hamlit (2.8.7-2) unstable; urgency=medium
++
++  * Reupload to unstable
++  * Bump debhelper compat to 11
++
++ -- Pirate Praveen <praveen@debian.org>  Sun, 25 Feb 2018 13:24:13 +0530
++
++ruby-hamlit (2.8.7-1) experimental; urgency=medium
++
++  * New upstream release
++
++ -- Pirate Praveen <praveen@debian.org>  Tue, 20 Feb 2018 21:17:33 +0530
++
++ruby-hamlit (2.8.5-1) experimental; urgency=medium
++
++  [ Cédric Boutillier ]
++  * New upstream version 2.8.5
++  * Bump debhelper compatibility level to 10
++
++  [ Pirate Praveen ]
++  * Bump Standards-Version to 4.1.2 (no changes needed)
++  * Ignore test failures (temporarily for experimental upload)
++
++ -- Pirate Praveen <praveen@debian.org>  Tue, 26 Dec 2017 17:24:35 +0530
++
++ruby-hamlit (2.7.5-1) unstable; urgency=medium
++
++  * Team upload.
++  * Upstream update.
++  * Remove unwanted paths from d/copyright.
++  * Add dep3 headers to quilt patches.
++
++ -- Balasankar C <balasankarc@autistici.org>  Sun, 13 Nov 2016 12:18:46 +0530
++
++ruby-hamlit (2.7.0-1) unstable; urgency=medium
++
++  * New upstream release
++  * Switch to github tarballs
++
++ -- Pirate Praveen <praveen@debian.org>  Tue, 13 Sep 2016 13:06:54 +0530
++
++ruby-hamlit (2.5.0+debian-1) unstable; urgency=medium
++
++  * Initial release (Closes: #829629)
++  * Disable haml tests (need haml 4.1.0.beta.1)
++
++ -- Pirate Praveen <praveen@debian.org>  Sat, 23 Jul 2016 22:11:31 +0530
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c32949c04f5e5582373e34501e3c6ce7bc18ded4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,38 @@@
++Source: ruby-hamlit
++Section: ruby
++Priority: optional
++Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
++Uploaders: Pirate Praveen <praveen@debian.org>
++Build-Depends: debhelper-compat (= 13),
++               gem2deb (>= 1.0~),
++               rake,
++               ruby-temple (>= 0.8.2),
++               ruby-thor,
++               ruby-tilt,
++               ruby-unindent,
++               ruby-actionpack (>= 2:5.2),
++               ruby-rails,
++               ruby-haml,
++               ruby-redcarpet,
++               ruby-sass
++Standards-Version: 4.6.2
++Vcs-Git: https://salsa.debian.org/ruby-team/ruby-hamlit.git
++Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-hamlit
++Homepage: https://github.com/k0kubun/hamlit
++Testsuite: autopkgtest-pkg-ruby
++XS-Ruby-Versions: all
++Rules-Requires-Root: no
++
++Package: ruby-hamlit
++Architecture: any
++XB-Ruby-Versions: ${ruby:Versions}
++Depends: ruby | ruby-interpreter,
++         ruby-temple (>= 0.8.2),
++         ruby-thor,
++         ruby-tilt,
++         ${misc:Depends},
++         ${shlibs:Depends}
++Description: high performance Haml implementation
++ Hamlit is another implementation of Haml, a Ruby HTML abstraction markup
++ language. With some limitations by design for performance, Hamlit is much
++ faster (up to about 8 times) than original haml gem in some benchmarks.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8bec9f6884663e16293004b06e7545b8c8e5624c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,58 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: hamlit
++Source: http://rubygems.org/gems/hamlit
++
++Files: *
++Copyright: 2015 Takashi Kokubun
++License: Expat
++
++Files: benchmark/slim/*
++Copyright: 2010 - 2015 Slim Team
++License: Expat
++
++Files: lib/hamlit/parser/*.rb test/haml/*
++Copyright: 2006-2009 Hampton Catlin and Natalie Weizenbaum
++License: Expat
++
++Files: test/haml/haml-spec/*
++Copyright: 2004 Sam Hocevar <sam@hocevar.net>
++License: DWTFYWTPL
++
++Files: debian/*
++Copyright: 2016 Praveen Arimbrathodiyil <praveen@debian.org>
++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.
++
++License: DWTFYWTPL
++ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
++ Version 2, December 2004
++ .
++ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
++ .
++ Everyone is permitted to copy and distribute verbatim or modified
++ copies of this license document, and changing it is allowed as long
++ as the name is changed.
++ .
++ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING,
++ DISTRIBUTION AND MODIFICATION
++ .
++ 0. You just DO WHAT THE FUCK YOU WANT TO.
diff --cc debian/gbp.conf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bd69fd3a833fa0f4e23fc53c229c92a7b65fe6ab
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++[DEFAULT]
++debian-branch = master
++pristine-tar = True
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..99007df0d3d9d8a8f5165d2202a4f699fa4d5f5f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,15 @@@
++Description: Remove usage of git from gemspec
++Author: Pirate Praveen <praveen@debian.org>
++---
++This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
++--- a/hamlit.gemspec
+++++ b/hamlit.gemspec
++@@ -14,7 +14,7 @@
++   spec.homepage      = 'https://github.com/k0kubun/hamlit'
++   spec.license       = 'MIT'
++ 
++-  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sample|benchmark)/}) }
+++  spec.files         = Dir['lib/**/*']+Dir['ext/**/*']+Dir['sample/**/*']+['REFERENCE.md']
++   spec.bindir        = 'exe'
++   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
++   spec.require_paths = ['lib']
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..db15dd980298690c53e0277a28b49428855dcdff
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,13 @@@
++Description: Remove usage of bundler from tests
++Author: Pirate Praveen <praveen@debian.org>
++---
++This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
++--- a/test/test_helper.rb
+++++ b/test/test_helper.rb
++@@ -1,5 +1,5 @@
++ require 'unindent'
++-require 'bundler/setup'
+++#require 'bundler/setup'
++ require 'minitest/autorun'
++ require 'action_pack'
++ require 'action_controller'
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a99a5948c99c6633bdf8562f33c5cab86586b00b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,148 @@@
++From 939d3f711203412234dd9581f2b99bf95f23bfb6 Mon Sep 17 00:00:00 2001
++From: Takashi Kokubun <takashikkbn@gmail.com>
++Date: Thu, 18 Aug 2022 18:11:17 -0700
++Subject: [PATCH] Remove coffee from development dependency
++
++Close https://github.com/k0kubun/hamlit/issues/190
++---
++ hamlit.gemspec                     |  1 -
++ test/hamlit/filters/coffee_test.rb | 62 ------------------------------
++ test/hamlit/line_number_test.rb    | 44 ---------------------
++ 3 files changed, 107 deletions(-)
++ delete mode 100644 test/hamlit/filters/coffee_test.rb
++
++diff --git a/hamlit.gemspec b/hamlit.gemspec
++index bce4e312..532109f0 100644
++--- a/hamlit.gemspec
+++++ b/hamlit.gemspec
++@@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
++ 
++   spec.add_development_dependency 'benchmark_driver'
++   spec.add_development_dependency 'bundler'
++-  spec.add_development_dependency 'coffee-script'
++   spec.add_development_dependency 'erubi'
++   spec.add_development_dependency 'haml', '>= 5'
++   spec.add_development_dependency 'less'
++diff --git a/test/hamlit/filters/coffee_test.rb b/test/hamlit/filters/coffee_test.rb
++deleted file mode 100644
++index d4dbb5c2..00000000
++--- a/test/hamlit/filters/coffee_test.rb
+++++ /dev/null
++@@ -1,62 +0,0 @@
++-describe Hamlit::Filters do
++-  include RenderHelper
++-
++-  describe '#compile' do
++-    it 'renders coffee filter' do
++-      assert_render(<<-HTML.unindent, <<-HAML.unindent)
++-        <script>
++-          (function() {
++-            var foo;
++-          
++-            foo = function() {
++-              return alert('hello');
++-            };
++-          
++-          }).call(this);
++-        </script>
++-      HTML
++-        :coffee
++-          foo = ->
++-            alert('hello')
++-      HAML
++-    end
++-
++-    it 'renders coffeescript filter' do
++-      assert_render(<<-HTML.unindent, <<-HAML.unindent)
++-        <script>
++-          (function() {
++-            var foo;
++-          
++-            foo = function() {
++-              return alert('hello');
++-            };
++-          
++-          }).call(this);
++-        </script>
++-      HTML
++-        :coffeescript
++-          foo = ->
++-            alert('hello')
++-      HAML
++-    end
++-
++-    it 'renders coffeescript filter' do
++-      assert_render(<<-HTML.unindent, <<-'HAML'.unindent)
++-        <script>
++-          (function() {
++-            var foo;
++-          
++-            foo = function() {
++-              return alert("<&>");
++-            };
++-          
++-          }).call(this);
++-        </script>
++-      HTML
++-        :coffee
++-          foo = ->
++-            alert("#{'<&>'}")
++-      HAML
++-    end
++-  end unless /java/ === RUBY_PLATFORM # execjs is not working with Travis JRuby environment
++-end
++diff --git a/test/hamlit/line_number_test.rb b/test/hamlit/line_number_test.rb
++index b6e8ed31..2805ca63 100644
++--- a/test/hamlit/line_number_test.rb
+++++ b/test/hamlit/line_number_test.rb
++@@ -105,50 +105,6 @@
++   end
++ 
++   describe 'filters' do
++-    describe 'coffee filter' do
++-      it 'renders static filter' do
++-        assert_render(<<-HTML.unindent, <<-'HAML'.unindent)
++-          <script>
++-            (function() {
++-              jQuery(function($) {
++-                console.log('3');
++-                return console.log('4');
++-              });
++-            
++-            }).call(this);
++-          </script>
++-          5
++-        HTML
++-          :coffee
++-            jQuery ($) ->
++-              console.log('#{__LINE__}')
++-              console.log('#{__LINE__}')
++-          = __LINE__
++-        HAML
++-      end
++-
++-      it 'renders dynamic filter' do
++-        assert_render(<<-HTML.unindent, <<-HAML.unindent)
++-          <script>
++-            (function() {
++-              jQuery(function($) {
++-                console.log('3');
++-                return console.log('4');
++-              });
++-            
++-            }).call(this);
++-          </script>
++-          5
++-        HTML
++-          :coffee
++-            jQuery ($) ->
++-              console.log('3')
++-              console.log('4')
++-          = __LINE__
++-        HAML
++-      end
++-    end unless /java/ === RUBY_PLATFORM # execjs is not working with Travis JRuby environment
++-
++     describe 'css filter' do
++       it 'renders static filter' do
++         assert_render(<<-HTML.unindent, <<-HAML.unindent)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f023beb18438c30f609f8ba86e0392b6dfc9622d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++001-remove-git-in-gemspec.patch
++002-remove-bundler.patch
++003-remove-coffee-script.patch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b43bf86b50fd8d3529a0dc062c30006ed38f309e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++README.md
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b4372208abbcc5f20f8d9299b78f232af630eab5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++# Examples:
++# FIXME: sample/ dir found in source. Consider installing the examples.
++# sample/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..205c8a34ff0c7131c514827e09843acbb19ff99d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,7 @@@
++require 'gem2deb/rake/testtask'
++
++Gem2Deb::Rake::TestTask.new do |t|
++  t.libs = ['test']
++  t.ruby_opts = %w[-rtest_helper]
++  t.test_files = FileList['test/**/*_test.rb'] - FileList['test/haml/**/*_test.rb'] - FileList['test/hamlit/engine/attributes_test.rb']
++end
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0a3ffe89f7f8b6155d8313d77dda736e37d201c3
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,12 @@@
++#!/usr/bin/make -f
++
++export GEM2DEB_TEST_RUNNER = --check-dependencies
++
++%:
++      dh $@ --buildsystem=ruby --with ruby
++
++clean:
++      dh clean --buildsystem=ruby
++      rm -f ext/hamlit/buffer.c
++      rm -f ext/hamlit/houdini*.c
++      rm -rf .sass-cache
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..33c3a640d2a84306b6a8b5640692ac3481739e65
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++---
++include:
++  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
++  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..54a0287cb3d56f8f2307fc81deca1d0697de02ea
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,7 @@@
++---
++Bug-Database: https://github.com/k0kubun/hamlit/issues
++Bug-Submit: https://github.com/k0kubun/hamlit/issues
++Changelog: https://github.com/k0kubun/hamlit/blob/master/CHANGELOG.md
++Documentation: https://github.com/k0kubun/hamlit
++Repository: https://github.com/k0kubun/hamlit.git
++Repository-Browse: https://github.com/k0kubun/hamlit
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..30a7beea9ff1f67aa8513cef90cfbc141d47f95a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=4
++opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/hamlit-$1\.tar\.gz/ \
++  https://github.com/k0kubun/hamlit/tags .*/v?(\d\S+)\.tar\.gz