commit: 7101ad507a0175b62ce8243bd1d4cb9c4a3c88dd Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Dec 17 08:54:41 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Dec 17 08:58:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7101ad50
dev-ruby/net-http: add 0.9.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/net-http/Manifest | 1 + dev-ruby/net-http/net-http-0.9.1.ebuild | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/net-http/Manifest b/dev-ruby/net-http/Manifest index 3b0f48a5c08e..bcd8dca93687 100644 --- a/dev-ruby/net-http/Manifest +++ b/dev-ruby/net-http/Manifest @@ -1,3 +1,4 @@ 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 +DIST net-http-0.9.1.tar.gz 71993 BLAKE2B 85ae1d3e44804f3d66ee6a1b09633c7b06a6c67468e94768b33c13abe7b97d9f27501ce1d858cb460efb64b43aa6bdade79c794a854b16adbe2db07c1f5f3950 SHA512 c98d13165cdbd91995a267aafcbde44b29e2724d387b7878d8fa230508343d1f050f39db62e460f4f2881ba1f985423326a86938a02f8a7f9ab44ab15b871cac diff --git a/dev-ruby/net-http/net-http-0.9.1.ebuild b/dev-ruby/net-http/net-http-0.9.1.ebuild new file mode 100644 index 000000000000..53eaf91685e2 --- /dev/null +++ b/dev-ruby/net-http/net-http-0.9.1.ebuild @@ -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 +}
