diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-10-03 08:38:07 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-10-03 08:38:07 +0000 |
commit | 3f48910ca716ab54b05abd093acd626f8ae4c2b7 (patch) | |
tree | e57cb6b3cb83550cd7604a76540def5f99eb2677 /dev-ruby/webmock | |
parent | Removed . in DESCRIPTION (diff) | |
download | gentoo-2-3f48910ca716ab54b05abd093acd626f8ae4c2b7.tar.gz gentoo-2-3f48910ca716ab54b05abd093acd626f8ae4c2b7.tar.bz2 gentoo-2-3f48910ca716ab54b05abd093acd626f8ae4c2b7.zip |
Version bump with new test dependencies. Dropped ppc64 and x86 due to them: bug 339565.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/webmock')
-rw-r--r-- | dev-ruby/webmock/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/webmock/webmock-1.3.5.ebuild | 42 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-ruby/webmock/ChangeLog b/dev-ruby/webmock/ChangeLog index 4fa644dcb086..4454665450fd 100644 --- a/dev-ruby/webmock/ChangeLog +++ b/dev-ruby/webmock/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/webmock # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/ChangeLog,v 1.8 2010/09/29 22:10:25 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/ChangeLog,v 1.9 2010/10/03 08:38:07 graaff Exp $ + +*webmock-1.3.5 (03 Oct 2010) + + 03 Oct 2010; Hans de Graaff <graaff@gentoo.org> +webmock-1.3.5.ebuild: + Version bump with new test dependencies. Dropped ppc64 and x86 due to + them: bug 339565. 29 Sep 2010; Brent Baude <ranger@gentoo.org> webmock-0.9.1.ebuild: Marking webmock-0.9.1 ~ppc64 for bug 321283 diff --git a/dev-ruby/webmock/webmock-1.3.5.ebuild b/dev-ruby/webmock/webmock-1.3.5.ebuild new file mode 100644 index 000000000000..eb5d349c2886 --- /dev/null +++ b/dev-ruby/webmock/webmock-1.3.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/webmock-1.3.5.ebuild,v 1.1 2010/10/03 08:38:07 graaff Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ruby19" + +# We should also be running the specs using 'spec', but they are +# broken when both rspec 1.x and rspec 2.x are installed: +# http://github.com/bblimke/webmock/issues/issue/44 +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" +HOMEPAGE="http://github.com/bblimke/webmock" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/addressable-2.1.1 >=dev-ruby/crack-0.1.7" + +ruby_add_bdepend "test? ( + virtual/ruby-test-unit + >=dev-ruby/rspec-1.2.9:0 + >=dev-ruby/httpclient-2.1.5.2 + >=dev-ruby/patron-0.4.9-r1 + >=dev-ruby/em-http-request-0.2.7 + )" + +all_ruby_prepare() { + # Don't require check_dependencies (using Jeweler) + sed -i \ + -e '/=> :check_dependencies/s:^:#:' \ + Rakefile || die "Rakefile fix failed" +} |