[DRE-commits] r3135 - in packages-wip/libhaml-ruby/trunk: . debian debian/patches

gwolf at alioth.debian.org gwolf at alioth.debian.org
Fri Dec 19 02:04:13 UTC 2008


Author: gwolf
Date: 2008-12-19 02:04:12 +0000 (Fri, 19 Dec 2008)
New Revision: 3135

Added:
   packages-wip/libhaml-ruby/trunk/debian/
   packages-wip/libhaml-ruby/trunk/debian/changelog
   packages-wip/libhaml-ruby/trunk/debian/compat
   packages-wip/libhaml-ruby/trunk/debian/control
   packages-wip/libhaml-ruby/trunk/debian/copyright
   packages-wip/libhaml-ruby/trunk/debian/patches/
   packages-wip/libhaml-ruby/trunk/debian/patches/fix-hardcoded-gem-paths
   packages-wip/libhaml-ruby/trunk/debian/patches/get-version-from-right-path
   packages-wip/libhaml-ruby/trunk/debian/patches/series
   packages-wip/libhaml-ruby/trunk/debian/rules
   packages-wip/libhaml-ruby/trunk/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages-wip/libhaml-ruby/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages-wip/libhaml-ruby/trunk/debian/changelog
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/changelog	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/changelog	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,5 @@
+libhaml-ruby (2.0.6-1) unstable; urgency=low
+
+  * Initial upload (Closes: #509159)
+
+ -- Gunnar Wolf <gwolf at debian.org>  Thu, 18 Dec 2008 17:42:16 -0600

Added: packages-wip/libhaml-ruby/trunk/debian/compat
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/compat	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/compat	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1 @@
+7

Added: packages-wip/libhaml-ruby/trunk/debian/control
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/control	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/control	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,58 @@
+Source: libhaml-ruby
+Section: libs
+Priority: optional
+Maintainer: Gunnar Wolf <gwolf at debian.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: ruby-pkg-tools (>= 0.8), cdbs, debhelper (>= 7), libsetup-ruby1.8, graphviz, quilt
+Build-Depends-Indep: ruby1.8, rdoc
+Standards-Version: 3.8.0
+
+Package: libhaml-ruby
+Architecture: all
+Depends: ${misc:Depends}, libhaml-ruby1.8
+Description: Elegant, easy and powerful template engines for HTML and CSS
+ Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or
+ XML that's designed to express the structure of XHTML or XML
+ documents in a non-repetitive, elegant, easy way, using indentation
+ rather than closing tags and allowing Ruby to be embedded with ease.
+ It was originally envisioned as a plugin for Ruby on Rails, but it
+ can function as a stand-alone templating engine.
+ .
+ This package includes as well Sass, a CSS templating engine based on
+ the same philosophy
+ .
+ This is a dummy package depending on the library for the current default
+ version of Ruby.
+
+Package: libhaml-ruby-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Elegant, easy and powerful template engines for HTML and CSS
+ Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or
+ XML that's designed to express the structure of XHTML or XML
+ documents in a non-repetitive, elegant, easy way, using indentation
+ rather than closing tags and allowing Ruby to be embedded with ease.
+ It was originally envisioned as a plugin for Ruby on Rails, but it
+ can function as a stand-alone templating engine.
+ .
+ This package includes as well Sass, a CSS templating engine based on
+ the same philosophy
+ .
+ This is the documentation package, with upstream documentation, as well as
+ generated rdoc.
+
+Package: libhaml-ruby1.8
+Architecture: all
+Depends: ${misc:Depends}, ruby1.8
+Recommends: rails (>= 2.0.0), libhpricot-ruby1.8
+Description: Elegant, easy and powerful template engines for HTML and CSS
+ Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or
+ XML that's designed to express the structure of XHTML or XML
+ documents in a non-repetitive, elegant, easy way, using indentation
+ rather than closing tags and allowing Ruby to be embedded with ease.
+ It was originally envisioned as a plugin for Ruby on Rails, but it
+ can function as a stand-alone templating engine.
+ .
+ This package includes as well Sass, a CSS templating engine based on
+ the same philosophy

Added: packages-wip/libhaml-ruby/trunk/debian/copyright
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/copyright	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/copyright	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,30 @@
+This package was debianized by Gunnar Wolf <gwolf at debian.org> on
+Thu, 18 Dec 2008 17:42:16 -0600
+
+The upstream code is published as a Git repository, at 
+git://github.com/nex3/haml.git
+The project's homepage is http://haml.hamptoncatlin.com/
+
+Haml and Sass were designed by Hampton Catlin.
+This implementation was written by Nathan Weizenbaum
+
+Copyright (c) 2006-2008 Hampton Catlin
+
+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.

Added: packages-wip/libhaml-ruby/trunk/debian/patches/fix-hardcoded-gem-paths
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/patches/fix-hardcoded-gem-paths	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/patches/fix-hardcoded-gem-paths	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,58 @@
+# The generated binaries include references to the location where the
+# Haml library should be located... If it was installed as a Gem.
+#
+# Besides this, this patch also collects the changes auto-made by
+# setup.rb to the actual interpreter (/usr/bin/ruby1.8)
+Index: libhaml-ruby-2.0.6/bin/css2sass
+===================================================================
+--- libhaml-ruby-2.0.6.orig/bin/css2sass	2008-12-17 05:14:51.000000000 -0600
++++ libhaml-ruby-2.0.6/bin/css2sass	2008-12-18 19:41:21.000000000 -0600
+@@ -1,6 +1,6 @@
+-#!/usr/bin/env ruby
++#! /usr/bin/ruby1.8
+ 
+-require File.dirname(__FILE__) + '/../lib/haml'
++require 'haml'
+ require 'haml/exec'
+ 
+ opts = Haml::Exec::CSS2Sass.new(ARGV)
+Index: libhaml-ruby-2.0.6/bin/haml
+===================================================================
+--- libhaml-ruby-2.0.6.orig/bin/haml	2008-12-17 05:14:51.000000000 -0600
++++ libhaml-ruby-2.0.6/bin/haml	2008-12-18 19:41:21.000000000 -0600
+@@ -1,7 +1,6 @@
+-#!/usr/bin/env ruby
++#! /usr/bin/ruby1.8
+ # The command line Haml parser.
+ 
+-$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
+ require 'haml'
+ require 'haml/exec'
+ 
+Index: libhaml-ruby-2.0.6/bin/html2haml
+===================================================================
+--- libhaml-ruby-2.0.6.orig/bin/html2haml	2008-12-17 05:14:51.000000000 -0600
++++ libhaml-ruby-2.0.6/bin/html2haml	2008-12-18 19:41:21.000000000 -0600
+@@ -1,6 +1,6 @@
+-#!/usr/bin/env ruby
++#! /usr/bin/ruby1.8
+ 
+-require File.dirname(__FILE__) + '/../lib/haml'
++require 'haml'
+ require 'haml/exec'
+ 
+ opts = Haml::Exec::HTML2Haml.new(ARGV)
+Index: libhaml-ruby-2.0.6/bin/sass
+===================================================================
+--- libhaml-ruby-2.0.6.orig/bin/sass	2008-12-17 05:14:51.000000000 -0600
++++ libhaml-ruby-2.0.6/bin/sass	2008-12-18 19:41:21.000000000 -0600
+@@ -1,7 +1,7 @@
+-#!/usr/bin/env ruby
++#! /usr/bin/ruby1.8
+ # The command line Sass parser.
+ 
+-require File.dirname(__FILE__) + '/../lib/haml'
++require 'haml'
+ require 'haml/exec'
+ 
+ opts = Haml::Exec::Sass.new(ARGV)

Added: packages-wip/libhaml-ruby/trunk/debian/patches/get-version-from-right-path
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/patches/get-version-from-right-path	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/patches/get-version-from-right-path	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,16 @@
+# Upstream has defined that, at initialization, the version number should
+# be retrieved from the path this would be installed... Were it to be installed
+# as a Gem :-/ Fix that... In a somewhat dirty way, but still.
+Index: libhaml-ruby-2.0.6/lib/haml.rb
+===================================================================
+--- libhaml-ruby-2.0.6.orig/lib/haml.rb	2008-12-18 19:29:36.000000000 -0600
++++ libhaml-ruby-2.0.6/lib/haml.rb	2008-12-18 19:34:39.000000000 -0600
+@@ -1002,7 +1002,7 @@
+   def self.version
+     return @@version if defined?(@@version)
+ 
+-    numbers = File.read(scope('VERSION')).strip.split('.').map { |n| n.to_i }
++    numbers = File.read('/usr/lib/ruby/1.8/haml/VERSION').strip.split('.').map { |n| n.to_i }
+     @@version = {
+       :major => numbers[0],
+       :minor => numbers[1],

Added: packages-wip/libhaml-ruby/trunk/debian/patches/series
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/patches/series	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/patches/series	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,2 @@
+fix-hardcoded-gem-paths
+get-version-from-right-path

Added: packages-wip/libhaml-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/rules	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/rules	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+install/libhaml-ruby1.8::
+	install -m 0644 VERSION ./debian/libhaml-ruby1.8/usr/lib/ruby/1.8/haml/


Property changes on: packages-wip/libhaml-ruby/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages-wip/libhaml-ruby/trunk/debian/watch
===================================================================
--- packages-wip/libhaml-ruby/trunk/debian/watch	                        (rev 0)
+++ packages-wip/libhaml-ruby/trunk/debian/watch	2008-12-19 02:04:12 UTC (rev 3135)
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/nex3/haml (.*).tar.gz




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