summaryrefslogtreecommitdiff
path: root/dev-ruby/webrick
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
commit129160ec854dca4c3fedb5bcfbcb56930371da0f (patch)
tree53bf797418ac5e9b99c41ca0382c87b82421e5de /dev-ruby/webrick
parent441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff)
gentoo new year resync : 01.01.2021
Diffstat (limited to 'dev-ruby/webrick')
-rw-r--r--dev-ruby/webrick/Manifest3
-rw-r--r--dev-ruby/webrick/metadata.xml11
-rw-r--r--dev-ruby/webrick/webrick-1.7.0.ebuild24
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/webrick/Manifest b/dev-ruby/webrick/Manifest
new file mode 100644
index 000000000000..cf6044dad706
--- /dev/null
+++ b/dev-ruby/webrick/Manifest
@@ -0,0 +1,3 @@
+DIST webrick-1.7.0.tar.gz 114413 BLAKE2B ff0d09a3137edabde37392d4c8a5e1f37d9899c60db8e96e4034ef60626225c0508c6b2797281878bbb7a0c6db16e20bd46a83b61b3de2ed059cb95e80255a38 SHA512 785e8c6af6e2f8ac497bab6d0ad0e9383fa4c4ac8dee6ceee38e20c5e9b631b805ec3c8f5438ebea651ee4113698de1a370ae506927bdc04e512ea6cac433cd1
+EBUILD webrick-1.7.0.ebuild 767 BLAKE2B 1a6dab5bb52cff85ba146801cdc8cf874f073107c4ba84e7d8a450798f7ecc26d295ff70b492744d3d45ea7364260f2b09874974cb2389080a113fe5c328a812 SHA512 1940ef7153e25d469d5a67f49f4cf3f6353b830f7ea8d2d78bd7c5d0103124a0d679ae923bb0567e53984b00b8752ff4a06ddacf54bcd7eb964d953977089cb8
+MISC metadata.xml 338 BLAKE2B 70e4f4b9ea621374729cc2fd646216c39f4d8f1e3e5d58411daffe4f7a03e19a815c021c6de445d19b1ff6165c347ec7447cd61ece07b464956198de7d512df3 SHA512 5c58d1a1c9a3c13e0be8299f17aabe5ea7038139eee231d53f892c73d8dfd6549f0ce762a2494fc9617e59bc0617bec01a742989bc03506f0a7408e691ad8166
diff --git a/dev-ruby/webrick/metadata.xml b/dev-ruby/webrick/metadata.xml
new file mode 100644
index 000000000000..6edeb90a1cd1
--- /dev/null
+++ b/dev-ruby/webrick/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://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/webrick</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/webrick/webrick-1.7.0.ebuild b/dev-ruby/webrick/webrick-1.7.0.ebuild
new file mode 100644
index 000000000000..9e7c443adcab
--- /dev/null
+++ b/dev-ruby/webrick/webrick-1.7.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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
+}