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, 22 Sep 2018 05:25:50 +0000 (UTC)	[thread overview]
Message-ID: <1537593916.c7e02eae78d178eb2b85e270569b1b634e1499d7.graaff@gentoo> (raw)

commit:     c7e02eae78d178eb2b85e270569b1b634e1499d7
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 22 05:24:43 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Sep 22 05:25:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e02eae

dev-ruby/faraday: add 0.15.3

Package-Manager: Portage-2.3.49, Repoman-2.3.10

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

diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
index ed7e93f68fb..e76b4a85dad 100644
--- a/dev-ruby/faraday/Manifest
+++ b/dev-ruby/faraday/Manifest
@@ -3,3 +3,4 @@ DIST faraday-0.14.0.tar.gz 65105 BLAKE2B bf5101083bd828e2ea98dcd487c7c082f8b2d2e
 DIST faraday-0.15.0.tar.gz 66086 BLAKE2B 5018d8e92b2988b08f4e7a5b0876ca6cd4049c74199ee0356adc48867611fd6d30d884bd3cf3e7703a02c7a6e967f9c47cdc44deb75045b8cee46992977fb834 SHA512 46602d89b1bbf5a41143a9a71fab193642e7c41db39dc1edc0efb99f4a7a924c5a698460a0a4f921f7ce1f73ee8eb12e6d79a08dea02c7142856d0aa1b95b521
 DIST faraday-0.15.1.tar.gz 66461 BLAKE2B 476fa62bf9cf138fd52d0d455d7bdd970d77f0337ec1cf42f7833def9ba77a3e94f0bdbbda4136ac03c5a98465081e3093c6a7a6e193cbd7494a284444516679 SHA512 cb4a14b29b88c356063e2d504e0a93b84b33b6488060a313b2eb6ecbf17eaf09c6fb0e0fabd0bb057623438de2a8538034551d62d719a1c90b6158a768f38a1b
 DIST faraday-0.15.2.tar.gz 66765 BLAKE2B 8cfe4c6c4f2bb1f0a5fd6a196d339118b09d67b8cdac0c258180ea03c39688af17790c7a15fb4dea4dfd4980c039f987464b2ba7e64c04931e9c31ac670c3618 SHA512 5911df09e770c4ee97f2c6c359a4136c268c598cc2f370a3aa112b5710c6c6b7f2704d3094677cd98c44532e3f0d6157df88e1c882d727eec511f4b62a04527c
+DIST faraday-0.15.3.tar.gz 67065 BLAKE2B 7425fb885cb26394ee91098264b5e4e3038a68855b9a55b03a39faca18d4e0cd516fe447b2312538692229bb15df091317ee36aad762937b46c72e16bb19cc8a SHA512 cfc59c44481e4be27504d02bfcbdc3a3783d15940487e72aaba136f5c456d74be6cad5a686e74eed1ad216fbb58db197d04015c2d168abbbaf899c4f855acdbd

diff --git a/dev-ruby/faraday/faraday-0.15.3.ebuild b/dev-ruby/faraday/faraday-0.15.3.ebuild
new file mode 100644
index 00000000000..c12dbcec7c0
--- /dev/null
+++ b/dev-ruby/faraday/faraday-0.15.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~arm ~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 ; 1irequire "yaml"' 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() {
+	MT_NO_PLUGINS=true 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:[~2018-09-22  5:25 UTC|newest]

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