summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-07-20 07:05:43 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-20 07:05:43 +0200
commit1d770d0daf7bc44556dc46844683a13494a84c8a (patch)
tree9eaf52b962e2914cae27775e54132ee14ca3fd98 /dev-ruby
parentdev-util/trace-cmd: Revbump, soname fix and install missing headers (diff)
downloadgentoo-1d770d0daf7bc44556dc46844683a13494a84c8a.tar.gz
gentoo-1d770d0daf7bc44556dc46844683a13494a84c8a.tar.bz2
gentoo-1d770d0daf7bc44556dc46844683a13494a84c8a.zip
dev-ruby/jbuilder: initial import of 2.9.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/jbuilder/Manifest1
-rw-r--r--dev-ruby/jbuilder/jbuilder-2.9.1.ebuild26
-rw-r--r--dev-ruby/jbuilder/metadata.xml11
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/jbuilder/Manifest b/dev-ruby/jbuilder/Manifest
new file mode 100644
index 000000000000..4c704f1d1799
--- /dev/null
+++ b/dev-ruby/jbuilder/Manifest
@@ -0,0 +1 @@
+DIST jbuilder-2.9.1.gem 28160 BLAKE2B 52e8a6ed2e6be19d73c22eddc6bcf3817e89f390da3b5eb4bc3308fa0c588f910608cbc6586cab858a5fb9ae6eb22fbade3fb32a426bed665cae18c067d85116 SHA512 aa8607696f5f14f22d163438d876b2a3017af791fdf4d6afd0df6c736ef86294db71f21a719029a2c052c24623d86f05c7aa5315e6f5066c74bc6886c50873fb
diff --git a/dev-ruby/jbuilder/jbuilder-2.9.1.ebuild b/dev-ruby/jbuilder/jbuilder-2.9.1.ebuild
new file mode 100644
index 000000000000..f71f5a9a2601
--- /dev/null
+++ b/dev-ruby/jbuilder/jbuilder-2.9.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="TRAVIS=true test"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Create JSON structures via a Builder-style DSL"
+HOMEPAGE="https://github.com/rails/jbuilder"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die
+}
diff --git a/dev-ruby/jbuilder/metadata.xml b/dev-ruby/jbuilder/metadata.xml
new file mode 100644
index 000000000000..d10e8cb6ead9
--- /dev/null
+++ b/dev-ruby/jbuilder/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">jbuilder</remote-id>
+ </upstream>
+</pkgmetadata>