summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-05-25 05:24:14 +0000
committerHans de Graaff <graaff@gentoo.org>2015-05-25 05:24:14 +0000
commit42e272f41f0b13a9017ae27d152ffbdeeec53d91 (patch)
tree51bb950e87be5a476214143b6d7a130c3cf1d68b
parentEnable mesa[gles2] by default for gnome, needed for cogl[gles2] which is need... (diff)
downloadgentoo-2-42e272f41f0b13a9017ae27d152ffbdeeec53d91.tar.gz
gentoo-2-42e272f41f0b13a9017ae27d152ffbdeeec53d91.tar.bz2
gentoo-2-42e272f41f0b13a9017ae27d152ffbdeeec53d91.zip
Run tests. Fix repoman warnings. Drop x86 keyword since dependencies are not keyworded. Avoid unlisted dependency on dev-vcs/git. Install documentation.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
-rw-r--r--dev-ruby/faraday_middleware-multi_json/ChangeLog7
-rw-r--r--dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild15
2 files changed, 16 insertions, 6 deletions
diff --git a/dev-ruby/faraday_middleware-multi_json/ChangeLog b/dev-ruby/faraday_middleware-multi_json/ChangeLog
index dab73719f298..fb05c135a86a 100644
--- a/dev-ruby/faraday_middleware-multi_json/ChangeLog
+++ b/dev-ruby/faraday_middleware-multi_json/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/faraday_middleware-multi_json
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday_middleware-multi_json/ChangeLog,v 1.1 2015/05/24 22:55:32 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday_middleware-multi_json/ChangeLog,v 1.2 2015/05/25 05:24:14 graaff Exp $
+
+ 25 May 2015; Hans de Graaff <graaff@gentoo.org>
+ faraday_middleware-multi_json-0.0.6.ebuild:
+ Run tests. Fix repoman warnings. Drop x86 keyword since dependencies are not
+ keyworded. Avoid unlisted dependency on dev-vcs/git. Install documentation.
*faraday_middleware-multi_json-0.0.6 (24 May 2015)
diff --git a/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild
index aa50d81d24ca..7dc0dbd06ac6 100644
--- a/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild
+++ b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild
@@ -1,23 +1,25 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild,v 1.1 2015/05/24 22:55:32 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild,v 1.2 2015/05/25 05:24:14 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
-RUBY_FAKEGEM_TASK_TEST="test"
-RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"
+
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
inherit ruby-fakegem eutils
-DESCRIPTION="Simple Faraday middleware that uses MultiJson to unobtrusively encode JSON requests and parse JSON responses"
+DESCRIPTION="Response JSON parser using MultiJson and FaradayMiddleware"
HOMEPAGE="https://github.com/denro/faraday_middleware-multi_json"
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend "
@@ -28,6 +30,9 @@ all_ruby_prepare() {
# Remove bundler support.
rm -f Gemfile || die
sed -i -e '/[Bb]undler/d' Rakefile || die
+
+ # Avoid unneeded dependency on git.
+ sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_prepare() {