From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1728606-garchives=archives.gentoo.org@lists.gentoo.org> Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D12FC1584F2 for <garchives@archives.gentoo.org>; Sun, 16 Mar 2025 17:07:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BD11B343241 for <garchives@archives.gentoo.org>; Sun, 16 Mar 2025 17:07:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B3B401102B7; Sun, 16 Mar 2025 17:07:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A78E01102B7 for <gentoo-commits@lists.gentoo.org>; Sun, 16 Mar 2025 17:07:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5368E3430FE for <gentoo-commits@lists.gentoo.org>; Sun, 16 Mar 2025 17:07:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCC1B10F1 for <gentoo-commits@lists.gentoo.org>; Sun, 16 Mar 2025 17:07:32 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org> Message-ID: <1742144844.86c4117c33d13b34fbefa9dc16fefca29a1f1253.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/commonmarker/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/commonmarker/Manifest dev-ruby/commonmarker/commonmarker-0.23.11.ebuild X-VCS-Directories: dev-ruby/commonmarker/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 86c4117c33d13b34fbefa9dc16fefca29a1f1253 X-VCS-Branch: master Date: Sun, 16 Mar 2025 17:07:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5f9d55e-f958-41c9-a948-14071c263a37 X-Archives-Hash: d9456c7ae16c7e21f03508a033ecbbaa commit: 86c4117c33d13b34fbefa9dc16fefca29a1f1253 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Mar 16 17:07:04 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Mar 16 17:07:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c4117c dev-ruby/commonmarker: add 0.23.11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/commonmarker/Manifest | 1 + dev-ruby/commonmarker/commonmarker-0.23.11.ebuild | 40 +++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/commonmarker/Manifest b/dev-ruby/commonmarker/Manifest index 2b086f25ba42..c656e00b514d 100644 --- a/dev-ruby/commonmarker/Manifest +++ b/dev-ruby/commonmarker/Manifest @@ -1 +1,2 @@ DIST commonmarker-0.23.10.tar.gz 172611 BLAKE2B df583a7e9f588cc726b985c90e03f7470d92d907d7507bf1a0f8c174e08a502036d2cdab6e45eb61c3c58dd810be1f682c51a787236da887a9d9f9ccf0fc13f6 SHA512 587cbf7037725bee57a61d75d83389ee209d943cc69ce32edf79fc292034a4bbede0a9f7cad7eff7a029f998572c6840a8d95d7387fb0806d79cf7351f85e5a1 +DIST commonmarker-0.23.11.tar.gz 172605 BLAKE2B 7d5013eae18a4397b5a4648bea8b648f76b2b3207d49d73d5cf07822ad9983d4e4b54cb94db80d0e90677b037546f0bc10029b1dfe22d92d7b62a0bcfcbb7ac0 SHA512 f18268682261ec133fff93ab81496d7993fa2480a95d4e052358d2de08f250244b3d9201a0a3e5822cccfd4bf06bde1e19eee5c7d06145344fa5a3de4db1bc31 diff --git a/dev-ruby/commonmarker/commonmarker-0.23.11.ebuild b/dev-ruby/commonmarker/commonmarker-0.23.11.ebuild new file mode 100644 index 000000000000..8efbbeb738e0 --- /dev/null +++ b/dev-ruby/commonmarker/commonmarker-0.23.11.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33 ruby34" + +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" + +# 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() { + MT_NO_PLUGINS=1 ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each {|f| require f}' || die +}