commit:     54d73c084140717e3be3a1f1a3505dadcae775c6
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  2 06:37:32 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 06:37:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d73c08

dev-ruby/webrick: add 1.9.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/webrick/Manifest             |  1 +
 dev-ruby/webrick/webrick-1.9.1.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-ruby/webrick/Manifest b/dev-ruby/webrick/Manifest
index 205fb5bd3f3f..bba40040a15d 100644
--- a/dev-ruby/webrick/Manifest
+++ b/dev-ruby/webrick/Manifest
@@ -1,3 +1,4 @@
 DIST webrick-1.7.0.tar.gz 114413 BLAKE2B 
ff0d09a3137edabde37392d4c8a5e1f37d9899c60db8e96e4034ef60626225c0508c6b2797281878bbb7a0c6db16e20bd46a83b61b3de2ed059cb95e80255a38
 SHA512 
785e8c6af6e2f8ac497bab6d0ad0e9383fa4c4ac8dee6ceee38e20c5e9b631b805ec3c8f5438ebea651ee4113698de1a370ae506927bdc04e512ea6cac433cd1
 DIST webrick-1.8.2.tar.gz 82463 BLAKE2B 
e31a61bebfe93273f6515286e3cb4b94704d335528240addaf69121a5734a512c413701e6ba58f2a74382a58dc11f56604ad2527acb6584d23c1d773c8a6b4da
 SHA512 
aedc6588478c02d17274a2df178be39a418885728a0d684758505bad0abdc35111e3d7134f02ee1d18c4ca8983028568db5d2b386b885a393fbd8fba1a540cd3
 DIST webrick-1.9.0.tar.gz 94446 BLAKE2B 
a3b96d57a78b517507c7191b8cc2b6dbff4a2db82bb0516ebaf20c9102cc906d7aa9315cb9b0abcdaee9f15d15e59eb0a8d38e9d5c6559d482694e43840aab18
 SHA512 
267f8e3b733b5065223d1b65d7e827a757e01929370e053b25346f799c325155235d1a1aa7cedf09745ab0dd388333799731f2c405bc33fc16c705cdfc4a606a
+DIST webrick-1.9.1.tar.gz 94412 BLAKE2B 
04a89f982e8e6e77ec2ef29bebc14beb6212e111874c45c1ca65fab5e685c328e909040d69f4c0bb5d5e5081e5616bf0df33d3173054ebc042960056e7476a21
 SHA512 
c680e30275dabc309b03f6353410b69e7c543701ad322cb32cf938fc42bf234ca17d26ddd0da09c8484ec78661897ce5bcf99d94dcf1856b31d4803793ef7ab3

diff --git a/dev-ruby/webrick/webrick-1.9.1.ebuild 
b/dev-ruby/webrick/webrick-1.9.1.ebuild
new file mode 100644
index 000000000000..23ebe7e42e1d
--- /dev/null
+++ b/dev-ruby/webrick/webrick-1.9.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="webrick.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An HTTP server toolkit"
+HOMEPAGE="https://github.com/ruby/webrick";
+SRC_URI="https://github.com/ruby/webrick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Ruby-BSD BSD-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_depend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+       sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+
+       # Increase timeout for test to help out slow arches
+       sed -i -e '/EnvUtil.timeout(10) do/s:10:60:' 
test/webrick/test_ssl_server.rb || die
+}

Reply via email to