summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-12-13 03:31:29 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-12-13 03:31:29 +0000
commitebc9d57ea585cfc97c8c7a927d6252b6f12a000b (patch)
treeb83ae232efca03f36f719f56b0be944f696c6056 /dev-ruby/toml
parentEAPI5 upgrade #477966 (diff)
downloadgentoo-2-ebc9d57ea585cfc97c8c7a927d6252b6f12a000b.tar.gz
gentoo-2-ebc9d57ea585cfc97c8c7a927d6252b6f12a000b.tar.bz2
gentoo-2-ebc9d57ea585cfc97c8c7a927d6252b6f12a000b.zip
Initial ebuild.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/toml')
-rw-r--r--dev-ruby/toml/ChangeLog9
-rw-r--r--dev-ruby/toml/metadata.xml5
-rw-r--r--dev-ruby/toml/toml-0.1.0.ebuild38
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/toml/ChangeLog b/dev-ruby/toml/ChangeLog
new file mode 100644
index 000000000000..29e1de2938e1
--- /dev/null
+++ b/dev-ruby/toml/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-ruby/toml
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/toml/ChangeLog,v 1.1 2013/12/13 03:31:29 mrueg Exp $
+
+*toml-0.1.0 (13 Dec 2013)
+
+ 13 Dec 2013; Manuel Rüger <mrueg@gentoo.org> +metadata.xml,
+ +toml-0.1.0.ebuild:
+ Initial ebuild.
diff --git a/dev-ruby/toml/metadata.xml b/dev-ruby/toml/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/toml/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/toml/toml-0.1.0.ebuild b/dev-ruby/toml/toml-0.1.0.ebuild
new file mode 100644
index 000000000000..bdffc27a703c
--- /dev/null
+++ b/dev-ruby/toml/toml-0.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/toml/toml-0.1.0.ebuild,v 1.1 2013/12/13 03:31:29 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A sane configuration format"
+HOMEPAGE="https://github.com/jm/toml"
+
+IUSE="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest
+ dev-ruby/multi_json )"
+
+ruby_add_rdepend "dev-ruby/parslet"
+
+all_ruby_prepare() {
+ sed -i -e "s/, '~> 1.7.8'//" Gemfile || die
+ sed -i -e "/simplecov/d" -e "/[Bb]undle/d" Rakefile Gemfile || die
+ sed -i -e "/bundler/d" test/test_*.rb || die
+}
+
+each_ruby_test() {
+ for i in test/test_*
+ do
+ ${RUBY} -Ilib:test ${i} || die
+ done
+}