summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/tomlrb')
-rw-r--r--dev-ruby/tomlrb/Manifest1
-rw-r--r--dev-ruby/tomlrb/metadata.xml11
-rw-r--r--dev-ruby/tomlrb/tomlrb-1.2.6.ebuild26
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/tomlrb/Manifest b/dev-ruby/tomlrb/Manifest
new file mode 100644
index 000000000000..d5f0d32b395e
--- /dev/null
+++ b/dev-ruby/tomlrb/Manifest
@@ -0,0 +1 @@
+DIST tomlrb-1.2.6.tar.gz 15642 BLAKE2B 4f9d19fd66a88a049360f6d3636fcaf6caa7164149a543db5a162ee48c8fb301a4a884dc77d183a9c9f190d6f9e9e92bca66179c250f240d7014791f11f7a600 SHA512 ada1d801ceda014d4ef9d3c973a14b970ad592323c259dfe0e851c00b554551d59010bb65ee64f8acbf5521132d2fdb4de14306c1a2dd6bf5307035bca100fcf
diff --git a/dev-ruby/tomlrb/metadata.xml b/dev-ruby/tomlrb/metadata.xml
new file mode 100644
index 000000000000..069d509f369b
--- /dev/null
+++ b/dev-ruby/tomlrb/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="github">fbernier/tomlrb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/tomlrb/tomlrb-1.2.6.ebuild b/dev-ruby/tomlrb/tomlrb-1.2.6.ebuild
new file mode 100644
index 000000000000..62a611d08c6b
--- /dev/null
+++ b/dev-ruby/tomlrb/tomlrb-1.2.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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.md README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A racc based toml parser"
+HOMEPAGE="https://github.com/fbernier/tomlrb/"
+SRC_URI="https://github.com/fbernier/tomlrb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/reporters/I s:^:#:' test/minitest_helper.rb || die
+}