diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-07-21 20:07:29 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-07-21 21:38:00 +0200 |
commit | cee8839f5ee3dfc5911f62b796010e771b525efe (patch) | |
tree | 505857f37f5095515c0fb6179f70b69adf86caa3 /dev-ruby | |
parent | 68ee70407cc70d637663ad9e57e7519635a5ad3f (diff) | |
download | gentoo-cee8839f5ee3dfc5911f62b796010e771b525efe.tar.gz gentoo-cee8839f5ee3dfc5911f62b796010e771b525efe.tar.xz |
dev-ruby/mocha: cleanup
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mocha/mocha-0.12.10.ebuild | 53 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.13.3-r1.ebuild | 38 |
2 files changed, 0 insertions, 91 deletions
diff --git a/dev-ruby/mocha/mocha-0.12.10.ebuild b/dev-ruby/mocha/mocha-0.12.10.ebuild deleted file mode 100644 index 1e7747c636b..00000000000 --- a/dev-ruby/mocha/mocha-0.12.10.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby20" - -RUBY_FAKEGEM_TASK_TEST="test:units" - -RUBY_FAKEGEM_TASK_DOC="yardoc" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" - -RUBY_FAKEGEM_EXTRAINSTALL="init.rb" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="http://gofreerange.com/mocha/docs/" - -LICENSE="MIT" -SLOT="0.12" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_bdepend " - doc? ( dev-ruby/yard ) - test? ( >=dev-ruby/test-unit-2.5.1-r1 )" - -ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die -} - -all_ruby_compile() { - all_fakegem_compile - - if use doc; then - rake examples || die - fi -} - -each_ruby_test() { - ruby-ng_testrb-2 test/unit/* -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc examples/*.rb || die -} diff --git a/dev-ruby/mocha/mocha-0.13.3-r1.ebuild b/dev-ruby/mocha/mocha-0.13.3-r1.ebuild deleted file mode 100644 index 45a97e78181..00000000000 --- a/dev-ruby/mocha/mocha-0.13.3-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby20 " - -RUBY_FAKEGEM_TASK_TEST="test:units" - -RUBY_FAKEGEM_TASK_DOC="yardoc" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" - -RUBY_FAKEGEM_EXTRAINSTALL="init.rb" - -inherit ruby-fakegem - -DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" -HOMEPAGE="http://gofreerange.com/mocha/docs/" - -LICENSE="MIT" -SLOT="0.13" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_bdepend " - doc? ( dev-ruby/yard ) - test? ( >=dev-ruby/test-unit-2.5.1-r1 )" - -ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die -} - -each_ruby_test() { - ruby-ng_testrb-2 test/unit/* -} |