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_middleware/
Date: Sat, 23 May 2020 08:03:02 +0000 (UTC)	[thread overview]
Message-ID: <1590220974.5d7b6c177ddb2fa4066eb93861426cd36de3af5f.graaff@gentoo> (raw)

commit:     5d7b6c177ddb2fa4066eb93861426cd36de3af5f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat May 23 08:00:51 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat May 23 08:02:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7b6c17

dev-ruby/faraday_middleware: add 1.0.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/faraday_middleware/Manifest               |  1 +
 .../faraday_middleware-1.0.0.ebuild                | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-ruby/faraday_middleware/Manifest b/dev-ruby/faraday_middleware/Manifest
index 90c83bd07f0..717177ced9d 100644
--- a/dev-ruby/faraday_middleware/Manifest
+++ b/dev-ruby/faraday_middleware/Manifest
@@ -1,2 +1,3 @@
 DIST faraday_middleware-0.13.1.tar.gz 25728 BLAKE2B 7899d9115ad4e93ab1dedecfe5147fc425c5f884f66e473870542662b93e616e48392d7c564079fc55dfc7ffc09f5983d8a481894f295b88178d15ac05e2b312 SHA512 ea58c14e4e45cf1118281f42861df2e54c97ed92ab25d1de68a9d9da73b1ace378d464140ac8c0e42c5b36d5b0cd5f760092727c49da26c10b4e2566af9ab768
 DIST faraday_middleware-0.14.0.tar.gz 26313 BLAKE2B 2d925f0bd9e4a10505bcdd3b483ac7b8ed2c42dc1187e04069505216dc739af3f10f5c7f2252e3f474e5ddaf972a7b8fe009be9957e66ab625fe49c364a0d217 SHA512 d8e86da166022c04c12acc37981de446ba30050330dc0320eec0414157bdd6c8e92ff49ce92b390a2f5d457c396144dbde698d61993302c0ac416559e7078a8d
+DIST faraday_middleware-1.0.0.tar.gz 28279 BLAKE2B d881f59e106a695e2d41936d552fe6cb16465964fcb2107806123ea1b34ee6db8e82bb1e6fe3a0135af04da70b56a3e8c933e44591b3f75901642a1fe7a3ea1a SHA512 478dd04840c27120c162e5d9c764a210d4cc55ac54f2d44935942ab5195ee5a0f198a4cc0c98805029f3eab4596cc3963a763cda1fcc1ce6daf1811186e0b5a7

diff --git a/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild
new file mode 100644
index 00000000000..21c8c5a7e5b
--- /dev/null
+++ b/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="Various middleware for Faraday"
+HOMEPAGE="https://github.com/lostisland/faraday_middleware"
+SRC_URI="https://github.com/lostisland/faraday_middleware/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="+parsexml +oauth +mashify +rashify"
+
+ruby_add_rdepend "
+	dev-ruby/faraday:1
+	parsexml? ( >=dev-ruby/multi_xml-0.5.3 )
+	oauth? ( >=dev-ruby/simple_oauth-0.1 )
+	mashify? ( >=dev-ruby/hashie-1.2:* )
+	rashify? ( >=dev-ruby/rash_alt-0.4.3 )"
+
+# Bundler must be used because the optional dependencies have different
+# version requirements that must be resolved.
+ruby_add_bdepend "test? (
+	dev-ruby/bundler
+	dev-ruby/addressable
+	>=dev-ruby/rake-12.3.3
+	dev-ruby/webmock:3
+	dev-ruby/json
+	>=dev-ruby/multi_xml-0.5.3
+	>=dev-ruby/rack-cache-1.1
+	>=dev-ruby/simple_oauth-0.1
+	>=dev-ruby/hashie-1.2
+	>=dev-ruby/rash_alt-0.4.3 )"
+
+all_ruby_prepare() {
+	sed -i -e '/\(cane\|parallel\|simplecov\)/ s:^:#:' \
+		-e '/rspec/ s/>=/~>/' \
+		-e "/addressable/ s/, '< 2.4'//" \
+		-e "/rack-cache/ s/, '< 1.3'//" \
+		-e "/simple_oauth/ s/, '< 0.3'//" \
+		-e "/webmock/ s/< 2/~> 3.0/" Gemfile || die
+
+	# Avoid unneeded dependency on git
+	sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+	${RUBY} -S bundle exec rspec-3 spec || die
+}


             reply	other threads:[~2020-05-23  8:03 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23  8:03 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08  1:10 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday_middleware/ Jakov Smolić
2024-11-16  8:12 Hans de Graaff
2024-11-16  8:12 Hans de Graaff
2024-10-06 11:18 Sam James
2024-03-30  8:49 Hans de Graaff
2024-02-18  6:59 Hans de Graaff
2023-08-19  5:14 Hans de Graaff
2023-03-22 12:04 Hans de Graaff
2022-12-16 21:02 Arthur Zamarin
2022-12-16  9:12 Hans de Graaff
2022-12-07  6:45 Hans de Graaff
2022-08-27  7:57 Sam James
2022-08-02  5:35 Hans de Graaff
2022-05-08  7:28 Hans de Graaff
2021-10-09  7:27 Hans de Graaff
2021-07-06 10:26 Hans de Graaff
2020-07-20  6:49 Hans de Graaff
2020-05-23 18:49 Hans de Graaff
2020-05-23  8:03 Hans de Graaff
2020-05-23  8:03 Hans de Graaff
2020-01-25  7:12 Hans de Graaff
2019-11-16  9:13 Hans de Graaff
2019-05-13 18:39 Hans de Graaff
2019-02-10 11:07 Hans de Graaff
2018-08-05 20:37 Hans de Graaff
2018-04-30 20:11 Hans de Graaff
2018-04-22 19:13 Hans de Graaff
2018-01-24 16:11 Hans de Graaff
2017-08-05  6:14 Hans de Graaff
2017-07-29  5:42 Hans de Graaff
2017-07-16  8:26 Hans de Graaff
2017-06-26 18:39 Hans de Graaff
2017-06-11  5:40 Hans de Graaff
2017-04-07  5:45 Hans de Graaff
2016-05-04 12:41 Manuel Rüger
2015-10-10  5:58 Hans de Graaff
2015-10-10  5:58 Hans de Graaff
2015-08-29  6:25 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=1590220974.5d7b6c177ddb2fa4066eb93861426cd36de3af5f.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