summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-27 07:52:31 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-27 07:52:31 +0000
commit1785015e52ab1a2c5534f365e037475241dee390 (patch)
tree3af7366014bf1d4f74d9456aab04832d1291e9e6 /dev-ruby/hpricot
parentNew package to fill in the twisted suite. (diff)
downloadhistorical-1785015e52ab1a2c5534f365e037475241dee390.tar.gz
historical-1785015e52ab1a2c5534f365e037475241dee390.tar.bz2
historical-1785015e52ab1a2c5534f365e037475241dee390.zip
Version bump.
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/hpricot')
-rw-r--r--dev-ruby/hpricot/ChangeLog7
-rw-r--r--dev-ruby/hpricot/Manifest12
-rw-r--r--dev-ruby/hpricot/hpricot-0.8.5.ebuild50
3 files changed, 63 insertions, 6 deletions
diff --git a/dev-ruby/hpricot/ChangeLog b/dev-ruby/hpricot/ChangeLog
index 199b5bd624ee..1275b1edf244 100644
--- a/dev-ruby/hpricot/ChangeLog
+++ b/dev-ruby/hpricot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/hpricot
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.33 2011/08/07 14:02:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.34 2011/12/27 07:52:31 graaff Exp $
+
+*hpricot-0.8.5 (27 Dec 2011)
+
+ 27 Dec 2011; Hans de Graaff <graaff@gentoo.org> +hpricot-0.8.5.ebuild:
+ Version bump.
07 Aug 2011; Raúl Porcel <armin76@gentoo.org> hpricot-0.8.4.ebuild,
hpricot-0.8.4-r1.ebuild:
diff --git a/dev-ruby/hpricot/Manifest b/dev-ruby/hpricot/Manifest
index 1f3e373772e9..3ae781922a8f 100644
--- a/dev-ruby/hpricot/Manifest
+++ b/dev-ruby/hpricot/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX hpricot-0.8.2-jruby.patch 11246 RMD160 8677247d960c3554b576f5ca7fab8e3edc32d511 SHA1 fddf0a60298de43b159bc38e8a08f0223b4cc191 SHA256 a13a7fa2f42b44159af6b2e59a7b1e48c4b6c3bc267d46b6c6cfe6c5222e39fc
DIST hpricot-0.8.4.gem 278016 RMD160 88e96058a5b988e12ed28562bb0b183b8e7d2177 SHA1 029ef48af199aa5bf05c99b4173244ae4c9852c8 SHA256 234590794c68ccf809f5803baaec6bb02016d0860f93229d5bd6e05ca06cbf5a
+DIST hpricot-0.8.5.gem 293376 RMD160 9d8e8117e2036a22672eeed5e00a8a741885ae93 SHA1 b253b9aa5c86cec5978a4f33343656a8c0f8ceb9 SHA256 c51f9efdfa4f964a484e821bb13431f426676c2584a680d1fb874a3b6e5a46df
EBUILD hpricot-0.8.4-r1.ebuild 1086 RMD160 f806d2378c3d8d315bf19d18a0d177d04c79dff7 SHA1 bc08c4f29aa626b3c1e015fa02a1b6860963cbc6 SHA256 2031a2e35e6cb504205455bb76e3eb7c8021edb27ad84dcbfc4ccffa70a119f2
EBUILD hpricot-0.8.4.ebuild 1074 RMD160 69c167b5ba46ee19ef2a994b3835a411d56e4659 SHA1 c9bec636c04748e00a9c291018f72ecf207d8d31 SHA256 c4895f3ccb29feaa2b611e930744837afb053f82093ce73507905241f9c9ce4d
-MISC ChangeLog 4327 RMD160 9612539156633a13b11b9e8d87fc33f5ed1ac7bf SHA1 6e1cd4fd21a3511decfd2859b2be5869d6af20b2 SHA256 4af56765dec8c7efb85cef469320a89919f9dca3a762b9e6f22b83a90c7a7323
+EBUILD hpricot-0.8.5.ebuild 1387 RMD160 7015dcb938e044101a595b076857e70518c6350d SHA1 88c1c748376436893e94e5d013e2b7442b4ddec9 SHA256 a35f625b62292f42e30b8c4cd613c6d7270616ea19e3980752a7ffd1f79caa71
+MISC ChangeLog 4446 RMD160 825f7a01fe6bd53e04c6f75872bdefc780a76258 SHA1 d1faf26abb85154e2ea24704985839620156f974 SHA256 185a0ed27655da131160ce8e07ec6283ffad81c2458e65dc0bf062ccd255057a
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4+mu8ACgkQuQc30/atMkCdqwCfZ486IGRXpJE9LqTWKQmEu/hR
-Wa0An0YM0QPhwFt6NzlDirOYPVHXk1RI
-=+wOe
+iF4EAREIAAYFAk75eUUACgkQiIP6VqMIqNdUQwEAkyE3MhRkcWusJ7kn92JW5ZGu
+THkFdvGBPCYjbDRy+GkA/i4c1W+rbbNL/WugRzAHVR2H3pOBB6FYdQi/nD9RmifR
+=rIpA
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/hpricot/hpricot-0.8.5.ebuild b/dev-ruby/hpricot/hpricot-0.8.5.ebuild
new file mode 100644
index 000000000000..a6fae694ed8e
--- /dev/null
+++ b/dev-ruby/hpricot/hpricot-0.8.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.5.ebuild,v 1.1 2011/12/27 07:52:31 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="A fast and liberal HTML parser for Ruby."
+HOMEPAGE="http://wiki.github.com/hpricot/hpricot"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+# Probably needs the same jdk as JRuby but I'm not sure how to express
+# that just yet.
+DEPEND="${DEPEND}
+ dev-util/ragel
+ ruby_targets_jruby? ( >=virtual/jdk-1.5 )"
+RDEPEND="${RDEPEND}"
+
+ruby_add_bdepend "dev-ruby/rake
+ dev-ruby/rake-compiler
+ test? ( virtual/ruby-test-unit )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
+ # Fix encoding assumption of environment for Ruby 1.9.
+ # https://github.com/hpricot/hpricot/issues/52
+ sed -i -e '1 iEncoding.default_external=Encoding::UTF_8 if RUBY_VERSION =~ /1.9/' test/load_files.rb || die
+}
+
+each_ruby_compile() {
+ case $(basename ${RUBY}) in
+ jruby)
+ ${RUBY} -S rake compile_java || die "rake compile failed"
+ ;;
+ *)
+ ${RUBY} -S rake compile || die "rake compile failed"
+ ;;
+ esac
+}