dev-ruby/net-http: add 0.8.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-11-14 06:39:44 +01:00
parent 1b9796d7a7
commit 054bd009fd
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
2 changed files with 36 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST net-http-0.6.0.tar.gz 71887 BLAKE2B d9d2436eca6400db4738e72dcff18e5f9e056fb59288f2b263e42bd442230d2e23f63ee98c1b422008f49d68ad5897274d9e5c177ffe71cd6ac7d46370cfe281 SHA512 e21dd64735b5eda4d1b84398c29fc67ba57f6520c7d91b8727c7cd98ab75f4bdceade6219625bf671dfa1282558c68a60dae4b41644b2c2ad6c92134680b62bf
DIST net-http-0.7.0.tar.gz 72419 BLAKE2B 2e15e8665317648b6a0a8089a2b3687fe24094bf004b4619793c5e3ac99721b4f20816c62250e1b9a3c701ebc873aaf4e36320d2cb3e3143856c89470a77d0bd SHA512 15151346833e4eee9f77e1f10ddaea75b2224005f142a360a23674014b9b522bbbfa575bbb7f98582b91846d77bfb2568d7783fddd9a8c93daa968f2d08af57b
DIST net-http-0.8.0.tar.gz 73022 BLAKE2B e2641867784b55db2c03f237acbd0a40918fd2318707b2ba7279487387a4f6c5032ef96d952ca4180cdbb34a1e166ef4859084f6803377c482211ea06595c0bf SHA512 75bb2d815c75cb3830d3ba7a47fea7d8ca19079144087ac497dd9d5e04cf2568a7ba37c92c485f9794e8b432d0ade2bd2e02ab6132ae59445e1a9cd4db0c15bd

View 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_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="net-http.gemspec"
RUBY_FAKEGEM_RECIPE_DOC="none"
inherit ruby-fakegem
DESCRIPTION="HTTP client api for Ruby"
HOMEPAGE="https://github.com/ruby/net-http"
SRC_URI="https://github.com/ruby/net-http/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="test"
ruby_add_rdepend "
>=dev-ruby/uri-0.11.1
"
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
all_ruby_prepare() {
sed -e 's/__dir__/"."/' \
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
-e 's/git ls-files -z/find * -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
}