summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-12-28 08:45:39 +0100
committerHans de Graaff <graaff@gentoo.org>2020-12-28 08:46:48 +0100
commit55b795aae1de67554d063facbcb90117bb444fc8 (patch)
tree672880fdd4155c8d0d1a421e0982f71240720059 /dev-ruby
parentdev-ruby/typeprof: initial import of 0.11.0 (diff)
downloadgentoo-55b795aae1de67554d063facbcb90117bb444fc8.tar.gz
gentoo-55b795aae1de67554d063facbcb90117bb444fc8.tar.bz2
gentoo-55b795aae1de67554d063facbcb90117bb444fc8.zip
dev-ruby/webrick: initial import of 1.7.0
Split off from dev-lang/ruby Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/webrick/Manifest1
-rw-r--r--dev-ruby/webrick/metadata.xml11
-rw-r--r--dev-ruby/webrick/webrick-1.7.0.ebuild24
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/webrick/Manifest b/dev-ruby/webrick/Manifest
new file mode 100644
index 000000000000..1c0a3f106742
--- /dev/null
+++ b/dev-ruby/webrick/Manifest
@@ -0,0 +1 @@
+DIST webrick-1.7.0.tar.gz 114413 BLAKE2B ff0d09a3137edabde37392d4c8a5e1f37d9899c60db8e96e4034ef60626225c0508c6b2797281878bbb7a0c6db16e20bd46a83b61b3de2ed059cb95e80255a38 SHA512 785e8c6af6e2f8ac497bab6d0ad0e9383fa4c4ac8dee6ceee38e20c5e9b631b805ec3c8f5438ebea651ee4113698de1a370ae506927bdc04e512ea6cac433cd1
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..de55837cfabf
--- /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 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE="test"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}