summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-01-28 09:25:52 +0100
committerHans de Graaff <graaff@gentoo.org>2023-01-28 09:38:05 +0100
commit9e9c9b1808beb3bda09dc25d4683919d9a6c1953 (patch)
treea1ffbc132ce1522b162994cc6feb85b56a167c38 /dev-ruby/webrick
parentdev-ruby/sanitize: add 6.0.1 (diff)
downloadgentoo-9e9c9b1808beb3bda09dc25d4683919d9a6c1953.tar.gz
gentoo-9e9c9b1808beb3bda09dc25d4683919d9a6c1953.tar.bz2
gentoo-9e9c9b1808beb3bda09dc25d4683919d9a6c1953.zip
dev-ruby/webrick: add 1.8.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/webrick')
-rw-r--r--dev-ruby/webrick/Manifest1
-rw-r--r--dev-ruby/webrick/webrick-1.8.1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/webrick/Manifest b/dev-ruby/webrick/Manifest
index 780e6fe34539..93162025d86f 100644
--- a/dev-ruby/webrick/Manifest
+++ b/dev-ruby/webrick/Manifest
@@ -1,2 +1,3 @@
DIST webrick-1.7.0.tar.gz 114413 BLAKE2B ff0d09a3137edabde37392d4c8a5e1f37d9899c60db8e96e4034ef60626225c0508c6b2797281878bbb7a0c6db16e20bd46a83b61b3de2ed059cb95e80255a38 SHA512 785e8c6af6e2f8ac497bab6d0ad0e9383fa4c4ac8dee6ceee38e20c5e9b631b805ec3c8f5438ebea651ee4113698de1a370ae506927bdc04e512ea6cac433cd1
DIST webrick-1.8.0.tar.gz 91072 BLAKE2B 9275458772048d68d5275e19e6c1e2c13bbedaf7acd40bf01c59af282b7cff70d57e99ac49327e091d864cd89ce385ecdff5a4b5d235cce7547da457711df3e4 SHA512 37befe53e9db0a94f99ac54f1243d12c09b9148933e1ad00a52e73e9ba792cdecf3132c1b8cd2a633deecc549a5d6903402ef02ebb67edb296dbd1c5e4bffe5f
+DIST webrick-1.8.1.tar.gz 91111 BLAKE2B eff3f2dff64d017fa0ef5370b07d97bfcd39f1df426a3b04ffdd0b5b0ea43cdd5d267420ea64bd0c3e4de3f1ee88df2f09959fd17b2b158b5ce0ddc16995b2bb SHA512 21cb396887025f85cfe04868e7fa7ef039809ca42a3acadfe1decb4dcd02eeeb3c9163e970324b56a9e0eb6202d971370af56e200c69de2d224c1941f866400c
diff --git a/dev-ruby/webrick/webrick-1.8.1.ebuild b/dev-ruby/webrick/webrick-1.8.1.ebuild
new file mode 100644
index 000000000000..968dc189a545
--- /dev/null
+++ b/dev-ruby/webrick/webrick-1.8.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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 )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE="test"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}