--- libhpricot-ruby-0.8.2.orig/debian/compat +++ libhpricot-ruby-0.8.2/debian/compat @@ -0,0 +1 @@ +5 --- libhpricot-ruby-0.8.2.orig/debian/copyright +++ libhpricot-ruby-0.8.2/debian/copyright @@ -0,0 +1,50 @@ +This package was debianized by Ari Pollak on +Fri, 6 Oct 2006 19:22:48 -0400. + +It was downloaded from + +Copyright: (c) 2006 Why the lucky stiff + +License: + +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 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. + +------- + +There is one license inconsistency in one of the source files, which the +upstream author has cleared up: + +Date: Fri, 20 Oct 2006 19:38:22 -0500 +From: why the lucky stiff +To: Ari Pollak +Subject: Re: hpricot_scan license? + +On Fri, Oct 20, 2006 at 03:12:15PM -0400, Ari Pollak wrote: +> I'm currently packaging your HPricot library for Debian, and had a +> question about the license. The main COPYING file is an MIT-style +> license, but ext/hpricot_scan/hpricot_scan.h says it's licensed under +> the same terms as Ruby itself. Is this a special exception, or a +> mistake? + +A complete mistake, thank you for catching it and reporting it. The correct +license is MIT. + +------- + +The Debian packaging is Copyright (C) 2006, Ari Pollak +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- libhpricot-ruby-0.8.2.orig/debian/changelog +++ libhpricot-ruby-0.8.2/debian/changelog @@ -0,0 +1,74 @@ +libhpricot-ruby (0.8.2-1) karmic; urgency=low + + * New Upstream Version + + -- Cathal Mc Ginley Sun, 13 Dec 2009 23:54:11 +0000 + +libhpricot-ruby (0.8.1-1) unstable; urgency=low + + * New upstream release + * Bump Standards-Version (no changes) + * Add myself to uploaders + + -- Micah Anderson Wed, 19 Aug 2009 17:09:56 -0400 + +libhpricot-ruby (0.8-2) unstable; urgency=low + + * build ext/fast_xs too (Closes: #532949) + + -- Ryan Niebur Fri, 12 Jun 2009 22:55:53 -0700 + +libhpricot-ruby (0.8-1) unstable; urgency=low + + * fix watch file + * New upstream release + * remove patching, it's fixed upstream + * take over package with permission from Ari + * update standards version to 3.8.1 + * add DMUA field + * improve short descriptions + * add ${misc:Depends} + * fix d/copyright + * update Homepage + * remove debian/*.dirs, they are not needed + + -- Ryan Niebur Mon, 08 Jun 2009 00:15:45 -0700 + +libhpricot-ruby (0.6-2) unstable; urgency=low + + * Use new Homepage dpkg header. + * Bump build-dep on r-p-t to >= 0.14, fixes the ruby1.9 install + problem. + * Install to /usr/lib/ruby/1.9.0, not /usr/lib/ruby/1.9. + Closes: #484615. + + -- Lucas Nussbaum Mon, 16 Jun 2008 15:17:57 +0200 + +libhpricot-ruby (0.6-1) unstable; urgency=low + + * New upstream version + * Fix FTBFS with new ruby (Closes: #427463) + + -- Ari Pollak Thu, 21 Jun 2007 11:40:50 -0400 + +libhpricot-ruby (0.5-2) unstable; urgency=low + + * Upload to unstable + * Remove pkg-ruby-extras Uploaders rule as part of migration + + -- Ari Pollak Wed, 25 Apr 2007 11:05:01 -0400 + +libhpricot-ruby (0.5-1) experimental; urgency=low + + * New upstream version (Closes: #410458) + * Update watch file to only track stable versions + + -- Ari Pollak Mon, 20 Nov 2006 15:33:32 -0500 + +libhpricot-ruby (0.4-1) unstable; urgency=low + + * Initial release (Closes: #391329) + * Added note to debian/copyright about license inconsistency + + -- Ari Pollak Sat, 21 Oct 2006 19:22:48 -0400 + --- libhpricot-ruby-0.8.2.orig/debian/docs +++ libhpricot-ruby-0.8.2/debian/docs @@ -0,0 +1 @@ +README --- libhpricot-ruby-0.8.2.orig/debian/rules +++ libhpricot-ruby-0.8.2/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +DEB_AUTO_CLEANUP_RCS := yes + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk + +cdbs_pkgdir = $(CURDIR)/debian/$(cdbs_curpkg) +cdbs_ruby_libdir_ver = $(cdbs_pkgdir)$(DEB_RUBY_LIBDIR) +cdbs_ruby_archdir_ver = $(cdbs_pkgdir)$(DEB_RUBY_ARCHDIR) + +DEB_RUBY_INSTALL_ARGS = DESTDIR=$(cdbs_pkgdir) \ + sitelibdir=$(cdbs_ruby_libdir_ver) \ + sitearchdir=$(cdbs_ruby_archdir_ver) + +DEB_RUBY_SETUP_CMD:=extconf.rb + +DEB_SRCDIR:=$(shell readlink -f $(DEB_SRCDIR)) + +$(patsubst %,install/%,$(DEB_RUBY_REAL_LIB_PACKAGES)) :: install/% : + cd $(DEB_SRCDIR) + for i in fast_xs hpricot_scan; do echo "== doing $$i =="; cd ext/$$i && { [ ! -f Makefile ] || $(MAKE) distclean; } && /usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_RUBY_ARGS) $(DEB_RUBY_SETUP_CMD) $(DEB_RUBY_SETUP_ARGS) && $(MAKE) && $(MAKE) install $(DEB_RUBY_INSTALL_ARGS) && cd $(DEB_SRCDIR) || exit 1; done + +clean:: + for i in fast_xs hpricot_scan; do cd ext/$$i; [ ! -f Makefile ] || $(MAKE) distclean; cd $(DEB_SRCDIR); done + --- libhpricot-ruby-0.8.2.orig/debian/libhpricot-ruby1.9.install +++ libhpricot-ruby-0.8.2/debian/libhpricot-ruby1.9.install @@ -0,0 +1,2 @@ +lib/hpricot.rb usr/lib/ruby/1.9.0/ +lib/hpricot usr/lib/ruby/1.9.0/ --- libhpricot-ruby-0.8.2.orig/debian/libhpricot-ruby1.8.install +++ libhpricot-ruby-0.8.2/debian/libhpricot-ruby1.8.install @@ -0,0 +1,2 @@ +lib/hpricot.rb usr/lib/ruby/1.8/ +lib/hpricot usr/lib/ruby/1.8/ --- libhpricot-ruby-0.8.2.orig/debian/control +++ libhpricot-ruby-0.8.2/debian/control @@ -0,0 +1,55 @@ +Source: libhpricot-ruby +Section: interpreters +Priority: extra +Maintainer: Ryan Niebur +Uploaders: Debian Ruby Extras Maintainers , Micah Anderson +DM-Upload-Allowed: yes +Build-Depends: cdbs, debhelper (>= 5), ruby-pkg-tools (>= 0.8), + ruby1.8, ruby1.8-dev, ruby1.9, ruby1.9-dev +Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/libhpricot-ruby/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/libhpricot-ruby/ +Standards-Version: 3.8.3 +Homepage: http://wiki.github.com/why/hpricot + +Package: libhpricot-ruby +Architecture: all +Depends: ${misc:Depends}, libhpricot-ruby1.8 +Description: fast, enjoyable HTML parser + Hpricot is a fast, flexible HTML parser written in C. It's designed to be + very accomodating (like Tanaka Akira's HTree) and to have a very helpful + library (like some JavaScript libs -- JQuery, Prototype -- give you.) + . + Also, Hpricot can be handy for reading broken XML files, since many of the + same principles are used. If a quote is missing, Hpricot tries to figure it + out. If tags overlap, Hpricot works on sorting them out. + . + This is a dependency package which depends on Debian's default Ruby version + (currently 1.8). + +Package: libhpricot-ruby1.8 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: fast, enjoyable HTML parser (Ruby 1.8) + Hpricot is a fast, flexible HTML parser written in C. It's designed to be + very accomodating (like Tanaka Akira's HTree) and to have a very helpful + library (like some JavaScript libs -- JQuery, Prototype -- give you.) + . + Also, Hpricot can be handy for reading broken XML files, since many of the + same principles are used. If a quote is missing, Hpricot tries to figure it + out. If tags overlap, Hpricot works on sorting them out. + . + This package is built for Ruby 1.8. + +Package: libhpricot-ruby1.9 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: fast, enjoyable HTML parser (Ruby 1.9) + Hpricot is a fast, flexible HTML parser written in C. It's designed to be + very accomodating (like Tanaka Akira's HTree) and to have a very helpful + library (like some JavaScript libs -- JQuery, Prototype -- give you.) + . + Also, Hpricot can be handy for reading broken XML files, since many of the + same principles are used. If a quote is missing, Hpricot tries to figure it + out. If tags overlap, Hpricot works on sorting them out. + . + This package is built for Ruby 1.9. --- libhpricot-ruby-0.8.2.orig/debian/watch +++ libhpricot-ruby-0.8.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://rubyforge.org/frs/?group_id=215 .*hpricot-(.*)\.tgz