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 5C2CF15802F for ; Mon, 3 Apr 2023 00:48:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BE7EE0837; Mon, 3 Apr 2023 00:47:58 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 242DAE0837 for ; Mon, 3 Apr 2023 00:47:58 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3ED75340B9B for ; Mon, 3 Apr 2023 00:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F141A2C for ; Mon, 3 Apr 2023 00:47:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1680482794.c88fc76c16502fb8c49ba3e5f13aae82e31c7208.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/patron/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/patron/patron-0.13.3-r2.ebuild X-VCS-Directories: dev-ruby/patron/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c88fc76c16502fb8c49ba3e5f13aae82e31c7208 X-VCS-Branch: master Date: Mon, 3 Apr 2023 00:47:52 +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: 942d376c-6be4-4ea5-9d43-dd4d80e2490e X-Archives-Hash: c2ba14ef9b8c5612c718022984d8d04e commit: c88fc76c16502fb8c49ba3e5f13aae82e31c7208 Author: Sam James gentoo org> AuthorDate: Mon Apr 3 00:28:14 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Apr 3 00:46:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88fc76c dev-ruby/patron: EAPI 8, enable ruby32 Tests are the same as for older impls (even with the horrific puma bits). Signed-off-by: Sam James gentoo.org> dev-ruby/patron/patron-0.13.3-r2.ebuild | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/dev-ruby/patron/patron-0.13.3-r2.ebuild b/dev-ruby/patron/patron-0.13.3-r2.ebuild new file mode 100644 index 000000000000..5c3884367749 --- /dev/null +++ b/dev-ruby/patron/patron-0.13.3-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/patron/extconf.rb) +RUBY_FAKEGEM_EXTENSION_DIR="lib/patron" + +inherit ruby-fakegem + +DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" +HOMEPAGE="https://github.com/toland/patron" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" net-misc/curl" +RDEPEND+=" net-misc/curl" + +ruby_add_bdepend "test? ( dev-ruby/rack www-servers/puma )" + +all_ruby_prepare() { + # Fix Rakefile + sed -i -e 's:rake/rdoctask:rdoc/task:' \ + -e 's/README.txt/README.md/' \ + -e '/bundler/I s:^:#:' \ + -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' \ + Rakefile || die + + # Avoid specs with failures. We were not running any specs before. + rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb || die +}