public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/kramdown/
Date: Fri, 22 Nov 2024 07:47:12 +0000 (UTC)	[thread overview]
Message-ID: <1732261615.b3a374bab50c3da83e97b66e7eb48cfea28be7f3.graaff@gentoo> (raw)

commit:     b3a374bab50c3da83e97b66e7eb48cfea28be7f3
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 09:01:28 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 07:46:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a374ba

dev-ruby/kramdown: add 2.5.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/kramdown/Manifest              |  1 +
 dev-ruby/kramdown/kramdown-2.5.1.ebuild | 59 +++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest
index 6d06c2bd7b17..1e9cbcba2c6c 100644
--- a/dev-ruby/kramdown/Manifest
+++ b/dev-ruby/kramdown/Manifest
@@ -1 +1,2 @@
 DIST kramdown-2.4.0.gem 122368 BLAKE2B 86b1232583dc88f8a576fb17e3e2ee756f109700634783815e8ba1f722dd8c872f2f6a978d33e1970814530090665eba3693206e57d3f274bb39655a7ac2d208 SHA512 8e52c5cc53d2f0085e30188aa7bf67f92dfe7f0801297c6a45293cca307e3442baa06443638c1161dad4a4aa332cbc5b4f9b6281ba4c6346122a9fff5a3743c7
+DIST kramdown-2.5.1.gem 128512 BLAKE2B 6965ec9da5f445644b624b035678003782177ed899e4f8db33ed6548a1e15baa3fec2dce151f458da093e852277b588f598bdfb8b352c340e9a7d2e620b1c58c SHA512 751678bf0ce30c5c89a6d21ff0b3a7b9e2ffd5c95dcaefc348d16663cc76602de827efe657b86b9456a6b8dfec04f9f3768c99678fddaac0ffad8f6051738f20

diff --git a/dev-ruby/kramdown/kramdown-2.5.1.ebuild b/dev-ruby/kramdown/kramdown-2.5.1.ebuild
new file mode 100644
index 000000000000..f8dc0ef058fd
--- /dev/null
+++ b/dev-ruby/kramdown/kramdown-2.5.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS"
+
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition"
+HOMEPAGE="https://kramdown.gettalong.org/"
+
+LICENSE="MIT"
+
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos"
+IUSE="latex unicode"
+
+LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
+RDEPEND="${LATEX_DEPS}"
+DEPEND="test? (
+	${LATEX_DEPS}
+	>=app-text/htmltidy-5.0.0
+)"
+
+ruby_add_rdepend "
+	>=dev-ruby/rexml-3.3.9
+	>=dev-ruby/rouge-3.26.0:2
+	unicode? ( >=dev-ruby/stringex-1.5.1 )
+"
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )
+	test? ( >=dev-ruby/minitest-5.0 )"
+
+all_ruby_prepare() {
+	if ! use latex; then
+		# Remove latex tests. They will fail gracefully when latex isn't
+		# present at all, but not when components are missing (most
+		# notable ucs.sty).
+		sed -i -e '/latex -v/,/^  end/ s:^:#:' test/test_files.rb || die
+	fi
+
+	if ! use unicode; then
+		rm -f test/testcases/block/04_header/with_auto_ids.* || die
+	fi
+}
+
+each_ruby_test() {
+	MT_NO_PLUGINS=true ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	doman man/man1/kramdown.1
+}


             reply	other threads:[~2024-11-22  7:47 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-22  7:47 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-29  8:42 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/kramdown/ Hans de Graaff
2025-04-29  8:42 Hans de Graaff
2024-02-12  7:42 Hans de Graaff
2023-04-02  1:51 Sam James
2023-03-29 13:04 Sam James
2023-03-28 16:27 Sam James
2023-03-28 16:25 Sam James
2023-03-28 15:05 Sam James
2023-03-28 15:03 Sam James
2023-03-28 14:59 Sam James
2023-03-28 14:59 Sam James
2023-03-28 14:59 Sam James
2023-03-28  9:41 Hans de Graaff
2023-03-18  0:02 Sam James
2023-03-06  6:51 Hans de Graaff
2022-09-10  5:47 Hans de Graaff
2022-07-04  5:21 Hans de Graaff
2022-07-03 10:48 Agostino Sarubbo
2022-05-02  6:02 Hans de Graaff
2022-04-26 14:38 Sam James
2022-04-04  5:41 Hans de Graaff
2022-02-28  7:06 Yixun Lan
2022-02-10 10:20 Sam James
2021-12-24 23:55 Sam James
2021-12-18  2:10 Sam James
2021-11-10 12:49 Jakov Smolić
2021-08-29 18:30 Sam James
2021-08-27 10:29 Marek Szuba
2021-03-20  7:39 Hans de Graaff
2021-03-20  7:39 Hans de Graaff
2021-03-08  7:18 Hans de Graaff
2020-07-20  8:30 Hans de Graaff
2020-06-29 17:26 Hans de Graaff
2020-05-03  8:33 Hans de Graaff
2020-04-26  5:28 Hans de Graaff
2020-03-14 15:21 Hans de Graaff
2020-03-09  7:06 Hans de Graaff
2019-05-08 19:59 Hans de Graaff
2019-04-13  6:34 Hans de Graaff
2018-12-12 15:00 Hans de Graaff
2018-12-10  7:47 Hans de Graaff
2018-12-10  7:33 Hans de Graaff
2018-05-21  5:16 Hans de Graaff
2018-04-30 20:11 Hans de Graaff
2018-04-16  5:16 Hans de Graaff
2018-03-27 21:38 Aaron Bauman
2017-12-09  7:55 Hans de Graaff
2017-08-26  8:27 Hans de Graaff
2017-06-29  5:19 Hans de Graaff
2017-04-20  5:30 Hans de Graaff
2017-02-27 14:19 Michael Weber
2017-01-22  2:21 Manuel Rüger
2017-01-11  6:48 Hans de Graaff
2016-12-29 13:06 Hans de Graaff
2016-12-09 12:44 Hans de Graaff
2016-11-29  7:41 Hans de Graaff
2016-08-19  6:00 Hans de Graaff
2016-05-28  8:41 Hans de Graaff
2016-05-01 22:44 Manuel Rüger
2016-03-21 22:11 Manuel Rüger
2016-03-06 19:12 Manuel Rüger
2016-03-02 21:33 Manuel Rüger
2016-02-18  6:47 Hans de Graaff
2015-10-27  5:47 Hans de Graaff
2015-10-10  6:33 Jeroen Roovers
2015-08-30  6:29 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732261615.b3a374bab50c3da83e97b66e7eb48cfea28be7f3.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox