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 71F9915801C for ; Tue, 15 Aug 2023 05:45:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69FD62BC017; Tue, 15 Aug 2023 05:45:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 53FB62BC017 for ; Tue, 15 Aug 2023 05:45:51 +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 7C87C340E1E for ; Tue, 15 Aug 2023 05:45:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17960FAD for ; Tue, 15 Aug 2023 05:45:49 +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: <1692078343.9d0872f1795612d05d8184ae487ec85c39327189.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/flexmock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/flexmock/Manifest dev-ruby/flexmock/flexmock-2.3.8.ebuild X-VCS-Directories: dev-ruby/flexmock/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 9d0872f1795612d05d8184ae487ec85c39327189 X-VCS-Branch: master Date: Tue, 15 Aug 2023 05:45:49 +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: 140fe292-aa76-4357-9134-224c19904869 X-Archives-Hash: 847d61ad3260076fbe2ff4b4dd4af196 commit: 9d0872f1795612d05d8184ae487ec85c39327189 Author: Hans de Graaff gentoo org> AuthorDate: Mon Aug 14 05:46:05 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Aug 15 05:45:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0872f1 dev-ruby/flexmock: add 2.3.8 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/flexmock/Manifest | 1 + dev-ruby/flexmock/flexmock-2.3.8.ebuild | 44 +++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/flexmock/Manifest b/dev-ruby/flexmock/Manifest index 4baca5b9ad94..b6e56539878f 100644 --- a/dev-ruby/flexmock/Manifest +++ b/dev-ruby/flexmock/Manifest @@ -1 +1,2 @@ DIST flexmock-2.3.6.tar.gz 91601 BLAKE2B f2888891820f13f4a9812ffdfe042ccd266b0b5166fa538aba96e2c865ba55d3689d077e73fb9aa238455e90b8ea97aa60f8649c08823a753b6af8c0f550cbed SHA512 0fcc25c1a83ba1e2aed91eed98242592dfc1a69d57c033fbd363383962b16d6e72011d62a906ae8bf076801a3d5e8e8501bdb9f6ca3750c9615dfe8b9b0bdbbc +DIST flexmock-2.3.8.tar.gz 92170 BLAKE2B 583dff030e0c828dedfbd1188a3bcca45b53d327fc9cfc5e43370c10bc6683819aa0d11e7aad0b8d26fe7576cc8a804f2103b5fa065f57381285d5de27c99ff9 SHA512 e055b5fc503967df47fcb4c5724f79efac9cebfab76a3784cf27e194c12316c4863a29c47b46256146cf2aa2f76afcd92849297310c71ac584ef8a5cc9cb40a0 diff --git a/dev-ruby/flexmock/flexmock-2.3.8.ebuild b/dev-ruby/flexmock/flexmock-2.3.8.ebuild new file mode 100644 index 000000000000..f8a8a921a780 --- /dev/null +++ b/dev-ruby/flexmock/flexmock-2.3.8.ebuild @@ -0,0 +1,44 @@ +# 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_DOCDIR="html" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="flexmock.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simple mock object library for Ruby unit testing" +HOMEPAGE="https://github.com/doudou/flexmock" +SRC_URI="https://github.com/doudou/flexmock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="flexmock" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +PATCHES=( "${FILESDIR}"/flexmock-2.3.6-ruby30-{1,2,3}.patch ) + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + dev-ruby/rspec:3 + )" + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec test/rspec_integration + MT_NO_PLUGINS=1 ${RUBY} -Ilib:.:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} + +all_ruby_prepare() { + sed -i -e '1igem "minitest", "~>5.0"' test/test_helper.rb || die + + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +}