debian/0000755000000000000000000000000012261023065007163 5ustar debian/rules0000755000000000000000000000067712245156446010271 0ustar #!/usr/bin/make -f # -*- makefile-gmake -*- # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 export DH_RUBY_GEMSPEC=debian/htree.gemspec %: dh $@ --buildsystem=ruby --with ruby # move htree.rb, htree into lib on buildtime, because gem2deb needs lib/ override_dh_auto_configure: mkdir lib cp -R htree.rb htree lib/ dh_auto_configure -O--buildsystem=ruby override_dh_auto_clean: rm -rf lib dh_auto_clean -O--buildsystem=ruby debian/ruby-htree.docs0000644000000000000000000000000712245156446012134 0ustar README debian/watch0000644000000000000000000000012612260101134010204 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://a-k-r.org/htree/htree-(.*)\.tar\.gz debian/source/0000755000000000000000000000000012245156446010477 5ustar debian/source/format0000644000000000000000000000001412245156446011705 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000004012261004122010565 0ustar [git-import-orig] filter = rdoc debian/copyright0000644000000000000000000000765412245741555011147 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: htree Source: http://www.a-k-r.org/htree/ Files: * Copyright: Tanaka Akira License: Ruby or GPL-2 Comment: first public release of htree was released in 2004. Ruby switched license with Ruby 1.9 in 2007. Since upstream does not respond to https://github.com/akr/htree/issues/1 we are assuming 'Ruby or GPL-2'. Instead of 'Ruby or BSD-2-clause'. Files: debian/* Copyright: 2004-2008 Takuo KITAME 2008-2013 NIIBE Yutaka 2013 Jonas Genannt License: GPL-2 License: GPL-2 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. . 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 program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. License: Ruby Ruby is copyrighted free software by Yukihiro Matsumoto . You can redistribute it and/or modify it under either the terms of the GPL version 2 (see the file GPL), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: . a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. . For the list of those files and their copying conditions, see the file LEGAL. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. debian/control0000644000000000000000000000360412261022165010571 0ustar Source: ruby-htree Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: NIIBE Yutaka , Jonas Genannt Build-Depends: debhelper (>= 9), gem2deb (>= 0.4.1~) Standards-Version: 3.9.5 Homepage: http://www.a-k-r.org/htree/ Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-htree.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-htree.git;a=summary XS-Ruby-Versions: all Package: ruby-htree Architecture: all XB-Ruby-Versions: ${ruby:Versions} Replaces: libhtree-ruby1.8 (<< 0.8+dfsg-1~), libhtree-ruby1.9 (<< 0.8+dfsg-1~) Breaks: libhtree-ruby1.8 (<< 0.8+dfsg-1~), libhtree-ruby1.9 (<< 0.8+dfsg-1~) Provides: libhtree-ruby1.8, libhtree-ruby1.9.1 Depends: ruby | ruby-interpreter, ${misc:Depends}, ${shlibs:Depends} Description: HTML/XML tree library for Ruby htree provides a tree data structure which represent HTML and XML data. Features: * permissive unified HTML/XML parser * byte-to-byte round-tripping unparser * XML namespace support * dedicated class for escaped string. * HTML/XHTML/XML generator * template engine * recursive template expansion * converter to REXML document Package: libhtree-ruby1.8 Section: oldlibs Priority: extra Architecture: all Depends: ruby-htree, ${misc:Depends} Description: Transitional package from libhtree-ruby1.8 to ruby-htree This is a transitional package to ease upgrades to the ruby-htree package. It can safely be removed. . libhtree-ruby1.8 to ruby-htree Package: libhtree-ruby1.9.1 Section: oldlibs Priority: extra Architecture: all Depends: ruby-htree, ${misc:Depends} Description: Transitional package from libhtree-ruby1.9.1 to ruby-htree This is a transitional package to ease upgrades to the ruby-htree package. It can safely be removed. . libhtree-ruby1.9.1 to ruby-htree debian/htree.gemspec0000644000000000000000000000203712245156446011655 0ustar # Generated by jeweler # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = "htree" s.version = "0.8" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Tanaka Akira"] s.date = "2013-11-26" s.description = "htree provides a tree data structure which represent HTML and XML data." s.email = ["akr@fsij.org"] s.extra_rdoc_files = [ "README" ] s.files = [ "lib" ] s.homepage = "http://www.a-k-r.org/htree/" s.require_paths = ["lib"] s.rubygems_version = "1.8.23" s.summary = "Ruby HTML/XML tree library" if s.respond_to? :specification_version then s.specification_version = 3 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then s.add_development_dependency(%q, [">= 2.3"]) else s.add_dependency(%q, [">= 2.3"]) end else s.add_dependency(%q, [">= 2.3"]) end end debian/compat0000644000000000000000000000000212245156446010375 0ustar 9 debian/README.source0000644000000000000000000000027512260101134011337 0ustar htree source for Debian ------------------------ This source is created by pre-stripping the embedded rdoc directory. This rdoc directory contains minified javascript without source code. debian/changelog0000644000000000000000000000600012261021527011032 0ustar ruby-htree (0.8+dfsg-2) unstable; urgency=medium * Team upload * Bump Debian version to unbreak version check in transitional packages. -- Cédric Boutillier Wed, 01 Jan 2014 15:15:53 +0100 ruby-htree (0.8+dfsg-1) unstable; urgency=medium * created debian/ with gem2deb - renamed package to new Debian ruby policy (Closes: #722371) - updated long description - d/copyright: to DEP-5 format * moved package to Ruby pkg extras team (Closes: #677287) * added myself as Uploader -- Jonas Genannt Sun, 29 Dec 2013 18:06:04 +0100 htree (0.8-1) unstable; urgency=low * New upstream release. * debian/source/format: New. * debian/patches/01-makefile.diff: New. * debian/rules: Re-write for newer debhelper. -- NIIBE Yutaka Wed, 10 Jul 2013 07:29:37 +0000 htree (0.7-5) unstable; urgency=low * debian/control (Build-Depends, Build-Depends-Indep): Added ruby1.8, removed rdoc (Closes: #581317). Thanks to Lucas Nussbaum (Homepage): Added. -- NIIBE Yutaka Thu, 13 May 2010 10:39:40 +0900 htree (0.7-4) unstable; urgency=low Ruby 1.9.1 fixes (Closes: #569878). Thanks to Lucas Nussbaum * debian/control (Package): Package name is libhtree-ruby1.9.1 now. (Depends): libruby1.9.1. * debian/rules: libtree-ruby1.9.1. * debian/libhtree-ruby1.9.{dirs,docs,install}: Renamed to 1.9.1. * debian/libhtree-ruby1.9.1.install: Follow the change of pathname. -- NIIBE Yutaka Wed, 24 Mar 2010 11:52:58 +0900 htree (0.7-3) unstable; urgency=low * debian/control (Standards-Version): Updated to 3.8.4. (Section): Changed to ruby (was: interpreters). (Depends): Added ${misc:Depends}. * debian/rules: Use 1.9.1 for load path (Closes: #569878). * debian/libhtree-ruby1.9.{dirs,install}: Ditto. -- NIIBE Yutaka Wed, 24 Feb 2010 14:48:10 +0900 htree (0.7-2) unstable; urgency=low * debian/rules: Use 1.9.0 for load path (Closes: #484620). * debian/libhtree-ruby1.9.{dirs,install}: Ditto. -- NIIBE Yutaka Fri, 13 Jun 2008 08:41:01 +0900 htree (0.7-1) unstable; urgency=low * New upstream release. * debian/watch: New file. * debian/control: Added libhtree-ruby1.9 (Closes: #379017). -- NIIBE Yutaka Mon, 14 Apr 2008 13:16:50 +0900 htree (0.6-1) unstable; urgency=low * New maintainer (Closes: #472715). * New upstream release (Closes: #379016). -- NIIBE Yutaka Fri, 28 Mar 2008 12:41:25 +0900 htree (0.0.20040714-1) unstable; urgency=low * New upstream release * cvs checkout on 20040714 -- Takuo KITAME Wed, 14 Jul 2004 16:17:40 +0900 htree (0.0.20040617-1) unstable; urgency=low * New upstream release -- Takuo KITAME Fri, 18 Jun 2004 12:30:00 +0900 htree (0.0.20040611-1) unstable; urgency=low * Initial Release. -- Takuo KITAME Fri, 11 Jun 2004 11:08:55 +0900 debian/ruby-tests.rb0000644000000000000000000000014712256653021011640 0ustar # force encoding to UTF-8 Encoding.default_external = 'UTF-8' Dir['test/*.rb'].each { |f| require f }