summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/fakeweb')
-rw-r--r--dev-ruby/fakeweb/ChangeLog7
-rw-r--r--dev-ruby/fakeweb/fakeweb-1.3.0.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ruby/fakeweb/ChangeLog b/dev-ruby/fakeweb/ChangeLog
index b8ad2d5f6d7d..188266a456bc 100644
--- a/dev-ruby/fakeweb/ChangeLog
+++ b/dev-ruby/fakeweb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/fakeweb
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakeweb/ChangeLog,v 1.9 2010/08/31 19:55:53 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakeweb/ChangeLog,v 1.10 2010/09/18 16:14:46 graaff Exp $
+
+*fakeweb-1.3.0 (18 Sep 2010)
+
+ 18 Sep 2010; Hans de Graaff <graaff@gentoo.org> +fakeweb-1.3.0.ebuild:
+ Version bump.
31 Aug 2010; Alex Legler <a3li@gentoo.org> fakeweb-1.2.8.ebuild:
Add REE 1.8 support.
diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.ebuild
new file mode 100644
index 000000000000..638fc5b93d44
--- /dev/null
+++ b/dev-ruby/fakeweb/fakeweb-1.3.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakeweb/fakeweb-1.3.0.ebuild,v 1.1 2010/09/18 16:14:46 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Helper for faking web requests in Ruby"
+HOMEPAGE="http://github.com/chrisk/fakeweb"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/mocha-0.9.5
+ virtual/ruby-test-unit
+ !dev-ruby/test-unit:2
+ dev-ruby/samuel
+ dev-ruby/right_http_connection
+ )"
+
+all_ruby_prepare() {
+ # The package bundles samuel and right_http_connection, remove
+ # them and use the packages instead.
+ rm -r test/vendor || die "failed to remove bundled gems"
+
+ # We don't package sdoc and we don't have the direct template.
+ sed -i -e 's/sdoc/rdoc/' -e '/template/d' Rakefile || die
+}