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_schema/
Date: Fri, 11 Aug 2023 19:14:22 +0000 (UTC)	[thread overview]
Message-ID: <1691781250.8f4675066a349038c83cfc259afdc8da6c517652.graaff@gentoo> (raw)

commit:     8f4675066a349038c83cfc259afdc8da6c517652
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 11 10:44:10 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Aug 11 19:14:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f467506

dev-ruby/json_schema: add 0.21.0

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

 dev-ruby/json_schema/Manifest                  |  1 +
 dev-ruby/json_schema/json_schema-0.21.0.ebuild | 32 ++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-ruby/json_schema/Manifest b/dev-ruby/json_schema/Manifest
index bb37f45dfecb..6a15e1d81a1a 100644
--- a/dev-ruby/json_schema/Manifest
+++ b/dev-ruby/json_schema/Manifest
@@ -1 +1,2 @@
 DIST json_schema-0.20.9.tar.gz 36498 BLAKE2B 5eb79271b3a1627e2759783b176917d09ae9c20f84723f526f48653c99f1ce52f6e377ac9835bafee64ce2899222edc19ccbdd186e1fa82f66ab40601975800c SHA512 7dd2d7394fb7300d34dcd3e8b5fd6ee29259a762065b99cb55012248ef385dd89460fc58bfa4ac4c3f6255f1546cf3ba363310420d89057c27d1be55ef50ae73
+DIST json_schema-0.21.0.tar.gz 36563 BLAKE2B a7c0eca9ef738cdd78e6549f7ad8ec41dbde9986f957688411d65a8198c19fa235ff08730370be2397fab7bc0032bef42824bdf276b14b78da54bfd62842266f SHA512 753bcd9715ad384676c9ebb7dcaff7cb63295dc58e31fe51064c6c11ff46fdd32a4c573d6bc4722ce1def290759f28a7706a75efbc1544a56e9585435084ad1d

diff --git a/dev-ruby/json_schema/json_schema-0.21.0.ebuild b/dev-ruby/json_schema/json_schema-0.21.0.ebuild
new file mode 100644
index 000000000000..5a7f5c83c528
--- /dev/null
+++ b/dev-ruby/json_schema/json_schema-0.21.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="schemas"
+
+RUBY_FAKEGEM_GEMSPEC="json_schema.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A JSON Schema V4 and Hyperschema V4 parser and validator"
+HOMEPAGE="https://github.com/brandur/json_schema"
+SRC_URI="https://github.com/brandur/json_schema/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/ecma-re-validator )"
+
+all_ruby_prepare() {
+	sed -i -e '/bundler/I s:^:#:' Rakefile || die
+	sed -i -e '/^if/,/^end/ s:^:#:' test/test_helper.rb || die
+
+	sed -e '/validates date format successfully/askip "should fail like test after it"' \
+		-i test/json_schema/validator_test.rb || die
+}


             reply	other threads:[~2023-08-11 19:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11 19:14 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-03  7:04 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/json_schema/ Hans de Graaff
2023-08-27  6:44 Hans de Graaff
2023-08-11 19:14 Hans de Graaff
2022-06-25  8:03 Hans de Graaff
2022-04-08  9:15 Hans de Graaff
2022-03-18  6:50 Jakov Smolić
2020-06-16  4:42 Hans de Graaff
2020-05-23  5:28 Hans de Graaff
2020-05-23  5:28 Hans de Graaff
2020-02-26  6:25 Hans de Graaff
2019-09-14  6:05 Hans de Graaff
2019-07-19  4:29 Hans de Graaff
2019-07-19  4:29 Hans de Graaff
2019-05-17  4:31 Hans de Graaff
2019-05-08 17:32 Hans de Graaff
2019-05-08 17:32 Hans de Graaff
2019-03-12  5:49 Hans de Graaff
2019-02-23 10:05 Hans de Graaff
2019-02-21  6:09 Hans de Graaff
2019-01-05  9:48 Hans de Graaff
2018-10-28  6:31 Hans de Graaff

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=1691781250.8f4675066a349038c83cfc259afdc8da6c517652.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