summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-29 06:17:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-29 06:17:37 +0000
commit2b771e1b41c98e0ec23ff69111824d5aeb5a2f98 (patch)
treef50e991098c69af837f4a4ba5064c7790bc4672f /dev-ruby/configliere
parentInitial import of curb. (diff)
downloadgentoo-2-2b771e1b41c98e0ec23ff69111824d5aeb5a2f98.tar.gz
gentoo-2-2b771e1b41c98e0ec23ff69111824d5aeb5a2f98.tar.bz2
gentoo-2-2b771e1b41c98e0ec23ff69111824d5aeb5a2f98.zip
Initial import of configliere.
(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/configliere')
-rw-r--r--dev-ruby/configliere/ChangeLog10
-rw-r--r--dev-ruby/configliere/configliere-0.4.17.ebuild38
-rw-r--r--dev-ruby/configliere/files/configliere-0.4.17-nobundler.patch11
-rw-r--r--dev-ruby/configliere/metadata.xml5
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-ruby/configliere/ChangeLog b/dev-ruby/configliere/ChangeLog
new file mode 100644
index 000000000000..2b7dd9e84a5a
--- /dev/null
+++ b/dev-ruby/configliere/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/configliere
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/configliere/ChangeLog,v 1.1 2012/09/29 06:17:36 flameeyes Exp $
+
+*configliere-0.4.17 (29 Sep 2012)
+
+ 29 Sep 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ +configliere-0.4.17.ebuild, +files/configliere-0.4.17-nobundler.patch,
+ +metadata.xml:
+ Initial import of configliere.
diff --git a/dev-ruby/configliere/configliere-0.4.17.ebuild b/dev-ruby/configliere/configliere-0.4.17.ebuild
new file mode 100644
index 000000000000..a5b9f89229fd
--- /dev/null
+++ b/dev-ruby/configliere/configliere-0.4.17.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/configliere/configliere-0.4.17.ebuild,v 1.1 2012/09/29 06:17:36 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.textile README.textile FEATURES.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Settings manager for Ruby scripts"
+HOMEPAGE="https://github.com/infochimps-labs/configliere"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/highline-1.5.2
+ >=dev-ruby/multi_json-1.1"
+
+RUBY_PATCHES=( ${P}-nobundler.patch )
+
+all_ruby_prepare() {
+ rm Gemfile* || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+}
diff --git a/dev-ruby/configliere/files/configliere-0.4.17-nobundler.patch b/dev-ruby/configliere/files/configliere-0.4.17-nobundler.patch
new file mode 100644
index 000000000000..752bfdc0ec7b
--- /dev/null
+++ b/dev-ruby/configliere/files/configliere-0.4.17-nobundler.patch
@@ -0,0 +1,11 @@
+Index: configliere-0.4.17/spec/spec_helper.rb
+===================================================================
+--- configliere-0.4.17.orig/spec/spec_helper.rb
++++ configliere-0.4.17/spec/spec_helper.rb
+@@ -1,5 +1,5 @@
+-require 'bundler/setup' ; Bundler.require(:default, :development, :test)
+ require 'rspec/autorun'
++require 'yaml'
+
+ puts "Running specs in version #{RUBY_VERSION} on #{RUBY_PLATFORM} #{RUBY_DESCRIPTION}"
+
diff --git a/dev-ruby/configliere/metadata.xml b/dev-ruby/configliere/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/configliere/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>