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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00A06158095 for ; Sat, 1 Oct 2022 07:06:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D555AE091C; Sat, 1 Oct 2022 07:06:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0BE7E091C for ; Sat, 1 Oct 2022 07:06:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04EC3340E82 for ; Sat, 1 Oct 2022 07:06:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62BD55F7 for ; Sat, 1 Oct 2022 07:06:36 +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: <1664607992.ade62ec40b926b56b1293f20bc455099926b122a.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.15.0.ebuild X-VCS-Directories: dev-ruby/mocha/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ade62ec40b926b56b1293f20bc455099926b122a X-VCS-Branch: master Date: Sat, 1 Oct 2022 07:06:36 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3839b545-05cb-4ba6-92c5-f5eec1022313 X-Archives-Hash: 95135c9d840ed3936db404ae39d1606c commit: ade62ec40b926b56b1293f20bc455099926b122a Author: Hans de Graaff gentoo org> AuthorDate: Sat Oct 1 06:44:25 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Oct 1 07:06:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade62ec4 dev-ruby/mocha: add 1.15.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/mocha/Manifest | 1 + dev-ruby/mocha/mocha-1.15.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index b750dbac6e6f..61e4eff7cfb6 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -1,3 +1,4 @@ DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11324a0574c707bea3219d51edb9ab40635378c16b46ad826ec7eff42434a27cd61113a6f40251fa2e6930 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 DIST mocha-1.13.0.tar.gz 246249 BLAKE2B 028b40646b96084f26df9813a8c8c4d5adc9f4649e11971069af086716d84f90f1acc6abc8fac8297c3a516afa51049c4bcd7ff0f6fd3917d0665fa6f9afe754 SHA512 84cbe344b0bae434e9931a83b587dcefc14e8699893022a56e30a59bff574b52e3879a123b8f2f70e77301701b167d5992489e2173191ffd3450f09db3e7383b DIST mocha-1.14.0.tar.gz 246015 BLAKE2B 836b678ca0bcbc1860cb185ee6cd5a71bbdeff4698780fdfcffe6fd38196b1291aa6c23a779e7e1e59bd8155d5ec48fbde426ace468f8186e18860f3d3764836 SHA512 41dfd1f9add0b62c8609ec4cdf07ae58580503c81eb40886cae6c97ee5a5109ae5aa6094756c9666985266c83fad38adef7c9c4a2add8ef2b7571c2c1753cfb0 +DIST mocha-1.15.0.tar.gz 245879 BLAKE2B 982c0b1a59f47fa7ee990ba20e8acd55d581a508f281f83a9ada1cc7e6e6a214351c69f4d9bad127c0b900ea1d2107a7e47d7da0aa8b185e58a9027cdc0b1ab3 SHA512 c4218098e4f7a4099e2c9c8046fddabc41ab099b60aa635f9da1f5e4e37c7170dd3afa66ea5959e1bdb020e44b0bf5063721df3f8bdd312c53c36227b2e23f6d diff --git a/dev-ruby/mocha/mocha-1.15.0.ebuild b/dev-ruby/mocha/mocha-1.15.0.ebuild new file mode 100644 index 000000000000..5f825dc0d59e --- /dev/null +++ b/dev-ruby/mocha/mocha-1.15.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" + +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" +SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +}