diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-ruby/shoulda-context | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/shoulda-context')
| -rw-r--r-- | dev-ruby/shoulda-context/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch | 26 | ||||
| -rw-r--r-- | dev-ruby/shoulda-context/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild | 43 |
4 files changed, 0 insertions, 82 deletions
diff --git a/dev-ruby/shoulda-context/Manifest b/dev-ruby/shoulda-context/Manifest deleted file mode 100644 index b9c8ea5cff11..000000000000 --- a/dev-ruby/shoulda-context/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST shoulda-context-2.0.0.gem 34304 BLAKE2B b31f7e052b54fb60fb7fff84fc48beed406864b871f3c125db4f28d1ce0f400bb0ad3479d438d20a28f585b6e5da101b71228f598e6bdc177512f048273a8524 SHA512 c8d856a95b3dfe85fd92c79f18e03a2765ad219b83ab132017fefcffd0262b04bcebf267e6bbaec0ed3dff1d4d345bd74c1f9db1d2a22938ee8d85ee1078ac6e diff --git a/dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch b/dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch deleted file mode 100644 index 78f7dfc3f0b5..000000000000 --- a/dev-ruby/shoulda-context/files/shoulda-context-2.0.0-file-exists.patch +++ /dev/null @@ -1,26 +0,0 @@ -From ee3aeb239ea69c9a855d64e8c1cfda87958c833d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> -Date: Thu, 22 Dec 2022 15:03:17 +0100 -Subject: [PATCH] Use File.exist? - -`File.exists?` was deprecated while ago and removed in Ruby 3.2. - -https://bugs.ruby-lang.org/issues/17391 -https://github.com/ruby/ruby/pull/5352 ---- - exe/convert_to_should_syntax | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/exe/convert_to_should_syntax b/exe/convert_to_should_syntax -index d1264d07..ebdda984 100755 ---- a/exe/convert_to_should_syntax -+++ b/exe/convert_to_should_syntax -@@ -31,7 +31,7 @@ usage("Temp directory '#{TMP}' is not valid. Set TMPDIR environment variable to - - file = ARGV.shift - tmpfile = File.join(TMP, File.basename(file)) --usage("File '#{file}' doesn't exist") unless File.exists?(file) -+usage("File '#{file}' doesn't exist") unless File.exist?(file) - - FileUtils.cp(file, tmpfile) - contents = File.read(tmpfile) diff --git a/dev-ruby/shoulda-context/metadata.xml b/dev-ruby/shoulda-context/metadata.xml deleted file mode 100644 index 5bd462be9980..000000000000 --- a/dev-ruby/shoulda-context/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <upstream> - <remote-id type="github">thoughtbot/shoulda-context</remote-id> - <remote-id type="rubygems">shoulda-context</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild b/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild deleted file mode 100644 index fb40520c37f7..000000000000 --- a/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34 ruby40" - -RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" - -RUBY_FAKEGEM_EXTRAINSTALL="tasks" - -# Don't install the conversion script to avoid collisions with older -# shoulda. -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Context framework extracted from Shoulda" -HOMEPAGE="https://github.com/thoughtbot/shoulda-context" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="doc test" - -PATCHES=( "${FILESDIR}/${P}-file-exists.patch" ) - -ruby_add_bdepend "test? ( dev-ruby/minitest:5 - >=dev-ruby/mocha-1.0 )" - -all_ruby_prepare() { - sed -e '/\(current_bundle\|CurrentBundle\)/ s:^:#:' \ - -e '/pry-byebug/ s:^:#:' \ - -e '/warnings_logger/ s:^:#: ; /WarningsLogger/,/^)/ s:^:#:' \ - -e '/rails_application_with_shoulda_context/ s:^:#:' \ - -e '2igem "minitest", "~> 5.0"' \ - -i test/test_helper.rb || die - rm -f test/shoulda/{railtie,rerun_snippet,test_framework_detection}_test.rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib:test:. -e 'Dir["test/shoulda/*_test.rb"].each { require _1 }' || die -} |
