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 5BBBE158090 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 DF081E07EE; Sun, 8 May 2022 07:28:04 +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 C1D52E07EE for ; Sun, 8 May 2022 07:28:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8A3AF341607 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 C046B450 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: <1651994311.929dacbbc8ce6519034b8f0158149f1a218e9dbb.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sawyer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild X-VCS-Directories: dev-ruby/sawyer/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 929dacbbc8ce6519034b8f0158149f1a218e9dbb 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: ab63b9d5-a1d2-4174-ad9e-d8bf68631c9c X-Archives-Hash: 75f0c150dbc7e6dc1f8bd2c2aa965fc5 commit: 929dacbbc8ce6519034b8f0158149f1a218e9dbb Author: Hans de Graaff gentoo org> AuthorDate: Sun May 8 07:18:25 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun May 8 07:18:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929dacbb dev-ruby/sawyer: update EAPI 6 -> 8, add ruby30 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild b/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild new file mode 100644 index 000000000000..97e52a84ddef --- /dev/null +++ b/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="sawyer.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Secret User Agent of HTTP" +HOMEPAGE="https://github.com/lostisland/sawyer" +SRC_URI="https://github.com/lostisland/sawyer/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend " + =dev-ruby/addressable-2.3.5" + +all_ruby_prepare() { + # Avoid tests that require network acces + sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die +}