commit: 6845b9062b4dfa3e765f594a84ba5d2378969c3a Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat May 24 05:18:24 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat May 24 05:32:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6845b906
dev-ruby/json: drop 2.9.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/json/Manifest | 1 - dev-ruby/json/json-2.9.1.ebuild | 54 ----------------------------------------- 2 files changed, 55 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 4fb70ac07303..acfb5e93e2c3 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -3,4 +3,3 @@ DIST json-2.11.3.tar.gz 840952 BLAKE2B 33423f7508371b9052e04041664567d60819682aa DIST json-2.12.0.tar.gz 846422 BLAKE2B 7beaa7974f34804865e21729af95ef5f3283a9eae1eef721cb3ef1bfb034434ba44cf68b63daffbecd074c5ee82089292d3df10307c9862ece1705f6d7fcf6a1 SHA512 a7707fcd318512a013887ff89c8f1489c0d35adece04cb0929129f9be7f4375db9fb8e82fcdb4b0dd1f1d385053db0f2f613e775d2fe463143270e597dbc46b9 DIST json-2.12.2.tar.gz 848560 BLAKE2B 489660e253a40c4274cc7d1c45a959a32674d2bab32fc9d16820744d6acdd0ef07cddafa586e7b1266815d68c5dc3b8a50a75242cd18d6f0503cfa6ad065bb0a SHA512 ccaf9813fb51f735d0961b97ccb6f71d9c0124d3b179dc936664b502dd2136fe48df16cc0b2384bbb46d514f29ef0241ee7bcbea5677e608935a63c8a9dacf6e DIST json-2.7.2.tar.gz 125814 BLAKE2B 450c9495053c762446e77997bdc7e0291f8baf160a4da7e56d04ed18aa5629a11f1309e40bab0849692433392cfba8a19dda905fe5044ab363591a49e6e18b60 SHA512 5c432c293eed69b9810b5d0ca782383ba3f206d561641c354515e357c663ed4a4fb5ae35d3336d48605f9e82156d2f14a7ec6fa26642351214f60d91bac84f0e -DIST json-2.9.1.tar.gz 842298 BLAKE2B 0d76819a475051b4f5e1cf45244bbaccc108b9a6b0806c26840094835dc65b2ed0c4e388119196de9b775cf185c468bd493ffe1d382e8f4974ab3bd582d9f230 SHA512 47cbd2d65d8aa2e0c41ef2099fc6851a854d8f10b9c6759e9cfb2865f124e034d1b5f4fbcb7bd502efb12ae88cfec36f7e837500d601a4a6e0849a69dedc369b diff --git a/dev-ruby/json/json-2.9.1.ebuild b/dev-ruby/json/json-2.9.1.ebuild deleted file mode 100644 index 6068a3d18fb7..000000000000 --- a/dev-ruby/json/json-2.9.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33 ruby34" - -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" -RUBY_FAKEGEM_DOCDIR="doc" - -RUBY_FAKEGEM_GEMSPEC="json.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext - -inherit ruby-fakegem - -DESCRIPTION="A JSON implementation as a Ruby extension" -HOMEPAGE="https://github.com/ruby/json" -SRC_URI="https://github.com/ruby/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="|| ( BSD-2 Ruby )" - -SLOT="$(ver_cut 1)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc test" - -DEPEND="dev-util/ragel" - -ruby_add_bdepend "dev-ruby/rake - doc? ( dev-ruby/rdoc ) - test? ( - dev-ruby/test-unit:2 - dev-ruby/test-unit-ruby-core - )" - -all_ruby_prepare() { - # Avoid building the extension twice! - # And use rdoc instead of sdoc which we don't have packaged - # And don't call git to list files. We're using the pregenerated spec anyway. - sed -i \ - -e '/task :test/ s|:compile,||' \ - -e 's| => :clean||' \ - -e 's|sdoc|rdoc|' \ - -e 's|`git ls-files`|""|' \ - Rakefile || die "rakefile fix failed" - - sed -e 's/__dir__/"."/' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid setting gem since it will not be available yet when installing - sed -i -e '/gem/ s:^:#:' test/json/test_helper.rb || die - - # Fix version number - sed -e 's/2.8.2/2.9.0/' -i lib/json/version.rb || die -}
