public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
Date: Wed, 08 Oct 2025 11:41:06 +0000 (UTC)	[thread overview]
Message-ID: <1759923651.96a86293ed50e458e5558de672e818d8725c80f7.graaff@gentoo> (raw)

commit:     96a86293ed50e458e5558de672e818d8725c80f7
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  8 11:08:31 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Oct  8 11:40:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a86293

dev-ruby/json: add 2.15.1

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

 dev-ruby/json/Manifest           |  1 +
 dev-ruby/json/json-2.15.1.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest
index 20b1e4e27117..2781d46c25f9 100644
--- a/dev-ruby/json/Manifest
+++ b/dev-ruby/json/Manifest
@@ -3,3 +3,4 @@ DIST json-2.12.2.tar.gz 848560 BLAKE2B 489660e253a40c4274cc7d1c45a959a32674d2bab
 DIST json-2.13.2.tar.gz 851603 BLAKE2B 9770e4892514f370c34c043582e519ba68a077eb246cd3a7164056572aca1570754362b7cf7cb5e2d39afa0204913d19b1bdb32b6b34253c910736940ac4793d SHA512 62a48257ccd7a34accd9926fe1e6d2ca2599eb86e7bf5239b473603ec4fc00928c56f46b8bae75880b62df3a9a8a4fb9000b61319a1b0a1987cfc9bde1422fa7
 DIST json-2.14.1.tar.gz 855875 BLAKE2B f989da0cf149f60b2539d36f54ad1b423033c42da140abc375990a43db0a76bb6b9277c4fbae77d524e64f314311b7eeef0eed896f3acaf30cfaf3b4706d3709 SHA512 82aedfce4c838ef177c5fdbc87107787343d22b1f333d44aef8cb77ed586d50d02128be2c8f3eaa8dcc9423ea46cad51667538fd72845566cf89c12229aa1c0e
 DIST json-2.15.0.tar.gz 856404 BLAKE2B 89a9409b678afa87cdf90da5c37e688d0ec78869c35803c3a31fee74b337b014f5c71fb0bc8b17d5d3f012e103450da17dfd5fa331adbc0d86db217c452eccb4 SHA512 5008c9c548ae60a142afeb852dda062047400fb8a6fcdcf5e50f38ec094d922a20c4197c04587c9de1849d8bb841bb1e9a73c126fbc8b3fb16dfd377876e95a0
+DIST json-2.15.1.tar.gz 856795 BLAKE2B 814459f9628b02c6d788cc9ce82c53ce62b6d351100d499e5792cef53822c14d1cfc11882065508930322c0ca32482ad7e2ed64b2d07bf35ae6e6fb8b6ed8b03 SHA512 aa14367863eb79fdbe3bab0a8d69440e1e463663513e2737995ce940d1ae8795489d13026682b1557f0f1d534421a166731dd0172d7f64f3186da4ea7d48c118

diff --git a/dev-ruby/json/json-2.15.1.ebuild b/dev-ruby/json/json-2.15.1.ebuild
new file mode 100644
index 000000000000..43b3a77483b8
--- /dev/null
+++ b/dev-ruby/json/json-2.15.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="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`|""|' \
+		-e '/extensiontask/I s:^:#:' \
+		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
+}


             reply	other threads:[~2025-10-08 11:41 UTC|newest]

Thread overview: 161+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-08 11:41 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-28 15:52 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/ Arthur Zamarin
2025-09-26 12:26 Arthur Zamarin
2025-09-23 12:08 Arthur Zamarin
2025-09-23 12:08 Arthur Zamarin
2025-09-23 12:08 Arthur Zamarin
2025-09-23 12:08 Arthur Zamarin
2025-09-23  9:14 Hans de Graaff
2025-09-23  9:14 Hans de Graaff
2025-09-19  8:26 Hans de Graaff
2025-08-16  6:04 Hans de Graaff
2025-07-29  5:49 Hans de Graaff
2025-07-18  5:06 Hans de Graaff
2025-07-13  9:45 Sam James
2025-05-24  5:32 Hans de Graaff
2025-05-24  5:32 Hans de Graaff
2025-05-12 18:49 Hans de Graaff
2025-04-25 18:25 Hans de Graaff
2025-04-25 10:11 Arthur Zamarin
2025-04-25  0:33 Sam James
2025-04-24 19:55 Sam James
2025-04-24 19:08 Sam James
2025-04-24 19:08 Sam James
2025-04-24 19:08 Sam James
2025-04-24 18:27 Hans de Graaff
2025-03-16  8:52 Hans de Graaff
2024-12-19  6:26 Hans de Graaff
2024-12-19  6:26 Hans de Graaff
2024-12-06 13:59 Hans de Graaff
2024-12-05 10:08 Hans de Graaff
2024-11-16  8:12 Hans de Graaff
2024-11-08  7:12 Hans de Graaff
2024-11-08  7:12 Hans de Graaff
2024-11-05  6:51 Hans de Graaff
2024-10-31  6:34 Hans de Graaff
2024-10-29  6:42 Hans de Graaff
2024-10-26  6:59 Hans de Graaff
2024-10-25  6:31 Hans de Graaff
2024-10-25  6:31 Hans de Graaff
2024-10-25  6:31 Hans de Graaff
2024-09-12 13:45 Sam James
2024-09-11 18:22 Arthur Zamarin
2024-09-05  0:06 Sam James
2024-09-03  9:55 Sam James
2024-09-03  9:55 Sam James
2024-09-03  8:59 Sam James
2024-09-03  8:59 Sam James
2024-07-12  9:06 Hans de Graaff
2024-06-19  5:24 Arthur Zamarin
2024-06-04  4:39 Hans de Graaff
2024-06-02  5:43 Hans de Graaff
2024-05-30 19:10 Arthur Zamarin
2024-05-30 19:10 Arthur Zamarin
2024-05-30 19:10 Arthur Zamarin
2024-05-30 18:41 Arthur Zamarin
2024-05-30 18:41 Arthur Zamarin
2024-05-30 18:41 Arthur Zamarin
2024-05-30 16:23 Arthur Zamarin
2024-05-20 10:11 Hans de Graaff
2024-04-04  6:06 Hans de Graaff
2024-03-29  9:24 Hans de Graaff
2023-12-27  7:16 Hans de Graaff
2023-12-27  7:16 Hans de Graaff
2023-12-25  9:48 Hans de Graaff
2023-04-25 22:41 Sam James
2023-03-29  0:11 Sam James
2023-03-28 22:26 Sam James
2023-03-28 21:53 Sam James
2023-03-28 21:51 Sam James
2023-03-04 10:25 Hans de Graaff
2022-12-11  6:27 Hans de Graaff
2022-07-30  6:32 Hans de Graaff
2022-05-18  5:03 Hans de Graaff
2022-03-12  7:21 Hans de Graaff
2021-11-19  6:54 Hans de Graaff
2021-11-17  8:19 Sam James
2021-10-25  5:58 Hans de Graaff
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 15:02 Hans de Graaff
2021-07-21 10:27 Marek Szuba
2021-02-07 16:18 Hans de Graaff
2020-12-28  7:46 Hans de Graaff
2020-07-01  5:40 Hans de Graaff
2020-04-05  9:46 Hans de Graaff
2020-04-03 13:12 Agostino Sarubbo
2020-04-03 12:13 Agostino Sarubbo
2020-04-03 12:06 Agostino Sarubbo
2020-04-03 12:05 Agostino Sarubbo
2020-03-29  9:40 Sergei Trofimovich
2020-03-29  9:34 Sergei Trofimovich
2020-03-29  8:53 Mart Raudsepp
2020-03-23 18:07 Sergei Trofimovich
2020-03-21 11:25 Sergei Trofimovich
2019-12-26 11:06 Hans de Graaff
2019-12-12  6:39 Hans de Graaff
2019-12-03 10:24 Hans de Graaff
2019-11-30 21:45 Sergei Trofimovich
2019-11-27 13:03 Mikle Kolyada
2019-11-26 19:35 Sergei Trofimovich
2019-11-23 16:53 Agostino Sarubbo
2019-11-23 15:46 Agostino Sarubbo
2019-11-23 15:40 Agostino Sarubbo
2019-11-23 15:33 Agostino Sarubbo
2019-11-23 12:46 Agostino Sarubbo
2019-11-23  0:13 Aaron Bauman
2019-11-22 16:23 Matt Turner
2019-11-03  7:46 Hans de Graaff
2019-04-27 19:48 Aaron Bauman
2019-04-21 17:09 Hans de Graaff
2019-02-22  6:19 Hans de Graaff
2018-12-30  3:43 Matt Turner
2018-12-27  2:57 Matt Turner
2018-12-25 11:11 Sergei Trofimovich
2018-12-15 14:25 Mikle Kolyada
2018-12-11 16:42 Thomas Deutschmann
2018-11-18  8:11 Hans de Graaff
2018-11-17 21:34 Thomas Deutschmann
2018-05-31  4:44 Hans de Graaff
2018-01-24  7:02 Hans de Graaff
2017-12-25 17:02 Hans de Graaff
2017-12-22  5:38 Hans de Graaff
2017-12-06 22:44 Sergei Trofimovich
2017-10-22 21:34 Thomas Deutschmann
2017-10-14 22:00 Sergei Trofimovich
2017-09-24 18:50 Sergei Trofimovich
2017-09-24 16:16 Sergei Trofimovich
2017-09-17 16:51 Sergei Trofimovich
2017-09-13  6:49 Hans de Graaff
2017-09-11  7:46 Sergei Trofimovich
2017-09-07 18:44 Markus Meier
2017-09-04 10:47 Tobias Klausmann
2017-09-02 13:29 Sergei Trofimovich
2017-09-01  7:14 Hans de Graaff
2017-08-23 21:43 Sergei Trofimovich
2017-08-14 19:42 Hans de Graaff
2017-07-11  4:58 Markus Meier
2017-06-11  5:40 Hans de Graaff
2017-06-11  5:40 Hans de Graaff
2017-06-05 21:53 Sergei Trofimovich
2017-05-01  4:35 Hans de Graaff
2017-04-30 19:26 Hans de Graaff
2017-04-30  8:10 Jeroen Roovers
2017-04-25  7:08 Tobias Klausmann
2017-04-12  4:56 Hans de Graaff
2017-03-08 23:39 Michael Weber
2017-03-01 13:05 Michael Weber
2017-01-13  6:49 Hans de Graaff
2016-12-26 19:17 Hans de Graaff
2016-07-27  5:25 Hans de Graaff
2016-07-08  5:09 Hans de Graaff
2016-05-16 13:50 Hans de Graaff
2016-05-16 13:50 Hans de Graaff
2015-12-27  9:22 Hans de Graaff
2015-12-12  7:35 Hans de Graaff
2015-08-09 16:03 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1759923651.96a86293ed50e458e5558de672e818d8725c80f7.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox