summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-05-26 09:19:47 +0200
committerHans de Graaff <graaff@gentoo.org>2024-05-26 09:20:23 +0200
commit2efc9bc5bd76843ee6d1571c6c142fd967f7dc92 (patch)
tree10bd235608714aa2d5b81bba14c80ce130972f49 /dev-ruby/webrick
parentdev-ruby/unicode-display_width: enable ruby33 (diff)
downloadgentoo-2efc9bc5bd76843ee6d1571c6c142fd967f7dc92.tar.gz
gentoo-2efc9bc5bd76843ee6d1571c6c142fd967f7dc92.tar.bz2
gentoo-2efc9bc5bd76843ee6d1571c6c142fd967f7dc92.zip
dev-ruby/webrick: add back 1.7.0-r1
This reverts commit 8aae92b40cfb4e71ceaa2288ab8badcac3c78f67. This is still required for app-admin/fluentd 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.7.0-r1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/webrick/Manifest b/dev-ruby/webrick/Manifest
index 13cf1c197ffb..d57b3c2e1cf7 100644
--- a/dev-ruby/webrick/Manifest
+++ b/dev-ruby/webrick/Manifest
@@ -1 +1,2 @@
+DIST webrick-1.7.0.tar.gz 114413 BLAKE2B ff0d09a3137edabde37392d4c8a5e1f37d9899c60db8e96e4034ef60626225c0508c6b2797281878bbb7a0c6db16e20bd46a83b61b3de2ed059cb95e80255a38 SHA512 785e8c6af6e2f8ac497bab6d0ad0e9383fa4c4ac8dee6ceee38e20c5e9b631b805ec3c8f5438ebea651ee4113698de1a370ae506927bdc04e512ea6cac433cd1
DIST webrick-1.8.1.tar.gz 91111 BLAKE2B eff3f2dff64d017fa0ef5370b07d97bfcd39f1df426a3b04ffdd0b5b0ea43cdd5d267420ea64bd0c3e4de3f1ee88df2f09959fd17b2b158b5ce0ddc16995b2bb SHA512 21cb396887025f85cfe04868e7fa7ef039809ca42a3acadfe1decb4dcd02eeeb3c9163e970324b56a9e0eb6202d971370af56e200c69de2d224c1941f866400c
diff --git a/dev-ruby/webrick/webrick-1.7.0-r1.ebuild b/dev-ruby/webrick/webrick-1.7.0-r1.ebuild
new file mode 100644
index 000000000000..b1530a745e2d
--- /dev/null
+++ b/dev-ruby/webrick/webrick-1.7.0-r1.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 ruby32"
+
+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 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+SLOT="0"
+IUSE="test"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}