mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/faraday-httpclient: new package, add 1.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/faraday-httpclient/Manifest
Normal file
1
dev-ruby/faraday-httpclient/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST faraday-httpclient-1.0.1.tar.gz 8438 BLAKE2B eb642d2d69b3daeca9763df86399b1e76f2d3e84cec19218ff0c486f547594f83f30a776b0be95e5f4f976505e5a4299eec3ded9652ee61ceace63b29260d47f SHA512 440d57cad24bd7f52c4b1ea8f8062a62630791f8a5730999aa41ece5b0c759a188afbb8449e32eea03710bfc7bffbe244664d305f41457e88791f916ef142d86
|
||||
32
dev-ruby/faraday-httpclient/faraday-httpclient-1.0.1.ebuild
Normal file
32
dev-ruby/faraday-httpclient/faraday-httpclient-1.0.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
dev-ruby/faraday-httpclient/metadata.xml
Normal file
11
dev-ruby/faraday-httpclient/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user