From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC37D138331 for ; Tue, 11 Oct 2016 05:16:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93B9BE0B76; Tue, 11 Oct 2016 05:16:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67FF6E0B76 for ; Tue, 11 Oct 2016 05:16:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D174341149 for ; Tue, 11 Oct 2016 05:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB1822EF for ; Tue, 11 Oct 2016 05:16:25 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1476162856.dd5b084b1dd06e89469cf70f8015648f93a5ac5b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mocha/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/mocha/Manifest dev-ruby/mocha/mocha-1.2.0.ebuild X-VCS-Directories: dev-ruby/mocha/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: dd5b084b1dd06e89469cf70f8015648f93a5ac5b X-VCS-Branch: master Date: Tue, 11 Oct 2016 05:16:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e35ed041-7306-4d0d-84f5-fbb3fcfc00c1 X-Archives-Hash: 34b015d4e839559184cec1a6df89655f commit: dd5b084b1dd06e89469cf70f8015648f93a5ac5b Author: Hans de Graaff gentoo org> AuthorDate: Tue Oct 11 04:49:10 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Oct 11 05:14:16 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5b084b dev-ruby/mocha: add 1.2.0 Package-Manager: portage-2.3.0 dev-ruby/mocha/Manifest | 1 + dev-ruby/mocha/mocha-1.2.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index 78762d8..b95e42a 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -4,3 +4,4 @@ DIST mocha-0.12.10.gem 77312 SHA256 222147bc1fc130620ea6ce051e8e716b855c82b27a3e DIST mocha-0.13.3.gem 82432 SHA256 4f979512dd32f2e0881c143132160dea433a392287df40d12576bbbb0af6646a SHA512 4c013565644d4b3af9bdc515c7b9b5be39c606c53d0b5da4569bd7c3fd98db3f2a7e6b88e566b32277c8e8d0ea6c83340e6afd1e80cdec0dfabd41e4fe5dbf27 WHIRLPOOL 150b9c0d573670b3592ef1f435778c2c5e47fe71f45dc59f99314b9042bfc146b46a5e42aedf899f8ea2e531ae7e5478d043a34f3d994c38d579ec0f1840e763 DIST mocha-0.14.0.gem 82944 SHA256 4bb00fdc69d628b15ad2b89ca6f490aaf92486f640282b8943fe3b43dee9a145 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 WHIRLPOOL 816cb472c08739b5e342b6b3a8f3ae5c0a4fee9d40234ecd1ed73f4b4a16cffc7d36034d5987c943d1f52c06a1e953fc9e41d2b5ecec6620b2b611dae2a228e3 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 diff --git a/dev-ruby/mocha/mocha-1.2.0.ebuild b/dev-ruby/mocha/mocha-1.2.0.ebuild new file mode 100644 index 00000000..47e7835 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +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 ~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 +}