From 155cc74ccaea367efa88c8acfadcf25cb7dfe89c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Apr 2023 05:19:36 +0100 Subject: gentoo auto-resync : 03:04:2023 - 05:19:36 --- dev-ruby/patron/Manifest | 3 ++- dev-ruby/patron/metadata.xml | 3 +++ dev-ruby/patron/patron-0.13.3-r2.ebuild | 40 +++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 dev-ruby/patron/patron-0.13.3-r2.ebuild (limited to 'dev-ruby/patron') diff --git a/dev-ruby/patron/Manifest b/dev-ruby/patron/Manifest index 2935b2e9ee07..287e880c096f 100644 --- a/dev-ruby/patron/Manifest +++ b/dev-ruby/patron/Manifest @@ -1,3 +1,4 @@ DIST patron-0.13.3.gem 65024 BLAKE2B 87aa69aab49978d14a80ed9e09d74d7853da3512875cc3aecd3f387d1523b85c84625b57a5826e5f5f999cec4feaae58c1aaae96582144a5c9dc537c9d5a4224 SHA512 afbbbd9570e338a5d1b97b4ebeda76ac95a22c29d908629723d345a47400183c2ccee67ebcaf5b6f9ecb032eb3b847e70ec9eebff75b33045a3665c215abfbd0 EBUILD patron-0.13.3-r1.ebuild 1084 BLAKE2B 7d53441760d58fb108e90024b38d9e1223f6b824235974f87fc064f01348f01140a8045f92b9a0a98ee34316583019a97601f0b0e8a31a7ccf050a2f43cc625e SHA512 d62a2524588c840d7eac8df3f5d920ccefb138a637fe3bb2e56e225d8bde2660bd05ee8f08ac2c41ba09350390ab194e50d92581270f3eccb1eb4696e600db0d -MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 +EBUILD patron-0.13.3-r2.ebuild 987 BLAKE2B fd8359c1df29bac5a08a5d8e0c0153bff178c10239594835183e6c4cf03d6fc39537a5699c003dfe02f79700af3bfc89b55abe8d7baf314ad2aaae4a9830ba7b SHA512 dc1eb9087270b7f6a5d9446ba903459547f61db39febe73bf030c1b438ce1f2f9d409005a31033fe623e4169b8451ba3506a91ea5bbda31a8730f88036222503 +MISC metadata.xml 324 BLAKE2B 80545356beebac06bf5b95f99be2f12fbb2fd4284e28036de156f75bef023216880bea03c9497123b0c111d4d37902b6ba3d9cab37ce5bc47b19e9d3e5e944f3 SHA512 1f260c57a3cce5424764eb1f287734d7e7093e08ffcdcac0c2f8ffe3c54a1aa53b21c008783b4a8b68bf20270d988b0ec108e9c647cafe347898a29d08b6a1ea diff --git a/dev-ruby/patron/metadata.xml b/dev-ruby/patron/metadata.xml index 658c72b1920d..3381fedd792f 100644 --- a/dev-ruby/patron/metadata.xml +++ b/dev-ruby/patron/metadata.xml @@ -5,4 +5,7 @@ ruby@gentoo.org Gentoo Ruby Project + + toland/patron + 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 +} -- cgit v1.2.3