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 1874C15801B for ; Wed, 9 Aug 2023 04:38:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 094C52BC01C; Wed, 9 Aug 2023 04:38:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 C85682BC019 for ; Wed, 9 Aug 2023 04:38:25 +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 AE4DA335DBA for ; Wed, 9 Aug 2023 04:38:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00681F30 for ; Wed, 9 Aug 2023 04:38:22 +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: <1691555620.f0ee92dd801500b0f2e30975ab2183163b232d84.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-2.1.0.ebuild X-VCS-Directories: dev-ruby/mocha/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f0ee92dd801500b0f2e30975ab2183163b232d84 X-VCS-Branch: master Date: Wed, 9 Aug 2023 04:38:22 +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: aa1785bc-04ab-4fea-a433-734dd86f1154 X-Archives-Hash: 8ffb6aed8c67a37d44decd086dd15d13 commit: f0ee92dd801500b0f2e30975ab2183163b232d84 Author: Hans de Graaff gentoo org> AuthorDate: Wed Aug 9 04:33:40 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Aug 9 04:33:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ee92dd dev-ruby/mocha: add 2.1.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/mocha/Manifest | 1 + dev-ruby/mocha/mocha-2.1.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index e917dc955a74..2ff50129bea6 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -2,3 +2,4 @@ DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11 DIST mocha-1.16.0.tar.gz 246370 BLAKE2B c2891021c33e4038ff965a470eda3be7eac2765f7c038fef33f38cd07b8501fdb88a1dcd8d291eabb124fb0fff50c40651bf29ac4a28012b57c7a02d2ff46b63 SHA512 b7d8825771f84245e7383e4081dcb42734b9716e7bef3c1b5d49ac28850590b4beabf8d0370992e100b6340ff3cfb3113610e303de74bc33c059bd9b9910cb8e DIST mocha-2.0.2.tar.gz 245650 BLAKE2B 3bf56cacc99b5eeb17977cd1052c635df74aec10f20a76d843d703e68520ef434bc9111b739591dfa15b21ecdbdfb5b55037e9509683624349be83613528787f SHA512 93579390f4feaf034cd6e8905654fe8cc5c8a1f28f3d27488deeb84250114a5e04c4e7aa544f18f33b2c3887668d5fddb3a3f9bda5548d577be1522da2e09760 DIST mocha-2.0.4.tar.gz 243542 BLAKE2B 4a9bb3f1493225f7eed7080661a168a90c56e4f737a8bc15402bf0a08ae7cc14e8e5cff9a090b6413633c37169e7ff9f45aedc3c5fd929ab32d359ad58d404f7 SHA512 4a72cd18e70608265bc20761848657b900a6d60c888ec4027e3b9f1884efa41d0d0591c4f3e26edd96a806ecdfc3b921d5871465a799a5ea5905627b7093f5b1 +DIST mocha-2.1.0.tar.gz 243730 BLAKE2B a99cb5b6d968e0612cfc4f2d766029d2f700c92b3e1f16f33341b8c5652db823d52fc34070acd0711ea94077eeed32d13e605982b93baa56e7d11dae7fcfe55f SHA512 8044065ebb2225f7aab117353b0a49c854768fd55f7165ccb5916027f6f8fc843665572ed786e41d5ec6affedf397f4de20fa31a9f9c1582a17a67555662a65e diff --git a/dev-ruby/mocha/mocha-2.1.0.ebuild b/dev-ruby/mocha/mocha-2.1.0.ebuild new file mode 100644 index 000000000000..be3396c72cf9 --- /dev/null +++ b/dev-ruby/mocha/mocha-2.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" +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="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" + +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 +}