diff options
author | fhajny <fhajny> | 2009-11-23 14:40:02 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2009-11-23 14:40:02 +0000 |
commit | a8c702fbe1fbdca4db30de9c434644c0c5b2f72c (patch) | |
tree | 5f08ef311cf75a88ce5b1dd1659bf8cd691673a6 /textproc | |
parent | 8855f8fafef911e0f26a0b69841f5d0795495ece (diff) | |
download | pkgsrc-a8c702fbe1fbdca4db30de9c434644c0c5b2f72c.tar.gz |
Update ruby-hpricot to 0.8.2.
Too many changes, see:
http://github.com/hpricot/hpricot/blob/master/CHANGELOG
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-hpricot/Makefile | 12 | ||||
-rw-r--r-- | textproc/ruby-hpricot/PLIST | 14 | ||||
-rw-r--r-- | textproc/ruby-hpricot/distinfo | 10 | ||||
-rw-r--r-- | textproc/ruby-hpricot/patches/patch-aa | 23 |
4 files changed, 31 insertions, 28 deletions
diff --git a/textproc/ruby-hpricot/Makefile b/textproc/ruby-hpricot/Makefile index 414e43cb5c0..a47557eb118 100644 --- a/textproc/ruby-hpricot/Makefile +++ b/textproc/ruby-hpricot/Makefile @@ -1,13 +1,17 @@ -# $NetBSD: Makefile,v 1.4 2008/06/19 15:21:35 taca Exp $ +# $NetBSD: Makefile,v 1.5 2009/11/23 14:40:02 fhajny Exp $ -DISTNAME= hpricot-0.6 +DISTNAME= hpricot-0.8.2 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= textproc MAINTAINER= minskim@NetBSD.org -HOMEPAGE= http://code.whytheluckystiff.net/hpricot/ +HOMEPAGE= http://wiki.github.com/hpricot/hpricot COMMENT= Fast, enjoyable HTML parser for Ruby +GEM_BUILD= gemspec + +post-extract: + cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w + .include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-hpricot/PLIST b/textproc/ruby-hpricot/PLIST index d34746d0cdd..26160bb8bcc 100644 --- a/textproc/ruby-hpricot/PLIST +++ b/textproc/ruby-hpricot/PLIST @@ -1,18 +1,25 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:17:28 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2009/11/23 14:40:02 fhajny Exp $ ${GEM_HOME}/cache/hpricot-${PKGVERSION}.gem -${GEM_LIBDIR}/.require_paths ${GEM_LIBDIR}/CHANGELOG ${GEM_LIBDIR}/COPYING ${GEM_LIBDIR}/README ${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/ext/fast_xs/FastXsService.java +${GEM_LIBDIR}/ext/fast_xs/extconf.rb +${GEM_LIBDIR}/ext/fast_xs/fast_xs.c +${GEM_LIBDIR}/ext/hpricot_scan/HpricotCss.java ${GEM_LIBDIR}/ext/hpricot_scan/HpricotScanService.java ${GEM_LIBDIR}/ext/hpricot_scan/extconf.rb ${GEM_LIBDIR}/ext/hpricot_scan/hpricot_common.rl +${GEM_LIBDIR}/ext/hpricot_scan/hpricot_css.c +${GEM_LIBDIR}/ext/hpricot_scan/hpricot_css.java.rl +${GEM_LIBDIR}/ext/hpricot_scan/hpricot_css.rl ${GEM_LIBDIR}/ext/hpricot_scan/hpricot_scan.c ${GEM_LIBDIR}/ext/hpricot_scan/hpricot_scan.h ${GEM_LIBDIR}/ext/hpricot_scan/hpricot_scan.java.rl ${GEM_LIBDIR}/ext/hpricot_scan/hpricot_scan.rl ${GEM_LIBDIR}/extras/mingw-rbconfig.rb +${GEM_LIBDIR}/lib/fast_xs.${RUBY_DLEXT} ${GEM_LIBDIR}/lib/hpricot.rb ${GEM_LIBDIR}/lib/hpricot/blankslate.rb ${GEM_LIBDIR}/lib/hpricot/builder.rb @@ -25,7 +32,7 @@ ${GEM_LIBDIR}/lib/hpricot/tag.rb ${GEM_LIBDIR}/lib/hpricot/tags.rb ${GEM_LIBDIR}/lib/hpricot/traverse.rb ${GEM_LIBDIR}/lib/hpricot/xchar.rb -${GEM_LIBDIR}/lib/${RUBY_ARCH}/hpricot_scan.${RUBY_DLEXT} +${GEM_LIBDIR}/lib/hpricot_scan.${RUBY_DLEXT} ${GEM_LIBDIR}/test/files/basic.xhtml ${GEM_LIBDIR}/test/files/boingboing.html ${GEM_LIBDIR}/test/files/cy0.html @@ -37,6 +44,7 @@ ${GEM_LIBDIR}/test/files/utf8.html ${GEM_LIBDIR}/test/files/week9.html ${GEM_LIBDIR}/test/files/why.xml ${GEM_LIBDIR}/test/load_files.rb +${GEM_LIBDIR}/test/nokogiri-bench.rb ${GEM_LIBDIR}/test/test_alter.rb ${GEM_LIBDIR}/test/test_builder.rb ${GEM_LIBDIR}/test/test_parser.rb diff --git a/textproc/ruby-hpricot/distinfo b/textproc/ruby-hpricot/distinfo index fefeb719430..dddac628563 100644 --- a/textproc/ruby-hpricot/distinfo +++ b/textproc/ruby-hpricot/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2008/04/04 15:21:39 jlam Exp $ +$NetBSD: distinfo,v 1.4 2009/11/23 14:40:02 fhajny Exp $ -SHA1 (hpricot-0.6.gem) = 4be23c83200d8446f25d2441a5154f53d41a34f2 -RMD160 (hpricot-0.6.gem) = 80f785afd1d25219b6769271201733a934b52450 -Size (hpricot-0.6.gem) = 217088 bytes -SHA1 (patch-aa) = f43bdb71f1810181320f58c0b0d9f0a7227b08af +SHA1 (hpricot-0.8.2.gem) = f6f65d9c5c6e64acafbe23d0c6080c3c99007464 +RMD160 (hpricot-0.8.2.gem) = 62aa2baa642167ca04ed4cfe1822692984e35985 +Size (hpricot-0.8.2.gem) = 264192 bytes +SHA1 (patch-aa) = 3c739ff41a8e7812ddc22a506ef9206e3ec9fb6a diff --git a/textproc/ruby-hpricot/patches/patch-aa b/textproc/ruby-hpricot/patches/patch-aa index 2545d064254..0f49e668d52 100644 --- a/textproc/ruby-hpricot/patches/patch-aa +++ b/textproc/ruby-hpricot/patches/patch-aa @@ -1,22 +1,13 @@ -$NetBSD: patch-aa,v 1.3 2008/04/04 15:21:39 jlam Exp $ +$NetBSD: patch-aa,v 1.4 2009/11/23 14:40:02 fhajny Exp $ ---- Rakefile.orig 1969-12-31 19:00:00.000000000 -0500 +--- Rakefile.orig 2009-04-27 18:26:24.657742000 +0000 +++ Rakefile -@@ -7,7 +7,7 @@ require 'fileutils' - include FileUtils +@@ -9,7 +9,7 @@ include FileUtils + RbConfig = Config unless defined?(RbConfig) NAME = "hpricot" --REV = `svn info`[/Revision: (\d+)/, 1] rescue nil +-REV = (`#{ENV['GIT'] || "git"} rev-list HEAD`.split.length + 1).to_s +REV = nil - VERS = ENV['VERSION'] || "0.6" + (REV ? ".#{REV}" : "") + VERS = ENV['VERSION'] || "0.8" + (REV ? ".#{REV}" : "") PKG = "#{NAME}-#{VERS}" - BIN = "*.{bundle,jar,so,obj,pdb,lib,def,exp}" -@@ -127,7 +127,7 @@ end - ### Win32 Packages ### - - Win32Spec = SPEC.dup --Win32Spec.platform = Gem::Platform::WIN32 -+Win32Spec.platform = Gem::Platform::CURRENT - Win32Spec.files = PKG_FILES + ["#{ARCHLIB}/hpricot_scan.so"] - Win32Spec.extensions = [] - + BIN = "*.{bundle,jar,so,o,obj,pdb,lib,def,exp,class}" |