summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-10-28 07:31:05 +0100
committerHans de Graaff <graaff@gentoo.org>2018-10-28 07:31:05 +0100
commit538f85dd88b7cd1911420734b8ee5fd15ed1baf7 (patch)
tree2e87a6f44436eee028c3e01902370dea497507b3 /dev-ruby/json_schema
parentdev-ruby/archive-tar-minitar: add 0.7 (diff)
downloadgentoo-538f85dd88b7cd1911420734b8ee5fd15ed1baf7.tar.gz
gentoo-538f85dd88b7cd1911420734b8ee5fd15ed1baf7.tar.bz2
gentoo-538f85dd88b7cd1911420734b8ee5fd15ed1baf7.zip
dev-ruby/json_schema: initial import of 0.19.1
New dependency for www-apps/nanoc. Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.49, 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.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 000000000000..73efbc2daf63
--- /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 000000000000..bc4378332474
--- /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 000000000000..412bffe19eee
--- /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>