public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday/
Date: Sat, 10 Oct 2015 05:39:15 +0000 (UTC)	[thread overview]
Message-ID: <1444455528.82b61a5b25d16ca3336d56159802ba767f7a5ba4.graaff@gentoo> (raw)

commit:     82b61a5b25d16ca3336d56159802ba767f7a5ba4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 08:48:56 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 05:38:48 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b61a5b

dev-ruby/faraday: add 0.9.2

Package-Manager: portage-2.2.20.1

 dev-ruby/faraday/Manifest             |  1 +
 dev-ruby/faraday/faraday-0.9.2.ebuild | 68 +++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
index 196aa9b..f65427c 100644
--- a/dev-ruby/faraday/Manifest
+++ b/dev-ruby/faraday/Manifest
@@ -1,2 +1,3 @@
 DIST faraday-0.9.0.tar.gz 53998 SHA256 0b3503ca485e25082ae20d67ec1f3594d802dc28e5f61e857b741520216f2927 SHA512 d69db4fced6edb7f161078d2fb3d60f11d8bbc14785e08a6aae262915a23cd3fd1f1b871a269491738e623b6b804626e812223678a5e3cc133baafc485c87dd4 WHIRLPOOL 3924f408edb4cc1e3d5df35c0b052f1f12d2f575b1671a4d5aaf4eb7b33e925e3fc5683b564e6d58ab556675022594abace05cf984b83652948c0e0e5c18a313
 DIST faraday-0.9.1.tar.gz 56944 SHA256 27c82ff6eb0b25da7077bd724edc545bc9438e25554fa259434f825ffeb20da5 SHA512 9686f8fd5adc4380dee0cefc3a18f3b8dbe9a7785bfea5e0332dbb6f4d3af4311698e87eb6ac7f070fd758d68fb5f9cf9beec81e86a05da7fe6a5ba6fded1a3b WHIRLPOOL 59f060c2bb1441de7fd55565050e8c47f826c3361b2ca37bac2f812d5f9ba4b49a639f37bb2bc73d49ed5c3e0c1633b7c82bd428fa0ebc01e5d68defbe0deb09
+DIST faraday-0.9.2.tar.gz 57013 SHA256 ceaf7838acc09c3c4401f74e49f3169cd20922258817f3af817fe7eedcb592f3 SHA512 12c4ead8dca6baf6292291943ea1aab1a534509bf92c6e0a621c1c69e3493480fced68aa529d8678847028f2fc2a7672411df7e4d09e65a5e764c957fed1ee72 WHIRLPOOL d2c4545c7b3320099aa1c5cc85fe1ebbb508749abdcf80de6cdf9e98b642f356e9f0b9174e5191b531406c7df39a326f9e4e5f77d0699c85a915699a92983b6e

diff --git a/dev-ruby/faraday/faraday-0.9.2.ebuild b/dev-ruby/faraday/faraday-0.9.2.ebuild
new file mode 100644
index 0000000..d72206c
--- /dev/null
+++ b/dev-ruby/faraday/faraday-0.9.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_TEST="test"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="HTTP/REST API client library with pluggable components"
+HOMEPAGE="https://github.com/lostisland/faraday"
+SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND+=" test? ( sys-process/lsof )"
+
+ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3"
+ruby_add_bdepend "test? (
+		>=dev-ruby/test-unit-2.4
+		dev-ruby/httpclient
+		dev-ruby/rack-test
+		dev-ruby/sinatra
+		dev-ruby/net-http-persistent
+		dev-ruby/patron
+	)"
+
+all_ruby_prepare() {
+	# Remove bundler support.
+	rm Gemfile || die
+	sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die
+	sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
+
+	# Remove simplecov and coveralls support, not needed to run tests.
+	sed -i -e '/simplecov/,/^  end/ s:^:#:' test/helper.rb || die
+
+	# Remove tests for adapters that are not packaged for Gentoo.
+	rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
+
+	# The proxy server is already killed, may be OS X vs Linux issue.
+	sed -i -e '138 s/^/#/' script/test || die
+
+	sed -i -e '/git ls-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
+}
+
+each_ruby_test() {
+	each_fakegem_test
+
+	# Sleep some time to allow the sinatra test server to die
+	einfo "Waiting for test server to stop"
+	sleep 10
+}


             reply	other threads:[~2015-10-10  5:39 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10  5:39 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-03  5:38 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday/ Richard Farina
2016-04-05 22:58 Manuel Rüger
2016-07-05  4:14 Hans de Graaff
2016-10-29 21:30 Manuel Rüger
2017-03-23 16:45 Hans de Graaff
2017-04-03  5:09 Hans de Graaff
2017-04-23  5:23 Hans de Graaff
2017-07-22  6:00 Hans de Graaff
2017-07-22  6:00 Hans de Graaff
2017-08-17  5:45 Hans de Graaff
2017-08-27  6:18 Hans de Graaff
2017-08-27  6:42 Hans de Graaff
2018-01-24 16:11 Hans de Graaff
2018-01-24 16:11 Hans de Graaff
2018-03-05 19:20 Hans de Graaff
2018-04-20  5:03 Hans de Graaff
2018-04-28  7:09 Hans de Graaff
2018-04-30 20:11 Hans de Graaff
2018-05-22  6:12 Hans de Graaff
2018-05-28  5:26 Hans de Graaff
2018-06-01  4:13 Hans de Graaff
2018-09-22  5:25 Hans de Graaff
2018-11-25 10:09 Hans de Graaff
2018-12-03 16:23 Hans de Graaff
2018-12-09  7:56 Hans de Graaff
2018-12-09  7:56 Hans de Graaff
2019-04-11 18:29 Hans de Graaff
2019-05-04 12:38 Hans de Graaff
2019-12-10  5:23 Hans de Graaff
2020-01-06  6:39 Hans de Graaff
2020-02-02  6:32 Hans de Graaff
2020-05-23  5:28 Hans de Graaff
2020-05-23  6:34 Hans de Graaff
2020-07-20  6:49 Hans de Graaff
2020-08-16 16:30 Hans de Graaff
2020-08-21 15:02 Hans de Graaff
2020-11-04  6:21 Hans de Graaff
2021-01-04  6:48 Hans de Graaff
2021-02-17  5:59 Hans de Graaff
2021-07-07 17:38 Hans de Graaff
2022-05-08  6:40 Hans de Graaff
2022-05-26  8:51 Hans de Graaff
2022-07-29  4:48 Hans de Graaff
2022-07-31  6:53 Hans de Graaff
2022-08-28  5:59 Hans de Graaff
2022-11-05  7:17 Hans de Graaff
2022-12-03 11:04 Hans de Graaff
2022-12-16 21:02 Arthur Zamarin
2022-12-23  8:25 Hans de Graaff
2022-12-24  6:35 Sam James
2022-12-24  6:35 Sam James
2023-03-18 23:10 Sam James
2023-04-10 21:02 Sam James
2023-06-19 15:12 Hans de Graaff
2023-06-19 15:12 Hans de Graaff
2023-06-26  4:40 Hans de Graaff
2023-07-01  8:41 Hans de Graaff
2023-07-11  4:37 Hans de Graaff
2023-07-18 16:32 Sam James
2023-07-24 12:32 Jakov Smolić
2023-08-29 17:44 Hans de Graaff
2023-09-13  4:56 Hans de Graaff
2023-11-22  7:09 Hans de Graaff
2023-12-21  6:48 Hans de Graaff
2023-12-22  8:08 Hans de Graaff
2024-01-02 13:58 Hans de Graaff
2024-01-03 12:24 Hans de Graaff
2024-01-12  9:49 Hans de Graaff
2024-01-12  9:49 Hans de Graaff
2024-01-12  9:57 Hans de Graaff
2024-01-13  9:02 Hans de Graaff
2024-01-19 17:57 Hans de Graaff
2024-01-27 10:35 Hans de Graaff
2024-01-27 10:35 Hans de Graaff
2024-01-27 10:35 Hans de Graaff
2024-01-27 20:06 Ionen Wolkens
2024-01-27 20:06 Ionen Wolkens
2024-02-17  8:29 Hans de Graaff
2024-02-17  8:29 Hans de Graaff
2024-05-17  9:55 Hans de Graaff
2024-05-17  9:55 Hans de Graaff
2024-05-17  9:55 Hans de Graaff
2024-05-25  9:13 Hans de Graaff
2024-05-25  9:13 Hans de Graaff
2024-05-25  9:13 Hans de Graaff
2024-06-11  4:58 Hans de Graaff
2024-06-23  3:34 Hans de Graaff
2024-07-13  5:36 Hans de Graaff
2024-07-27  6:48 Hans de Graaff
2024-07-27  6:48 Hans de Graaff
2024-08-04  6:47 Hans de Graaff
2024-08-31  6:00 Hans de Graaff
2024-08-31  6:00 Hans de Graaff
2024-09-24  5:09 Hans de Graaff
2024-10-07  2:49 Sam James
2024-11-16  8:12 Hans de Graaff
2024-11-16  8:12 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444455528.82b61a5b25d16ca3336d56159802ba767f7a5ba4.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox