diff options
Diffstat (limited to 'dev-ruby/json_schema')
-rw-r--r-- | dev-ruby/json_schema/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/json_schema/json_schema-0.20.9.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/json_schema/Manifest b/dev-ruby/json_schema/Manifest index e4d4a2d4d1b5..c754f4d0b687 100644 --- a/dev-ruby/json_schema/Manifest +++ b/dev-ruby/json_schema/Manifest @@ -1 +1,2 @@ DIST json_schema-0.20.8.tar.gz 36456 BLAKE2B 4159b8a293ab41d0d5f6c3877de98fe3ba0f1f9f151e938ebf03cdbd563fc06e80603b49ca0132877d0369901b8724229ee618bd2133a159fc34201de7d9541a SHA512 f3e2314d66fdd4fd0968a1e98f363e5f008fa91c46c068c198b89f54cd856d4d87bcab02eb23b46fbce34749885579178955a84d22aad2ae131928ceaaf80065 +DIST json_schema-0.20.9.tar.gz 36498 BLAKE2B 5eb79271b3a1627e2759783b176917d09ae9c20f84723f526f48653c99f1ce52f6e377ac9835bafee64ce2899222edc19ccbdd186e1fa82f66ab40601975800c SHA512 7dd2d7394fb7300d34dcd3e8b5fd6ee29259a762065b99cb55012248ef385dd89460fc58bfa4ac4c3f6255f1546cf3ba363310420d89057c27d1be55ef50ae73 diff --git a/dev-ruby/json_schema/json_schema-0.20.9.ebuild b/dev-ruby/json_schema/json_schema-0.20.9.ebuild new file mode 100644 index 000000000000..270f0f2666e3 --- /dev/null +++ b/dev-ruby/json_schema/json_schema-0.20.9.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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" +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 +} |