From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7552158090 for ; Sun, 8 May 2022 07:28:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25964E0844; Sun, 8 May 2022 07:28:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6B37E0844 for ; Sun, 8 May 2022 07:28:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BBD6341608 for ; Sun, 8 May 2022 07:28:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97BF1D3 for ; Sun, 8 May 2022 07:28:01 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1651992415.c329813b58411a2cc88b6c078e874f4974f86efc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday_middleware/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/faraday_middleware/Manifest dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild X-VCS-Directories: dev-ruby/faraday_middleware/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c329813b58411a2cc88b6c078e874f4974f86efc X-VCS-Branch: master Date: Sun, 8 May 2022 07:28:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff26cf77-01c7-4bb1-a70f-5c8b60ec8ff0 X-Archives-Hash: 734fe6506f339b63cdab4e0091210f64 commit: c329813b58411a2cc88b6c078e874f4974f86efc Author: Hans de Graaff gentoo org> AuthorDate: Sun May 8 06:46:55 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun May 8 06:46:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c329813b dev-ruby/faraday_middleware: add 1.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/faraday_middleware/Manifest | 1 + .../faraday_middleware-1.2.0.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-ruby/faraday_middleware/Manifest b/dev-ruby/faraday_middleware/Manifest index e0f63c28ad20..36579eefd0f0 100644 --- a/dev-ruby/faraday_middleware/Manifest +++ b/dev-ruby/faraday_middleware/Manifest @@ -1,3 +1,4 @@ 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 DIST faraday_middleware-1.1.0.tar.gz 28104 BLAKE2B be490abc57a11c64331c45f1529e55b38df699fe20e81f3783ca92ba7c5c573c1ba2494086f40bdcc7080581ffb2df89093bbabadf8c46721dcca2cb6a0310c1 SHA512 e9c3ada418e47c397272b52706bbcbfa1c98b7b467c148c0094b1dfe47d28fc57e397461e6e7446c5bb8d71ed968e74e1b7e67e793e30d3f47e9fb1aae549912 +DIST faraday_middleware-1.2.0.tar.gz 28332 BLAKE2B 09aefce13f0145e4098d68d2b8887fff5b535b3eda520335fdcaeea05256d1a256501fe9fee4273636fb0bb9d806d38ff7588a489840d2e425ce6666c496a4d1 SHA512 abfc6faf725c4646d0c1c59d2bde23db13dd78f81e74d313368bd0ec4945c33f24c8e8f3f252c6fa499fa845bdda19544876ea93bb9118b3fa4d3c7615366283 diff --git a/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild new file mode 100644 index 000000000000..b08b6146db7d --- /dev/null +++ b/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +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/brotli-0.1.8 + 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\|rubocop\|simplecov\)/ s:^:#:' \ + -e '/rspec/ s/>=/~>/' \ + -e "/addressable/ s/, '< 2.4'//" \ + -e "/rack/ s/< 2/< 2.3/" \ + -e "/rack-cache/ s/, '< 1.3'//" \ + -e "/simple_oauth/ s/, '< 0.3'//" \ + -e "/webmock/ s/2.3/3.0/" Gemfile || die + + # Avoid unneeded dependency on git + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '1irequire "fileutils"' spec/spec_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +}