summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/nokogiri/Manifest14
-rw-r--r--dev-ruby/rexical/ChangeLog10
-rw-r--r--dev-ruby/rexical/files/rexical-1.0.4-ruby187.patch37
-rw-r--r--dev-ruby/rexical/metadata.xml5
-rw-r--r--dev-ruby/rexical/rexical-1.0.4.ebuild35
5 files changed, 100 insertions, 1 deletions
diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest
index 7c2ffbac0bbd..987a5ce668b1 100644
--- a/dev-ruby/nokogiri/Manifest
+++ b/dev-ruby/nokogiri/Manifest
@@ -1,3 +1,7 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX nokogiri-1.4.1-ruby19.patch 336 RMD160 72195083359b8e9a2ade643f4043e1fe8a791a7f SHA1 fb187fdb9071b617e372c0d8eeb2c09eedc276c0 SHA256 7f4edc71795d4b78739d21e44deba2819cb895b95ef07a0c928948ab31eaf109
DIST nokogiri-1.3.2.gem 296960 RMD160 7fcc00e63eeb4270bcb53ad08dc031f632052ef8 SHA1 d28030a5154e9420a2b3f490fed475edae24b767 SHA256 25c078e8d1bac65efe1829642229e325a7c60d8fefd87f83a788fb986d1abcc8
DIST nokogiri-1.3.3.gem 300032 RMD160 efe00a8b58ca020bbd3ebe6d7643e9bef00eda08 SHA1 44e6a96e5125a930f40caeb11149d3276e5703e4 SHA256 9fa019e7372f93302e34cc9989c832ea600593884b69d48b01bdc6696ef57fe9
DIST nokogiri-1.4.0.gem 165376 RMD160 04eca3dfb7191a5ac8859d35729ac719a00f32df SHA1 5c2b03d93e8204d7a09fc66ba05129144ad370c3 SHA256 89ed690aa46e80b0a3d39f66ec4359f5acefc97a11a867539c2f4147d743b7f3
@@ -5,6 +9,14 @@ DIST nokogiri-1.4.1.gem 176640 RMD160 9143fa7632827cfee3d74f2a6b3a8dfb04227fb9 S
EBUILD nokogiri-1.3.2.ebuild 510 RMD160 f3e12fccbc3305ae4703af5eda46c13cfc02c0aa SHA1 97d317f2582aa9906bef89b677eca9ab9e43b28f SHA256 1394f6516f13c5168d4708729a745c97d57db9ad2607609b802c1684addd3876
EBUILD nokogiri-1.3.3.ebuild 508 RMD160 a599d3288ec5e73c53f5b59c2dc6fc03631f538c SHA1 de96cc8b50cefc9b8a3d00312d1bc3faf740101c SHA256 48a6efdaffd0634b058792a1dd144020806a17b4d34c764ea7cfbc55a9b5328e
EBUILD nokogiri-1.4.0.ebuild 510 RMD160 963227bd138cc65d7102dc57b8938a2cd64b0077 SHA1 3876ff3d17d5c02d690da306c8d371fce7d74b23 SHA256 295316f68183454ffcdb70435352874d53d98521bf68b77cf90538e9a87797d3
+EBUILD nokogiri-1.4.1-r1.ebuild 915 RMD160 38e44c9ff4654b80a5056bad707a8e48cf7a0c74 SHA1 70582037babae6bad530281fb04e9449a211c3f5 SHA256 4f1f0f2abc95a70f3be24eb936cc9187d6c79279ba0f2eb88c794cd898d4c4f2
EBUILD nokogiri-1.4.1.ebuild 821 RMD160 6fc0a58cd8568ece938359badf441707502b3ea0 SHA1 2305c8423f09d8d61cd68497e4047fc145f7bbf0 SHA256 3d8d61c372ab05ed9bb42cb510b177a2bbcdc69b7affd2212e9f59c13edde29d
-MISC ChangeLog 3264 RMD160 a2d1dba541f46ad1dc4b1d2d11ee3095c57b1a45 SHA1 dc597dbad5abb7bebf4100bbf8e9c41a8d683b1f SHA256 5243e86bcce10a37727e199b122407922b4d0b39aa1618be7b812048fddc4727
+MISC ChangeLog 3526 RMD160 0d65082ef2cf70ead43af1c6fa96a32a3e05dc9f SHA1 1a6ece7bbfb29fd2ec87e4495186178f09888319 SHA256 85739686ed521bbfd24ccf2c1939f3c9aa9d2848fd4b1b9b08f8cc62cd218348
MISC metadata.xml 251 RMD160 31f012ad36db2d4125f29e8da90124d0a59c1ac2 SHA1 8738194626cdbb2bf28f1b9b4785863b6019a755 SHA256 59f004fe4f4489ab22df78419f826d46b8e3962348c5cd0e5acafeebd96eb3a2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktQdi4ACgkQAiZjviIA2XiU4QCgvi2IbOmPKgAChZaI2hn6wQ1Y
+46MAnjEQEHpxGoDjhoxZVH0r2c9Ms90w
+=08Pa
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rexical/ChangeLog b/dev-ruby/rexical/ChangeLog
new file mode 100644
index 000000000000..470f8cf0a9ab
--- /dev/null
+++ b/dev-ruby/rexical/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/rexical
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rexical/ChangeLog,v 1.1 2010/01/15 14:01:54 flameeyes Exp $
+
+*rexical-1.0.4 (15 Jan 2010)
+
+ 15 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +rexical-1.0.4.ebuild, +files/rexical-1.0.4-ruby187.patch, +metadata.xml:
+ Initial import of rexical, needed for nokogiri after patching.
+
diff --git a/dev-ruby/rexical/files/rexical-1.0.4-ruby187.patch b/dev-ruby/rexical/files/rexical-1.0.4-ruby187.patch
new file mode 100644
index 000000000000..6d5d8096e9fe
--- /dev/null
+++ b/dev-ruby/rexical/files/rexical-1.0.4-ruby187.patch
@@ -0,0 +1,37 @@
+From 0def37146dce8b2795443b04237e4e345dbaf59c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com>
+Date: Fri, 15 Jan 2010 14:54:45 +0100
+Subject: [PATCH] Make rexcmd.rb compatible with both MRI 1.8.7 and 1.9.
+
+As it was, rex only worked fine with JRuby 1.4.0 on Gentoo, and not with
+either MRI implementation. With this change, OPTIONS (which is a string) is
+used properly and works with all three implementations.
+---
+ lib/rexical/rexcmd.rb | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/rexical/rexcmd.rb b/lib/rexical/rexcmd.rb
+index 844bbf6..30b3300 100644
+--- a/lib/rexical/rexcmd.rb
++++ b/lib/rexical/rexcmd.rb
+@@ -63,7 +63,7 @@ EOT
+ def initialize
+ @status = 2
+ @cmd = File.basename($0, ".rb")
+- tmp = OPTIONS.collect do |line|
++ tmp = OPTIONS.lines.collect do |line|
+ next if /\A\s*\z/ === line
+ disp, sopt, lopt, takearg, doc = line.strip.split(/\s+/, 5)
+ a = []
+@@ -109,7 +109,7 @@ Usage: #{@cmd} [options] <grammar file>
+ Options:
+ EOT
+
+- OPTIONS.each do |line|
++ OPTIONS.each_line do |line|
+ next if line.strip.empty?
+ if /\A\s*\z/ === line
+ f.puts
+--
+1.6.6
+
diff --git a/dev-ruby/rexical/metadata.xml b/dev-ruby/rexical/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/rexical/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/rexical/rexical-1.0.4.ebuild b/dev-ruby/rexical/rexical-1.0.4.ebuild
new file mode 100644
index 000000000000..b159eff61dbe
--- /dev/null
+++ b/dev-ruby/rexical/rexical-1.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rexical/rexical-1.0.4.ebuild,v 1.1 2010/01/15 14:01:54 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc DOCUMENTATION.en.rdoc DOCUMENTATION.ja.rdoc README.ja README.rdoc"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="Rexical is a lexical scanner generator"
+HOMEPAGE="http://github.com/tenderlove/rexical/tree/master"
+LICENSE="LGPL-2" # plus exception
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend doc "dev-ruby/hoe"
+ruby_add_bdepend test "dev-ruby/hoe virtual/ruby-test-unit"
+
+all_ruby_prepare() {
+ epatch "${FILESDIR}"/${P}-ruby187.patch
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc sample/* || die
+}