summaryrefslogtreecommitdiff
path: root/dev-ruby/webrick
diff options
context:
space:
mode:
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 8efab0a6720f..f0d3359f0130 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
+EBUILD webrick-1.7.0-r1.ebuild 763 BLAKE2B bb3fa03ae28eb083c36d169c96fd41a78438040a5c6683fbf9451749a9a3fbffe1a423978ca6d0f1883d7230674396f2ced586ce86f4dc4c5ed0c763267c3cd6 SHA512 ced470fb279e3dff50e761d68f4d25e0512364d47613d21f734a93732e719b8cc8a99aedb47f7a55d1f96e438b730ba98ddd366dea6147f8958386add32f193a
EBUILD webrick-1.7.0.ebuild 755 BLAKE2B e0ea0a032e26ee51dea80db46f60df4ad19e82a30d0192e69bea26bd2704a496a89e8fbd9b1e197357c852b1423830a9b6a71ccf5cdbdc74fa1dd9d88cf0be32 SHA512 0ddbc1917d25e88e6b61bb3797269e22a076b1d27e5b2e068d6cb6f921146a8efafd264fafdd92bc637eeee5403453a8b2a14a95ffa013a6e49bffe9bd103815
MISC metadata.xml 339 BLAKE2B 818ee09423c4ed53677cff830ae592234879035757260fa554871e0180d47780056eb8c301678428928a841638059507ea2b170abd758f8c73546fcabd675b49 SHA512 4abab733deab5e4609430f0d51f7634fda1879be7694720e683b0d9972691f41dbfe7fe9e7d252cddb9ac5a449bdf521b0d3b10acdf510e02c3b3a8bad578b71
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..16b7d4901641
--- /dev/null
+++ b/dev-ruby/webrick/webrick-1.7.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 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 ~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
+}