summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/kramdown-rfc')
-rw-r--r--app-text/kramdown-rfc/Manifest1
-rw-r--r--app-text/kramdown-rfc/kramdown-rfc-1.6.22.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-text/kramdown-rfc/Manifest b/app-text/kramdown-rfc/Manifest
index cf43b9358876..399877930869 100644
--- a/app-text/kramdown-rfc/Manifest
+++ b/app-text/kramdown-rfc/Manifest
@@ -1,3 +1,4 @@
DIST kramdown-rfc2629-1.6.17.gem 55808 BLAKE2B 7b3d8359eab9dc9ac9a2beeba74c541a75a9d92418f8f2f16798fb893a45c8347d4c51f11eb9d3032adae71324c5c67a0dcd809c8be06acd831a3615759f3b55 SHA512 e2284db908fa1ef5aa9b36ff6868b11d87a7e6622dce3c540878661eae837b378ed913af12df35d86b5cc8c233ae55e3ad981471390717b2ead3fcd0f3ca781e
DIST kramdown-rfc2629-1.6.18.gem 55808 BLAKE2B 536906e3f54d202808a06e8e86f4f431b3d30349056644c30fea7e9e57b5586d0a97f9e7e2a1511ddc68a33bf6115c94edc20d98057d333384840871fba00a9d SHA512 911a7a898567f5e085a788d8fbf135d8323af9d2e587ab302a43719f5a7abc820604c2d36eb6ac569dd999e7d08a3ee7a058eeb41c156ec1e295ce3ce9ed194c
DIST kramdown-rfc2629-1.6.21.gem 56320 BLAKE2B 80946169b6041d4f8011a93dc9c8fba82ef32a117d11fd9002704bf80a68caab21991edf9e74440e90853e2bcc41f13cd37256b15c8775d6cdf2b1a60ddf3d90 SHA512 3c5ad31d302a0b6ea87b2380aa95a2d1410b50fc6708623ec691e4dfe1dac71b27c5a79aae9f275ffeca577049eb615bdbe03481d5cb6036ca46ed5b8404355c
+DIST kramdown-rfc2629-1.6.22.gem 56320 BLAKE2B 8871ae9c854dc3de3f954863ce7631f6a18e8a501850ca068373edf9e3a794b7f7ead729b357eacfed9a58152153fb87dd746d4602ea998e1770d8dec34ec990 SHA512 bc080b9ce477a199621b6f57164ffcf59c7d941e1daeaf1496446152c31c5e959a7fb218b2ddda74d1df241bb8df8d9516b069dfae265b10629d346e0d5f3b00
diff --git a/app-text/kramdown-rfc/kramdown-rfc-1.6.22.ebuild b/app-text/kramdown-rfc/kramdown-rfc-1.6.22.ebuild
new file mode 100644
index 000000000000..f1767b5f8329
--- /dev/null
+++ b/app-text/kramdown-rfc/kramdown-rfc-1.6.22.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
+}