commit:     4259c9c1709334ddcf8857b8818366c8e9a39dbe
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 18:25:52 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 18:25:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4259c9c1

dev-ruby/json: drop 2.8.2, 2.9.0-r1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/json/Manifest             |  2 --
 dev-ruby/json/json-2.8.2.ebuild    | 51 -----------------------------------
 dev-ruby/json/json-2.9.0-r1.ebuild | 54 --------------------------------------
 3 files changed, 107 deletions(-)

diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest
index 4a2cdca435a4..2f3cccdfbef7 100644
--- a/dev-ruby/json/Manifest
+++ b/dev-ruby/json/Manifest
@@ -1,5 +1,3 @@
 DIST json-2.10.2.tar.gz 834578 BLAKE2B 
2225e515e2df5ec66985ca3e73ff0e9cd68025c295f1313504c61bbf73a5f80054635b19dbee5fab2cd6b7f24ada79a08d7e798dc8faead80ac6863c0be946b2
 SHA512 
b4193f944d7b24197d138ecbbf4132b1e39fa93c4f5abeca6c24027a54a8a0d278bf214348a96c2fade72408ebd265f79da9ee7a594c589f05089cbf0b38cf31
 DIST json-2.7.2.tar.gz 125814 BLAKE2B 
450c9495053c762446e77997bdc7e0291f8baf160a4da7e56d04ed18aa5629a11f1309e40bab0849692433392cfba8a19dda905fe5044ab363591a49e6e18b60
 SHA512 
5c432c293eed69b9810b5d0ca782383ba3f206d561641c354515e357c663ed4a4fb5ae35d3336d48605f9e82156d2f14a7ec6fa26642351214f60d91bac84f0e
-DIST json-2.8.2.tar.gz 841421 BLAKE2B 
286416fd14642a3044df0d382a10ae7dcff211b30e15303c4461decc961f80169b26f9ad6a2b8524d76f65058e773afe7c39654a166d263a4208d8649fe3a134
 SHA512 
d33f9abbe548c18f572c038261526c61bc5c5c70b5bc4f864f479dff41435aabdc0d30e190cf934ad71680b21aca1cbdd1cf379ad807a97459722c7d67f1de69
-DIST json-2.9.0.tar.gz 841887 BLAKE2B 
28ff3a69a55b0f862f18985213ae7c09021914451b8b6a3cb217334d6f3e0d7d6c52a5eea13cc0c1931adc2a12a2aa715741ce621fef0bb3c66ac12440d8dc5f
 SHA512 
64534f0889f1874a8893259e065ea0f3669028a9722ceeb5e7454236d509d5df817b251e94c57b9c3ad04e6ec5ab94e63aa93596d996c8c37b5fd75fb50fc22e
 DIST json-2.9.1.tar.gz 842298 BLAKE2B 
0d76819a475051b4f5e1cf45244bbaccc108b9a6b0806c26840094835dc65b2ed0c4e388119196de9b775cf185c468bd493ffe1d382e8f4974ab3bd582d9f230
 SHA512 
47cbd2d65d8aa2e0c41ef2099fc6851a854d8f10b9c6759e9cfb2865f124e034d1b5f4fbcb7bd502efb12ae88cfec36f7e837500d601a4a6e0849a69dedc369b

diff --git a/dev-ruby/json/json-2.8.2.ebuild b/dev-ruby/json/json-2.8.2.ebuild
deleted file mode 100644
index fcb2a51b4bd1..000000000000
--- a/dev-ruby/json/json-2.8.2.ebuild
+++ /dev/null
@@ -1,51 +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"
-
-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
-}

diff --git a/dev-ruby/json/json-2.9.0-r1.ebuild 
b/dev-ruby/json/json-2.9.0-r1.ebuild
deleted file mode 100644
index b79d989aabe8..000000000000
--- a/dev-ruby/json/json-2.9.0-r1.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"
-
-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
-}

Reply via email to