diff options
Diffstat (limited to 'app-text/kramdown-rfc/kramdown-rfc-1.6.18.ebuild')
-rw-r--r-- | app-text/kramdown-rfc/kramdown-rfc-1.6.18.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/kramdown-rfc/kramdown-rfc-1.6.18.ebuild b/app-text/kramdown-rfc/kramdown-rfc-1.6.18.ebuild new file mode 100644 index 000000000000..f1767b5f8329 --- /dev/null +++ b/app-text/kramdown-rfc/kramdown-rfc-1.6.18.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +# The software got renamed from kramdown-rfc2629 to kramdown-rfc, +# however the gem coordinate is still kramdown-rfc2629. +RUBY_FAKEGEM_NAME="${PN}2629" +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="An XML2RFC (RFC799x) backend for Thomas Leitner's kramdown markdown parser" +HOMEPAGE="https://github.com/cabo/kramdown-rfc" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +ruby_add_rdepend " + >=dev-ruby/certified-1.0.0 + >=dev-ruby/json-2.0.0 + >=dev-ruby/kramdown-2.4.0 + >=dev-ruby/kramdown-parser-gfm-1.1.0 +" + +all_ruby_prepare() { + sed -i 's/json_pure/json/' ../metadata || die +} |