diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-03 14:38:23 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-04 07:28:02 +0100 |
commit | 1c34ac71406c7359d0324136c967fdbd3ecfd7d3 (patch) | |
tree | d2b8d8c806fc18edd68bb7fbddc62c38889594e1 /dev-ruby | |
parent | dev-ruby/faraday-patron: new package, add 1.0.0 (diff) | |
download | gentoo-1c34ac71406c7359d0324136c967fdbd3ecfd7d3.tar.gz gentoo-1c34ac71406c7359d0324136c967fdbd3ecfd7d3.tar.bz2 gentoo-1c34ac71406c7359d0324136c967fdbd3ecfd7d3.zip |
dev-ruby/faraday-httpclient: new package, add 1.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/faraday-httpclient/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/faraday-httpclient/faraday-httpclient-1.0.1.ebuild | 32 | ||||
-rw-r--r-- | dev-ruby/faraday-httpclient/metadata.xml | 11 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/faraday-httpclient/Manifest b/dev-ruby/faraday-httpclient/Manifest new file mode 100644 index 000000000000..e1598b377a3c --- /dev/null +++ b/dev-ruby/faraday-httpclient/Manifest @@ -0,0 +1 @@ +DIST faraday-httpclient-1.0.1.tar.gz 8438 BLAKE2B eb642d2d69b3daeca9763df86399b1e76f2d3e84cec19218ff0c486f547594f83f30a776b0be95e5f4f976505e5a4299eec3ded9652ee61ceace63b29260d47f SHA512 440d57cad24bd7f52c4b1ea8f8062a62630791f8a5730999aa41ece5b0c759a188afbb8449e32eea03710bfc7bffbe244664d305f41457e88791f916ef142d86 diff --git a/dev-ruby/faraday-httpclient/faraday-httpclient-1.0.1.ebuild b/dev-ruby/faraday-httpclient/faraday-httpclient-1.0.1.ebuild new file mode 100644 index 000000000000..0786be91d30d --- /dev/null +++ b/dev-ruby/faraday-httpclient/faraday-httpclient-1.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Faraday adapter for HTTPClient" +HOMEPAGE="https://github.com/lostisland/faraday-httpclient" +SRC_URI="https://github.com/lostisland/faraday-httpclient/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/faraday:1 dev-ruby/httpclient )" + +all_ruby_prepare() { + sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '2igem "faraday", "~> 1.0"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/faraday-httpclient/metadata.xml b/dev-ruby/faraday-httpclient/metadata.xml new file mode 100644 index 000000000000..5450cd18f3de --- /dev/null +++ b/dev-ruby/faraday-httpclient/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">lostisland/faraday-httpclient</remote-id> + </upstream> +</pkgmetadata> |