diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-ruby/rspec-expectations | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/rspec-expectations')
| -rw-r--r-- | dev-ruby/rspec-expectations/Manifest | 2 | ||||
| -rw-r--r-- | dev-ruby/rspec-expectations/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild | 68 | ||||
| -rw-r--r-- | dev-ruby/rspec-expectations/rspec-expectations-3.13.5.ebuild | 59 |
4 files changed, 138 insertions, 0 deletions
diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest new file mode 100644 index 000000000000..ffc70aaba7ed --- /dev/null +++ b/dev-ruby/rspec-expectations/Manifest @@ -0,0 +1,2 @@ +DIST rspec-expectations-3.13.3-git.tgz 223417 BLAKE2B c246789687c9b09b715093d0e730a76d04f009866e2886c9d2ee189015c93456cbb046cde72d2775d23978d5410e3e0f1b0337d7bbee7645319f14fe7375f6e8 SHA512 919e01204264611c77fddcf2e6c0e1707f95707ef3b04c40241951d732118e72ab9b7ad860f6f5639da631fb844ca76f512283a988b6561bd23ec6ae95aa013e +DIST rspec-expectations-3.13.5-git.tgz 918242 BLAKE2B 8bbfe9f50a262087e0f1bda21716b5c38a4e8594d5d11310b8778ea30f2de0cd58332d458e524f02509e415a058408fe6b72091d1772d4232053e4e4e4316917 SHA512 d7a6d43591f4810defc10ba99ea8dc8fd7032e4339f1499ef92f7ad62a024652cd10956c206b523eac0ac41b6615595eebd16d3fd45df2e037d77858941ad716 diff --git a/dev-ruby/rspec-expectations/metadata.xml b/dev-ruby/rspec-expectations/metadata.xml new file mode 100644 index 000000000000..c685ebad7e3a --- /dev/null +++ b/dev-ruby/rspec-expectations/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild new file mode 100644 index 000000000000..f4dcce7da66a --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33 ruby34" + +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 ~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 + + # Avoid specs failing with newer diff-lcs. Already fixed upstream. + rm -f spec/rspec/matchers/dsl_spec.rb \ + spec/rspec/matchers/built_in/{compound,have_attributes,include}_spec.rb || die + + sed -e '/simplecov/,/^end/ s:^:#:' \ + -i spec/spec_helper.rb || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby34) + # Avoid tests failing on ruby34. Should be fixed upstream. + rm -f spec/rspec/matchers/aliases_spec.rb \ + spec/rspec/matchers/built_in/{change,eq,has,captures,start_and_end_with}_spec.rb \ + spec/rspec/matchers/english_phrasing_spec.rb || die + ;; + esac +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.13.5.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.13.5.ebuild new file mode 100644 index 000000000000..f4fe305c257f --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.13.5.ebuild @@ -0,0 +1,59 @@ +# 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_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/rspec/archive/refs/tags/rspec-expecations-v${PV}.tar.gz -> ${P}-git.tgz" +RUBY_S="rspec-rspec-expecations-v${PV}/${PN}" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~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 + + # Avoid specs failing with newer diff-lcs. Already fixed upstream. + rm -f spec/rspec/matchers/dsl_spec.rb \ + spec/rspec/matchers/built_in/{compound,have_attributes,include}_spec.rb || die + + sed -e '/simplecov/,/^end/ s:^:#:' \ + -i spec/spec_helper.rb || die +} |
