summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-01-05 10:47:40 +0100
committerHans de Graaff <graaff@gentoo.org>2019-01-05 10:48:17 +0100
commit73325a56dd97d14f13467a5be7c49bb87c73e253 (patch)
treec62b05e751c71c6f3971b250bcf34e8d3ebb1b81 /dev-ruby/json_schema
parentdev-ruby/ecma-re-validator: add ruby26 (diff)
downloadgentoo-73325a56dd97d14f13467a5be7c49bb87c73e253.tar.gz
gentoo-73325a56dd97d14f13467a5be7c49bb87c73e253.tar.bz2
gentoo-73325a56dd97d14f13467a5be7c49bb87c73e253.zip
dev-ruby/json_schema: add 0.20.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/json_schema')
-rw-r--r--dev-ruby/json_schema/Manifest1
-rw-r--r--dev-ruby/json_schema/json_schema-0.20.1.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/json_schema/Manifest b/dev-ruby/json_schema/Manifest
index 73efbc2daf63..e5dff017194f 100644
--- a/dev-ruby/json_schema/Manifest
+++ b/dev-ruby/json_schema/Manifest
@@ -1 +1,2 @@
DIST json_schema-0.19.1.tar.gz 34501 BLAKE2B a8467a439a05bee01a8588baf77bdf2c58f29a0a4c54cab8be248760192ca473bf24bd56859c1c36779b2ebf85744947db3c9278b64cf93fd66f1792924e2c08 SHA512 db2cc70737cba7266cadc7fa747779fdedbe94ed7d8c8e97df302daed68f0c4cc3e4f31c513870eef481b7906720cee1626513520a3c9ee152a570a05dab210b
+DIST json_schema-0.20.1.tar.gz 34615 BLAKE2B b08b580dd55e5c2daba9e434f1deccb41ea3e65e791b885287ffee2a9c0c6e5d4ea40698514c69f0d3f59eb305e0509e3d82ef7919fd8c0a4bc0117cec74e104 SHA512 9e5bbd554bf60def870260f3672283d4208224c90057d908a30ce4a3e334a0d529e155265fddcc0e4c009a021c7d77cb51a3bce816dea2cfe852617ce15f64fa
diff --git a/dev-ruby/json_schema/json_schema-0.20.1.ebuild b/dev-ruby/json_schema/json_schema-0.20.1.ebuild
new file mode 100644
index 000000000000..ac2d6dac495c
--- /dev/null
+++ b/dev-ruby/json_schema/json_schema-0.20.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="schemas"
+
+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=""
+
+all_ruby_prepare() {
+ sed -i -e '/^if/,/^end/ s:^:#:' test/test_helper.rb || die
+}