* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/net-http/
@ 2025-05-21 17:52 Hans de Graaff
0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2025-05-21 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 2721c3228ca2a6a1fd62a204825a9ba5c98f4a29
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue May 20 11:01:12 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed May 21 17:52:16 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2721c322
dev-ruby/net-http: new package, add 0.6.0
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/net-http/Manifest | 1 +
dev-ruby/net-http/metadata.xml | 12 ++++++++++++
dev-ruby/net-http/net-http-0.6.0.ebuild | 34 +++++++++++++++++++++++++++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-ruby/net-http/Manifest b/dev-ruby/net-http/Manifest
new file mode 100644
index 000000000000..b9c673646adb
--- /dev/null
+++ b/dev-ruby/net-http/Manifest
@@ -0,0 +1 @@
+DIST net-http-0.6.0.tar.gz 71887 BLAKE2B d9d2436eca6400db4738e72dcff18e5f9e056fb59288f2b263e42bd442230d2e23f63ee98c1b422008f49d68ad5897274d9e5c177ffe71cd6ac7d46370cfe281 SHA512 e21dd64735b5eda4d1b84398c29fc67ba57f6520c7d91b8727c7cd98ab75f4bdceade6219625bf671dfa1282558c68a60dae4b41644b2c2ad6c92134680b62bf
diff --git a/dev-ruby/net-http/metadata.xml b/dev-ruby/net-http/metadata.xml
new file mode 100644
index 000000000000..4132fca52f21
--- /dev/null
+++ b/dev-ruby/net-http/metadata.xml
@@ -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">ruby/net-http</remote-id>
+ <remote-id type="rubygems">net-http</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/net-http/net-http-0.6.0.ebuild b/dev-ruby/net-http/net-http-0.6.0.ebuild
new file mode 100644
index 000000000000..c5ef6b9b43e0
--- /dev/null
+++ b/dev-ruby/net-http/net-http-0.6.0.ebuild
@@ -0,0 +1,34 @@
+# 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
+"
+
+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
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-21 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21 17:52 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/net-http/ Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox