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 37EC515852A for ; Wed, 21 Aug 2024 05:29:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66A1FE2A56; Wed, 21 Aug 2024 05:29:18 +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 4D093E2A56 for ; Wed, 21 Aug 2024 05:29:18 +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 55A523409EC for ; Wed, 21 Aug 2024 05:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A97C41EFD for ; Wed, 21 Aug 2024 05:29:15 +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: <1724218112.32132ed37ccc3b1369a1bab39c2873a255258ea5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-expectations/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rspec-expectations/Manifest dev-ruby/rspec-expectations/rspec-expectations-3.13.2.ebuild X-VCS-Directories: dev-ruby/rspec-expectations/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 32132ed37ccc3b1369a1bab39c2873a255258ea5 X-VCS-Branch: master Date: Wed, 21 Aug 2024 05:29:15 +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: 1a5a0091-1319-4740-9c31-919a6f13c545 X-Archives-Hash: 1943c2887f56b33f3997ea5f0348791a commit: 32132ed37ccc3b1369a1bab39c2873a255258ea5 Author: Hans de Graaff gentoo org> AuthorDate: Wed Aug 21 05:28:32 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Aug 21 05:28:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32132ed3 dev-ruby/rspec-expectations: add 3.13.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rspec-expectations/Manifest | 1 + .../rspec-expectations-3.13.2.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest index ac17f36f5896..694764adfd42 100644 --- a/dev-ruby/rspec-expectations/Manifest +++ b/dev-ruby/rspec-expectations/Manifest @@ -2,3 +2,4 @@ DIST rspec-expectations-3.12.3-git.tgz 218754 BLAKE2B be6c6c50115bec39758f792030 DIST rspec-expectations-3.12.4-git.tgz 219529 BLAKE2B 8858b586cb2b50f06c93530304ca554ddff9f3fe7078e1e2f263ab352e8315d3529bd8028b835d8b83d49bc06345a0723d2fbf31849552ef53567f2162eb503c SHA512 9317d91fb5fb02c1319010517df6f28bc117cccb3b8fd4226bd1adde00fbf13d1505be89cd036bd1849b9a142e24ec966afa536144e384700f8d11e640e2eaf9 DIST rspec-expectations-3.13.0-git.tgz 220792 BLAKE2B 526282d357f47d82163b8a44f5fffc0ce24f0fef0d0f5c5f33da93c91680ae704a065c4903a8b7eb3b619d3910314ff137d1c7b636207c0a3383ed0520e2ffaa SHA512 9e1e502d12704fd7573a57b7f01cf4ffe97e2eefe83dc3144842f460165304dc234a1b1946147f2cbcae105d755c8b42b25aec815f9af0c67844baf858c0a6c7 DIST rspec-expectations-3.13.1-git.tgz 220834 BLAKE2B db01c826c4606ac4be8fe3a991342297bf4b97cced4d83f3287b84b7f05c429050629723452c0785121170fa951649fb75faebdc84e828b9381569600c9df829 SHA512 2076b6985c0ab41e14097b38081dfa9df81d498e9abb5434cf26c791b5e7c9f5e395c14908abdddcb1ab8568fa41fee4d4eb018e515a3801167e8bebdda11ce5 +DIST rspec-expectations-3.13.2-git.tgz 223286 BLAKE2B d6debf352133a1eb666df85f45736fed24d8d1ddafd67f78931f57ded1536f3c8c4ca18515bae6763565f4e70fa25a0b51cc399831771f808da58f993990314d SHA512 890f9bae150ebfac84e096b311040ba02d773926f68f5ba4c68af4a022be5738b040dac0614c0d5fa90158b358ea5cb8e268a9e7f5805e2e408e21550ca856c2 diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.13.2.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.13.2.ebuild new file mode 100644 index 000000000000..96e2fb7e5b11 --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.13.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1* + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Fix minitest deprecation + sed -i -e 's/MiniTest/Minitest/' spec/rspec/expectations/minitest_integration_spec.rb || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +}