summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/json_schema/Manifest1
-rw-r--r--dev-ruby/json_schema/json_schema-0.19.1.ebuild25
-rw-r--r--dev-ruby/json_schema/metadata.xml11
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/json_schema/Manifest b/dev-ruby/json_schema/Manifest
new file mode 100644
index 00000000000..73efbc2daf6
--- /dev/null
+++ b/dev-ruby/json_schema/Manifest
@@ -0,0 +1 @@
+DIST json_schema-0.19.1.tar.gz 34501 BLAKE2B a8467a439a05bee01a8588baf77bdf2c58f29a0a4c54cab8be248760192ca473bf24bd56859c1c36779b2ebf85744947db3c9278b64cf93fd66f1792924e2c08 SHA512 db2cc70737cba7266cadc7fa747779fdedbe94ed7d8c8e97df302daed68f0c4cc3e4f31c513870eef481b7906720cee1626513520a3c9ee152a570a05dab210b
diff --git a/dev-ruby/json_schema/json_schema-0.19.1.ebuild b/dev-ruby/json_schema/json_schema-0.19.1.ebuild
new file mode 100644
index 00000000000..bc437833247
--- /dev/null
+++ b/dev-ruby/json_schema/json_schema-0.19.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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
+}
diff --git a/dev-ruby/json_schema/metadata.xml b/dev-ruby/json_schema/metadata.xml
new file mode 100644
index 00000000000..412bffe19ee
--- /dev/null
+++ b/dev-ruby/json_schema/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="rubygems">json_schema</remote-id>
+ </upstream>
+</pkgmetadata>