diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ruby/faraday_middleware-multi_json | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ruby/faraday_middleware-multi_json')
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-ruby/faraday_middleware-multi_json/Manifest b/dev-ruby/faraday_middleware-multi_json/Manifest new file mode 100644 index 000000000000..d7e2853a9360 --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/Manifest @@ -0,0 +1 @@ +DIST faraday_middleware-multi_json-0.0.6.tar.gz 3455 SHA256 d8208978c433b2ab060a1f2c9e20694660d0609770d5ffe61714e565c25da0b8 SHA512 4abc794a06725d4a584af08a58874162f1bea6424569f0fa6683ac0df7882708d3872e6a42024d7fa764d08688ceccbdf61d9870f23b71ea3c842440b495cc61 WHIRLPOOL 5916eec88e273dcbe144698cd76b5f4faf990f55830dbeee9cb730c4ba5185c13a20027da05f35ff2572a3d85a0cccc37e7df0c4b5bb2984a418f51d74575062 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 new file mode 100644 index 000000000000..e7ba42d52657 --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +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="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="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday_middleware + dev-ruby/multi_json" + +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() { + # Make sure the test scripts use the right ruby interpreter + #sed -i -e 's:ruby:'${RUBY}':' script/* || die + : +} diff --git a/dev-ruby/faraday_middleware-multi_json/metadata.xml b/dev-ruby/faraday_middleware-multi_json/metadata.xml new file mode 100644 index 000000000000..2cb5f9dca9e8 --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> + <maintainer> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <longdescription lang="en"> + Simple Faraday middleware that uses MultiJson to unobtrusively encode JSON requests and parse JSON responses. + </longdescription> + <upstream> + <remote-id type="github">denro/faraday_middleware-multi_json</remote-id> + </upstream> +</pkgmetadata> |