From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/commonmarker/
Date: Sat, 1 Oct 2022 07:06:36 +0000 (UTC) [thread overview]
Message-ID: <1664607992.61e44b3dda40681db9251a44a634fb5d55eebff9.graaff@gentoo> (raw)
commit: 61e44b3dda40681db9251a44a634fb5d55eebff9
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 1 06:39:13 2022 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct 1 07:06:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e44b3d
dev-ruby/commonmarker: add 0.23.6
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/commonmarker/Manifest | 1 +
dev-ruby/commonmarker/commonmarker-0.23.6.ebuild | 41 ++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-ruby/commonmarker/Manifest b/dev-ruby/commonmarker/Manifest
index 2b47d8f897ed..eadca24db09f 100644
--- a/dev-ruby/commonmarker/Manifest
+++ b/dev-ruby/commonmarker/Manifest
@@ -1 +1,2 @@
DIST commonmarker-0.23.5.tar.gz 165248 BLAKE2B 2d29a0ece01b5000bbb7192133e6abd0bf50281e90ae1d7036ffc49d8576bf378845c782d65b462274b4586b99ee3f46b7312cd0d0ac71456de9a4dacdccb8c3 SHA512 ccc76f0a2eb40d547e604cb4d10b922eceab40a0d0e07f00c60a5b307f3dcb74984274b231c38fe3ba97c892dea54fd325486ba20aa2b0087e99d6bca3e3845c
+DIST commonmarker-0.23.6.tar.gz 165548 BLAKE2B b580390211986e60cd682efb8fe39cea82fb50f76299675a068e37749635383a6d1d6391a093a9f399664ebeeff2e2b456f85752157c632e338ab52e64e18659 SHA512 540bb1831c19ea0924372c9f4be506828e057d4df1a2eb351e44437b45cd9cedd7df9014b09e34108663a31677ef14a4128b5ac9f8a34137bd1842e07654dedc
diff --git a/dev-ruby/commonmarker/commonmarker-0.23.6.ebuild b/dev-ruby/commonmarker/commonmarker-0.23.6.ebuild
new file mode 100644
index 000000000000..a28b05552bbe
--- /dev/null
+++ b/dev-ruby/commonmarker/commonmarker-0.23.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/commonmarker/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/commonmarker"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="commonmarker.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A fast, safe, extensible parser for CommonMark, wrapping the libcmark library"
+HOMEPAGE="https://github.com/gjtorikian/commonmarker"
+SRC_URI="https://github.com/gjtorikian/commonmarker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+# app-text/cmark is bundled in a modified way and integrated with the gem code
+
+all_ruby_prepare() {
+ sed -i -e '/focus/ s:^:#:' test/test_helper.rb || die
+
+ # Avoid tests depending on unbundled cmark specification files
+ rm -f test/test_{spec,smartpunct}.rb || die
+
+}
+
+each_ruby_prepare() {
+ # Use current ruby version
+ sed -i -e '/make_bin/,/end/ s:ruby:'${RUBY}':' test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each {|f| require f}' || die
+}
next reply other threads:[~2022-10-01 7:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-01 7:06 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-30 10:18 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/commonmarker/ Hans de Graaff
2023-12-27 20:43 Hans de Graaff
2023-12-27 20:43 Hans de Graaff
2023-08-26 6:53 Hans de Graaff
2023-07-12 7:46 Hans de Graaff
2023-04-12 6:16 Hans de Graaff
2023-03-27 13:25 Sam James
2023-02-04 7:41 Hans de Graaff
2023-01-25 7:30 Hans de Graaff
2022-07-18 8:27 Hans de Graaff
2022-07-17 8:48 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=1664607992.61e44b3dda40681db9251a44a634fb5d55eebff9.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