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 A197A138DFD for ; Sun, 16 Oct 2016 05:10:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A87EE0B2F; Sun, 16 Oct 2016 05:10:24 +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 21A0DE0B2F for ; Sun, 16 Oct 2016 05:10:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 422083412F9 for ; Sun, 16 Oct 2016 05:10:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A6D4304 for ; Sun, 16 Oct 2016 05:10:06 +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: <1476594136.1a914730b29d4b5a9d32a71278df0010ad0be0ba.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.1.ebuild X-VCS-Directories: dev-ruby/mocha/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1a914730b29d4b5a9d32a71278df0010ad0be0ba X-VCS-Branch: master Date: Sun, 16 Oct 2016 05:10:06 +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: 4c5d0a4d-e833-49c8-bb8e-0ed77683f01b X-Archives-Hash: 8391037a4759a14123919ee8c4877995 commit: 1a914730b29d4b5a9d32a71278df0010ad0be0ba Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 16 05:02:16 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 16 05:02:16 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a914730 dev-ruby/mocha: add 1.2.1 Package-Manager: portage-2.3.0 dev-ruby/mocha/Manifest | 1 + dev-ruby/mocha/mocha-1.2.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index b95e42a..d2ac5e5 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -5,3 +5,4 @@ DIST mocha-0.13.3.gem 82432 SHA256 4f979512dd32f2e0881c143132160dea433a392287df4 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 +DIST mocha-1.2.1.gem 90624 SHA256 7de99b005aa41dc46841442afe468451a145f2c6d9b10fac0c23f0d911bef50d SHA512 318fc7275b7ef14b6839ce68beb4a6dcd2a06325bcc5e69d82bd6842dc39c78b8a09d6d06d36dbf0f43e59bbcf441be9a6b1d3037f0cbde25be9d04ae44b2aed WHIRLPOOL 04c1f2d8c1b7844ba1fd6c92ef5077bff05a368ae19208182b29356972090368c77fc00e91c12f31b8895bdf7d452a34a3980ba79b119c8de0dfc26bcaffa4dd diff --git a/dev-ruby/mocha/mocha-1.2.1.ebuild b/dev-ruby/mocha/mocha-1.2.1.ebuild new file mode 100644 index 00000000..47e7835 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.2.1.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 +}