diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-08-25 07:20:41 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-08-25 07:20:41 +0200 |
commit | 3dcaaee3828098687bb150a7393cdf1a77f8ff32 (patch) | |
tree | 242a3ded2446995b1da0570c22b7c28675cd9188 /dev-ruby/mocha | |
parent | app-arch/unrar: arm stable, bug #628182 (diff) | |
download | gentoo-3dcaaee3828098687bb150a7393cdf1a77f8ff32.tar.gz gentoo-3dcaaee3828098687bb150a7393cdf1a77f8ff32.tar.bz2 gentoo-3dcaaee3828098687bb150a7393cdf1a77f8ff32.zip |
dev-ruby/mocha: add 1.3.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.3.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index d2ac5e5bcb18..71fcd7372fdd 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -6,3 +6,4 @@ DIST mocha-0.14.0.gem 82944 SHA256 4bb00fdc69d628b15ad2b89ca6f490aaf92486f640282 DIST mocha-1.1.0.gem 87552 SHA256 f1d3385b5bed21bdcdcb9d26fd10139b2c7a67b1572e789ec014edf5acadf680 SHA512 5a07c8364ae649a6be821c4b61c349d79e1dbf1e574ed95b07848f5dae3a2860e2f2e06499fc15b8352ec2146f273cc40ee8e65e670214f0f0669b6eedf698bb WHIRLPOOL b2f2621d6a039b8bf9000fd508680b359b14fdb913c883c5d86a3cd79736084a456577e621a20060a11dc3cdfa503a0c32a4ffd9c3c2b06af45e412a6ef2d7d6 DIST mocha-1.2.0.gem 90112 SHA256 0526557184a50ed7aa5554b9e3e61267cb96e8dbe08c3b2086f6212c623fec73 SHA512 cedbbafb095ebc54b74cdb848d11acddaf44333c6f844282fc217906c551f1ec7f0d33bc881e1c410e59917bcfc0b2b7d15d8c549d56ef9c6663907d0d7c0a87 WHIRLPOOL 3424f0ddc1984f53c01c5e0eb5d82e94b5357412370660fc195115fc3f4a119692fcd052ca4ebed6e93d8f8ed81b372ca4d2e6ef96e3c08270b4648dce2632a2 DIST mocha-1.2.1.gem 90624 SHA256 7de99b005aa41dc46841442afe468451a145f2c6d9b10fac0c23f0d911bef50d SHA512 318fc7275b7ef14b6839ce68beb4a6dcd2a06325bcc5e69d82bd6842dc39c78b8a09d6d06d36dbf0f43e59bbcf441be9a6b1d3037f0cbde25be9d04ae44b2aed WHIRLPOOL 04c1f2d8c1b7844ba1fd6c92ef5077bff05a368ae19208182b29356972090368c77fc00e91c12f31b8895bdf7d452a34a3980ba79b119c8de0dfc26bcaffa4dd +DIST mocha-1.3.0.gem 92160 SHA256 22f247ad94e92cef32baac2e671d1d7262f165dc933ead1940cf874c3d1fc25e SHA512 a24de9129da65f6b37f06ad888fdb80ae987f51594980991a6ac3ffd23e9dafeedd7a2e758835f33f4de59e07b7c39449e3a49228159710bd87a3de7d3df6a3c WHIRLPOOL aae77377d9d1cca8977d24f406a2a49dec6abab85c93024ef47bb9a6b66fcb40fb613e67d8a3df14acc971b298f0d1237291aae83502606f0b178adadf92933f diff --git a/dev-ruby/mocha/mocha-1.3.0.ebuild b/dev-ruby/mocha/mocha-1.3.0.ebuild new file mode 100644 index 000000000000..4ef2aa59e3b7 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.3.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "=dev-ruby/metaclass-0.0*" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} |