mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
dev-ruby/faraday-gzip: new package, add 3.0.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
6a3593e600
commit
73063e9777
1
dev-ruby/faraday-gzip/Manifest
Normal file
1
dev-ruby/faraday-gzip/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST faraday-gzip-3.0.4.tar.gz 6807 BLAKE2B db60c843307a38a53fd781b77b5b5fdb4d49a1a0af2830f96e6d681863a0ffb40e8dd9e5fa7213aa83e20a50e9982a9f79a22b5349ef5647fc40c9197933ce7c SHA512 379a794606da9658e64e967fc934c44263aaca244285580025639104b063ec8aa12e313a67e88281c182a21a3db45b5856c9993a2675aacf1c545597fddffa54
|
||||||
35
dev-ruby/faraday-gzip/faraday-gzip-3.0.4.ebuild
Normal file
35
dev-ruby/faraday-gzip/faraday-gzip-3.0.4.ebuild
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
USE_RUBY="ruby32 ruby33 ruby34"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_BINWRAP=""
|
||||||
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Faraday plugin to set compression headers and decompress responses."
|
||||||
|
HOMEPAGE="https://github.com/bodrovis/faraday-gzip"
|
||||||
|
SRC_URI="https://github.com/bodrovis/faraday-gzip/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="$(ver_cut 1-2)"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
ruby_add_rdepend "
|
||||||
|
dev-ruby/faraday:2
|
||||||
|
dev-ruby/zlib:0
|
||||||
|
"
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? ( dev-ruby/webmock )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||||
|
}
|
||||||
12
dev-ruby/faraday-gzip/metadata.xml
Normal file
12
dev-ruby/faraday-gzip/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?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">bodrovis/faraday-gzip</remote-id>
|
||||||
|
<remote-id type="rubygems">faraday-gzip</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Loading…
x
Reference in New Issue
Block a user