diff options
author | 2023-07-01 19:23:25 +0200 | |
---|---|---|
committer | 2023-07-01 19:23:25 +0200 | |
commit | b5a6aa1975cdadb431bc36d59367ac0d8ee27553 (patch) | |
tree | b9a9ffcb0b5992346e70643e048b69e6f5e20737 /app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild | |
parent | dev-java/coursier-bin: drop 2.1.0 (diff) | |
download | gentoo-b5a6aa1975cdadb431bc36d59367ac0d8ee27553.tar.gz gentoo-b5a6aa1975cdadb431bc36d59367ac0d8ee27553.tar.bz2 gentoo-b5a6aa1975cdadb431bc36d59367ac0d8ee27553.zip |
app-text/kramdown-rfc: add 1.6.36
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild')
-rw-r--r-- | app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild b/app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild new file mode 100644 index 000000000000..ff1033582610 --- /dev/null +++ b/app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31" + +# 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" +# Explicitly use the gemspec file over the metadata file of the gem, as +# the latter contains dependencies that we patched out. +RUBY_FAKEGEM_GEMSPEC="${RUBY_FAKEGEM_NAME}.gemspec" + +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" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.27-Drop-dependency-on-certified.patch + "${FILESDIR}"/${PN}-1.6.35-Remove-bin-echars.patch +) + +ruby_add_rdepend " + >=dev-ruby/json-2.0.0 + >=dev-ruby/kramdown-2.4.0 + >=dev-ruby/kramdown-parser-gfm-1.1.0 + >=dev-ruby/net-http-persistent-4.0 +" + +all_ruby_prepare() { + sed -i 's/json_pure/json/' "${RUBY_FAKEGEM_GEMSPEC}" || die +} |