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>
--- /dev/null
+DIST rexml-3.2.4.tar.gz 474955 BLAKE2B f0b9a2003b6dc2b90fbab9bac1b035ebeb89c57dbe9bd50514352a8bbb790593ba5eaf77a9c898de033b5721281a06be2fb4996fe2e5810191df015ede3e44d9 SHA512 8fb52814a93dac8e5e963b7e0686f63fa6c1a88f6842a4e401bde76acb2d85b874ed6243439921bb0cebf53a5b97e0b096424d736409240aa9a5224e617ee88c
--- /dev/null
+<?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>
--- /dev/null
+# 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
+}