diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-03 14:09:05 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-04 07:27:55 +0100 |
commit | bdc91d2c45868b6a8f87a70fd645effd4c47c018 (patch) | |
tree | e2f133414f7977faeeaabd4ccc5234437efc2d9e /dev-ruby | |
parent | dev-python/cython: Stabilize 3.0.6 sparc, #919986 (diff) | |
download | gentoo-bdc91d2c45868b6a8f87a70fd645effd4c47c018.tar.gz gentoo-bdc91d2c45868b6a8f87a70fd645effd4c47c018.tar.bz2 gentoo-bdc91d2c45868b6a8f87a70fd645effd4c47c018.zip |
dev-ruby/faraday-patron: new package, add 1.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/faraday-patron/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/faraday-patron/faraday-patron-1.0.0.ebuild | 38 | ||||
-rw-r--r-- | dev-ruby/faraday-patron/metadata.xml | 11 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/faraday-patron/Manifest b/dev-ruby/faraday-patron/Manifest new file mode 100644 index 000000000000..a2c95761876c --- /dev/null +++ b/dev-ruby/faraday-patron/Manifest @@ -0,0 +1 @@ +DIST faraday-patron-1.0.0.tar.gz 7939 BLAKE2B 303e2186c35cffef73fab73eecdb7affe83b3fb11c861ab082c3a60fb3adceb0f5a1fdd7d26f425a0449e349868b62363ae846bde5a194c66fba0b4a0a9c6d02 SHA512 66180ab2730280635a2560839e991e562bb6ff907e483a6e75557f6d7950b0b375955eea4034c8c4820267ac82d9f9dc0f0011c4ff6a526f3499b179935a7014 diff --git a/dev-ruby/faraday-patron/faraday-patron-1.0.0.ebuild b/dev-ruby/faraday-patron/faraday-patron-1.0.0.ebuild new file mode 100644 index 000000000000..02f8e046602b --- /dev/null +++ b/dev-ruby/faraday-patron/faraday-patron-1.0.0.ebuild @@ -0,0 +1,38 @@ +# 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 Patron" +HOMEPAGE="https://github.com/lostisland/faraday-patron" +SRC_URI="https://github.com/lostisland/faraday-patron/archive/v1.0.tar.gz -> ${P}.tar.gz" +RUBY_S="faraday-patron-1.0" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/faraday:1 )" + +all_ruby_prepare() { + sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '2igem "faraday", "~> 1.0"' spec/spec_helper.rb || die + + # Avoid unpackaged, test-only, faraday-multipart for now. +# sed -i -e '/multipart/ s:^:#:' spec/spec_helper.rb || die +# sed -e '/should rewind files on retry/askip "faraday-multipart not packaged"' \ +# -i spec/faraday/retry/middleware_spec.rb || die +} diff --git a/dev-ruby/faraday-patron/metadata.xml b/dev-ruby/faraday-patron/metadata.xml new file mode 100644 index 000000000000..aa569be281f6 --- /dev/null +++ b/dev-ruby/faraday-patron/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-patron</remote-id> + </upstream> +</pkgmetadata> |