summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-04-26 07:17:57 +0200
committerHans de Graaff <graaff@gentoo.org>2020-04-26 07:25:13 +0200
commitf1465e26296a0370ff5544f498373e54ffb8f088 (patch)
treef613407cb3304d9a171ba39799a35ef3f5dcd5f6 /dev-ruby/rexml
parentdev-util/jenkins-bin: add 2.222.3 (diff)
downloadgentoo-f1465e26296a0370ff5544f498373e54ffb8f088.tar.gz
gentoo-f1465e26296a0370ff5544f498373e54ffb8f088.tar.bz2
gentoo-f1465e26296a0370ff5544f498373e54ffb8f088.zip
dev-ruby/rexml: initial commit of 3.2.4
Extracted from dev-lang/ruby. New dependency for dev-ruby/kramdown. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rexml')
-rw-r--r--dev-ruby/rexml/Manifest1
-rw-r--r--dev-ruby/rexml/metadata.xml8
-rw-r--r--dev-ruby/rexml/rexml-3.2.4.ebuild25
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest
new file mode 100644
index 000000000000..132267b8de39
--- /dev/null
+++ b/dev-ruby/rexml/Manifest
@@ -0,0 +1 @@
+DIST rexml-3.2.4.tar.gz 474955 BLAKE2B f0b9a2003b6dc2b90fbab9bac1b035ebeb89c57dbe9bd50514352a8bbb790593ba5eaf77a9c898de033b5721281a06be2fb4996fe2e5810191df015ede3e44d9 SHA512 8fb52814a93dac8e5e963b7e0686f63fa6c1a88f6842a4e401bde76acb2d85b874ed6243439921bb0cebf53a5b97e0b096424d736409240aa9a5224e617ee88c
diff --git a/dev-ruby/rexml/metadata.xml b/dev-ruby/rexml/metadata.xml
new file mode 100644
index 000000000000..3df5c34efc94
--- /dev/null
+++ b/dev-ruby/rexml/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-ruby/rexml/rexml-3.2.4.ebuild b/dev-ruby/rexml/rexml-3.2.4.ebuild
new file mode 100644
index 000000000000..7b10a9169511
--- /dev/null
+++ b/dev-ruby/rexml/rexml-3.2.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An XML toolkit for Ruby"
+HOMEPAGE="https://github.com/ruby/rexml"
+SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
+SLOT="3"
+
+all_ruby_prepare() {
+ sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}