Import ruby-hamlit_2.7.5-1.debian.tar.xz
authorBalasankar C <balasankarc@autistici.org>
Sun, 13 Nov 2016 06:48:46 +0000 (06:48 +0000)
committerBalasankar C <balasankarc@autistici.org>
Sun, 13 Nov 2016 06:48:46 +0000 (06:48 +0000)
[dgit import tarball ruby-hamlit 2.7.5-1 ruby-hamlit_2.7.5-1.debian.tar.xz]

13 files changed:
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
patches/001-remove-git-in-gemspec.patch [new file with mode: 0644]
patches/002-remove-bundler.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
ruby-hamlit.docs [new file with mode: 0644]
ruby-hamlit.examples [new file with mode: 0644]
ruby-tests.rake [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..f8ba906
--- /dev/null
+++ b/changelog
@@ -0,0 +1,22 @@
+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 --git a/compat b/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..18ebe67
--- /dev/null
+++ b/control
@@ -0,0 +1,38 @@
+Source: ruby-hamlit
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
+Uploaders: Pirate Praveen <praveen@debian.org>
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-temple (>= 0.7.6),
+               ruby-thor,
+               ruby-tilt,
+               ruby-unindent,
+               ruby-actionpack,
+               ruby-rails,
+               ruby-haml,
+               ruby-coffee-script,
+               ruby-redcarpet,
+               ruby-sass
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-hamlit.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-hamlit.git
+Homepage: https://github.com/k0kubun/hamlit
+Testsuite: autopkgtest-pkg-ruby
+XS-Ruby-Versions: all
+
+Package: ruby-hamlit
+Architecture: any
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+         ruby-temple (>= 0.7.6),
+         ruby-thor,
+         ruby-tilt,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High Performance Haml Implementation
+ Hamlit is another implementation of Haml. With some limitations by design for
+ performance, Hamlit is **8.54x times faster** than original haml gem in one
+ benchmark (see README.md for details). 
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..dfa8745
--- /dev/null
+++ b/copyright
@@ -0,0 +1,58 @@
+Format: http://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 --git a/patches/001-remove-git-in-gemspec.patch b/patches/001-remove-git-in-gemspec.patch
new file mode 100644 (file)
index 0000000..88ceb54
--- /dev/null
@@ -0,0 +1,18 @@
+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,9 +14,9 @@
+   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)/}) }
++  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.executables   = 'hamlit'
+   spec.extensions    = ['ext/hamlit/extconf.rb']
+   spec.require_paths = ['lib']
+   spec.required_ruby_version = '>= 2.1.0'
diff --git a/patches/002-remove-bundler.patch b/patches/002-remove-bundler.patch
new file mode 100644 (file)
index 0000000..db15dd9
--- /dev/null
@@ -0,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'
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..1a24192
--- /dev/null
@@ -0,0 +1,2 @@
+001-remove-git-in-gemspec.patch
+002-remove-bundler.patch
diff --git a/ruby-hamlit.docs b/ruby-hamlit.docs
new file mode 100644 (file)
index 0000000..b43bf86
--- /dev/null
@@ -0,0 +1 @@
+README.md
diff --git a/ruby-hamlit.examples b/ruby-hamlit.examples
new file mode 100644 (file)
index 0000000..b437220
--- /dev/null
@@ -0,0 +1,3 @@
+# Examples:
+# FIXME: sample/ dir found in source. Consider installing the examples.
+# sample/*
diff --git a/ruby-tests.rake b/ruby-tests.rake
new file mode 100644 (file)
index 0000000..49fc190
--- /dev/null
@@ -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/haml/*_test.rb'] - FileList['test/hamlit/engine/attributes_test.rb']
+end
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..0a3ffe8
--- /dev/null
+++ b/rules
@@ -0,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
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..625d1b4
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/(\d)[\+]?(debian|dfsg|ds|deb|gh)\~(rc)*\d*$/$1~$3/ \
+ https://github.com/k0kubun/hamlit/tags .*/v?(\d[\d\.]+)\.tar\.gz