[DRE-commits] r2136 - in packages/libhtml-parser-ruby/trunk: . debian
lucas at alioth.debian.org
lucas at alioth.debian.org
Sat Dec 8 11:59:07 UTC 2007
Author: lucas
Date: 2007-12-08 11:59:07 +0000 (Sat, 08 Dec 2007)
New Revision: 2136
Added:
packages/libhtml-parser-ruby/trunk/debian/
packages/libhtml-parser-ruby/trunk/debian/changelog
packages/libhtml-parser-ruby/trunk/debian/compat
packages/libhtml-parser-ruby/trunk/debian/control
packages/libhtml-parser-ruby/trunk/debian/copyright
packages/libhtml-parser-ruby/trunk/debian/rules
Modified:
packages/libhtml-parser-ruby/trunk/htmltest.rb
packages/libhtml-parser-ruby/trunk/install.rb
packages/libhtml-parser-ruby/trunk/sgml-parser.rb
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: packages/libhtml-parser-ruby/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/libhtml-parser-ruby/trunk/debian/changelog
===================================================================
--- packages/libhtml-parser-ruby/trunk/debian/changelog (rev 0)
+++ packages/libhtml-parser-ruby/trunk/debian/changelog 2007-12-08 11:59:07 UTC (rev 2136)
@@ -0,0 +1,58 @@
+libhtml-parser-ruby (0.19990912.p2-5) unstable; urgency=low
+
+ * dropped ruby1.8 support. (Closes: #367918)
+
+ -- akira yamada <akira at debian.org> Mon, 5 Jun 2006 10:53:28 +0900
+
+libhtml-parser-ruby (0.19990912.p2-4) unstable; urgency=low
+
+ * debian/rules: uses ruby{1.6,1.8} instead of ruby, closes: #213746.
+
+ -- akira yamada <akira at debian.org> Fri, 3 Oct 2003 00:51:50 +0900
+
+libhtml-parser-ruby (0.19990912.p2-3) unstable; urgency=low
+
+ * Confilcts/Replaces: libhtml-parser-ruby (<< 0.19990912.p2-2).
+
+ -- akira yamada <akira at debian.org> Sat, 13 Sep 2003 16:19:57 +0900
+
+libhtml-parser-ruby (0.19990912.p2-2) unstable; urgency=low
+
+ * rebuild with ruby1.6 and ruby1.8.
+ * renamed to libhtml-parser-ruby1.6 from libhtml-parser-ruby.
+ * new sub-package libhtml-parser-ruby1.8 for Ruby 1.8.
+
+ -- akira yamada <akira at debian.org> Sat, 13 Sep 2003 15:32:26 +0900
+
+libhtml-parser-ruby (0.19990912.p2-1) unstable; urgency=low
+
+ * updated new upstream version.
+ * applied a patch, closes: #151897.
+ * Standards-Version: 3.5.8
+
+ -- akira yamada <akira at debian.org> Sat, 18 Jan 2003 17:42:29 +0900
+
+libhtml-parser-ruby (0.19990912.p1-4) unstable; urgency=low
+
+ * debian/rules: execute debian/fixpath.sh using /bin/sh. closes: #142109.
+
+ -- akira yamada <akira at debian.org> Fri, 12 Apr 2002 11:08:07 +0900
+
+libhtml-parser-ruby (0.19990912.p1-3) unstable; urgency=low
+
+ * reubuilt with ruby_1.6.2-5.
+ * Architecture: all
+
+ -- akira yamada <akira at debian.org> Thu, 25 Jan 2001 16:14:53 +0900
+
+libhtml-parser-ruby (0.19990912.p1-2) unstable; urgency=low
+
+ * fixed missing Build-Depends and Depends.
+
+ -- akira yamada <akira at debian.org> Wed, 4 Oct 2000 15:58:52 +0900
+
+libhtml-parser-ruby (0.19990912.p1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- akira yamada <akira at debian.org> Wed, 4 Oct 2000 14:42:02 +0900
Added: packages/libhtml-parser-ruby/trunk/debian/compat
===================================================================
--- packages/libhtml-parser-ruby/trunk/debian/compat (rev 0)
+++ packages/libhtml-parser-ruby/trunk/debian/compat 2007-12-08 11:59:07 UTC (rev 2136)
@@ -0,0 +1 @@
+4
Added: packages/libhtml-parser-ruby/trunk/debian/control
===================================================================
--- packages/libhtml-parser-ruby/trunk/debian/control (rev 0)
+++ packages/libhtml-parser-ruby/trunk/debian/control 2007-12-08 11:59:07 UTC (rev 2136)
@@ -0,0 +1,16 @@
+Source: libhtml-parser-ruby
+Section: interpreters
+Priority: optional
+Maintainer: akira yamada <akira at debian.org>
+Build-Depends-Indep: debhelper (>> 3), ruby1.8, ruby1.8-dev
+Standards-Version: 3.6.2
+
+Package: libhtml-parser-ruby1.8
+Architecture: all
+Depends: libruby1.8
+Description: HTML parser library for Ruby 1.8
+ The html-parser package is a variant language implementation of the
+ Python's SGML parser (sgmllib.py), HTML parser (htmllib.py) and
+ Formatter (formatter.py).
+ .
+ This package provides the library for Ruby 1.8.
Added: packages/libhtml-parser-ruby/trunk/debian/copyright
===================================================================
--- packages/libhtml-parser-ruby/trunk/debian/copyright (rev 0)
+++ packages/libhtml-parser-ruby/trunk/debian/copyright 2007-12-08 11:59:07 UTC (rev 2136)
@@ -0,0 +1,71 @@
+This package was debianized by akira yamada <akira at debian.org> on
+Wed, 4 Oct 2000 14:42:02 +0900.
+
+It was downloaded from
+<URL:http://www.jin.gr.jp/~nahi/Ruby/html-parser/README.html>
+
+Upstream Authors: Takahiro Maebashi <maebashi at iij.ad.jp>,
+Katsuyuki Komatsu <komatsu at sarion.co.jp>
+
+Copyright:
+
+Ruby is copyrighted free software by Yukihiro Matsumoto <matz at netlab.co.jp>.
+You can redistribute it and/or modify it under either the terms of the GPL
+(see COPYING file), 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) rename any non-standard executables so the names do not conflict
+ with standard executables, which must also be provided.
+
+ d) make other distribution arrangements with the author.
+
+ 3. You may distribute the software in object code or executable
+ form, provided that you do at least ONE of the following:
+
+ a) distribute the executables 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 executables 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 this terms.
+ They are gc.c(partly), utils.c(partly), regex.[ch], fnmatch.[ch],
+ glob.c, st.[ch] and some files under the ./missing directory. See
+ each file for the copying condition.
+
+ 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 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE.
+
+--
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
Added: packages/libhtml-parser-ruby/trunk/debian/rules
===================================================================
--- packages/libhtml-parser-ruby/trunk/debian/rules (rev 0)
+++ packages/libhtml-parser-ruby/trunk/debian/rules 2007-12-08 11:59:07 UTC (rev 2136)
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+#export DH_COMPAT=3
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ #$(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ #-$(MAKE) clean
+
+ -rm -f debian/dirs
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp.
+ ruby1.8 install.rb $(CURDIR)/debian/libhtml-parser-ruby1.8
+
+# Build architecture-independent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-indep: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs -A README*
+ dh_installexamples -A htmltest.rb
+# dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installinit
+# dh_installcron
+# dh_installmanpages
+# dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link
+# dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: packages/libhtml-parser-ruby/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Modified: packages/libhtml-parser-ruby/trunk/htmltest.rb
===================================================================
--- packages/libhtml-parser-ruby/trunk/htmltest.rb 2007-12-08 11:59:00 UTC (rev 2135)
+++ packages/libhtml-parser-ruby/trunk/htmltest.rb 2007-12-08 11:59:07 UTC (rev 2136)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/ruby
+#! /usr/bin/ruby
require "html-parser"
require "formatter"
Modified: packages/libhtml-parser-ruby/trunk/install.rb
===================================================================
--- packages/libhtml-parser-ruby/trunk/install.rb 2007-12-08 11:59:00 UTC (rev 2135)
+++ packages/libhtml-parser-ruby/trunk/install.rb 2007-12-08 11:59:07 UTC (rev 2136)
@@ -7,13 +7,14 @@
include Config
+$destdir = ARGV.shift
$srcdir = CONFIG["srcdir"]
$version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
$libdir = File.join(CONFIG["libdir"], "ruby", $version)
$archdir = File.join($libdir, CONFIG["arch"])
$site_libdir = CONFIG["sitedir"]
if !$site_libdir
- $site_libdir = $:.find {|x| x =~ /site_ruby$/}
+ $site_libdir = $:.find {|x| x =~ /site_ruby$/}#/
end
if !$site_libdir
$site_libdir = File.join($libdir, "site_ruby")
@@ -34,13 +35,13 @@
end
for f in dir
if f == "."
- File::makedirs($site_libdir)
+ File::makedirs(File.join($destdir, $libdir))
else
- File::makedirs(File.join($site_libdir, f))
+ File::makedirs(File.join($destdir, $libdir, f))
end
end
for f in path
- File::install(File.join(libdir, f), File.join($site_libdir, f), nil, true)
+ File::install(File.join(libdir, f), File.join($destdir, $libdir, f), nil, true)
end
end
Modified: packages/libhtml-parser-ruby/trunk/sgml-parser.rb
===================================================================
--- packages/libhtml-parser-ruby/trunk/sgml-parser.rb 2007-12-08 11:59:00 UTC (rev 2135)
+++ packages/libhtml-parser-ruby/trunk/sgml-parser.rb 2007-12-08 11:59:07 UTC (rev 2136)
@@ -254,7 +254,7 @@
end
return
end
- found = @stack.index(tag) #or @stack.length
+ found = @stack.rindex(tag) #or @stack.length
end
while @stack.length > found
tag = @stack[-1]
More information about the Pkg-ruby-extras-commits
mailing list