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 EB571158020 for ; Sun, 11 Dec 2022 06:28:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34745E0919; Sun, 11 Dec 2022 06:27:59 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1869BE0919 for ; Sun, 11 Dec 2022 06:27:59 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFC2534131F for ; Sun, 11 Dec 2022 06:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 013E87AF for ; Sun, 11 Dec 2022 06:27:55 +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: <1670740066.abdeafe54ed34a37808b1ea7cf2f7038a45d5dc7.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.0.2.ebuild X-VCS-Directories: dev-ruby/mocha/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: abdeafe54ed34a37808b1ea7cf2f7038a45d5dc7 X-VCS-Branch: master Date: Sun, 11 Dec 2022 06:27:55 +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: 9c1da959-e418-4495-8944-6b517efbd518 X-Archives-Hash: 6d4623fa58cb2d0e66565cfa3d589ceb commit: abdeafe54ed34a37808b1ea7cf2f7038a45d5dc7 Author: Hans de Graaff gentoo org> AuthorDate: Sat Dec 10 09:32:52 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 11 06:27:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abdeafe5 dev-ruby/mocha: add 2.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/mocha/Manifest | 1 + dev-ruby/mocha/mocha-2.0.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index 0eee798d7085..2d191b21aeb6 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -4,3 +4,4 @@ DIST mocha-1.14.0.tar.gz 246015 BLAKE2B 836b678ca0bcbc1860cb185ee6cd5a71bbdeff46 DIST mocha-1.15.0.tar.gz 245879 BLAKE2B 982c0b1a59f47fa7ee990ba20e8acd55d581a508f281f83a9ada1cc7e6e6a214351c69f4d9bad127c0b900ea1d2107a7e47d7da0aa8b185e58a9027cdc0b1ab3 SHA512 c4218098e4f7a4099e2c9c8046fddabc41ab099b60aa635f9da1f5e4e37c7170dd3afa66ea5959e1bdb020e44b0bf5063721df3f8bdd312c53c36227b2e23f6d DIST mocha-1.16.0.tar.gz 246370 BLAKE2B c2891021c33e4038ff965a470eda3be7eac2765f7c038fef33f38cd07b8501fdb88a1dcd8d291eabb124fb0fff50c40651bf29ac4a28012b57c7a02d2ff46b63 SHA512 b7d8825771f84245e7383e4081dcb42734b9716e7bef3c1b5d49ac28850590b4beabf8d0370992e100b6340ff3cfb3113610e303de74bc33c059bd9b9910cb8e DIST mocha-2.0.1.tar.gz 244331 BLAKE2B 7ed47d0b740cd6b22e2bada9c9674c225457fae08d1be091292b5261f29f92c32a2a4f434727a4be530be56a861c9b71507484df274b797161e7c86d54bb9da9 SHA512 d86250b23e578fee987c68c5de5ca0ad9c114304993c315dde7aad0e5a415360a552b7366ef890321a4adb71a90668afb0e51fa2430c584b9b38818bc67fa53d +DIST mocha-2.0.2.tar.gz 245650 BLAKE2B 3bf56cacc99b5eeb17977cd1052c635df74aec10f20a76d843d703e68520ef434bc9111b739591dfa15b21ecdbdfb5b55037e9509683624349be83613528787f SHA512 93579390f4feaf034cd6e8905654fe8cc5c8a1f28f3d27488deeb84250114a5e04c4e7aa544f18f33b2c3887668d5fddb3a3f9bda5548d577be1522da2e09760 diff --git a/dev-ruby/mocha/mocha-2.0.2.ebuild b/dev-ruby/mocha/mocha-2.0.2.ebuild new file mode 100644 index 000000000000..8b9904e74ec0 --- /dev/null +++ b/dev-ruby/mocha/mocha-2.0.2.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_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" +IUSE="" + +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 +}