From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA44515ACFB for ; Wed, 12 Apr 2023 06:16:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CCBAE0885; Wed, 12 Apr 2023 06:16:21 +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 pigeon.gentoo.org (Postfix) with ESMTPS id E5B8DE0885 for ; Wed, 12 Apr 2023 06:16:20 +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 E5D5633BE95 for ; Wed, 12 Apr 2023 06:16:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80A03A1F for ; Wed, 12 Apr 2023 06:16:18 +0000 (UTC) From: "Hans de Graaff" 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" Message-ID: <1681280174.ac68f6cae5018baf3d2afc0d25093c946d036b90.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.9.ebuild X-VCS-Directories: dev-ruby/commonmarker/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ac68f6cae5018baf3d2afc0d25093c946d036b90 X-VCS-Branch: master Date: Wed, 12 Apr 2023 06:16:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8eb432f-1fdf-4bb0-b6e0-01db948e48a2 X-Archives-Hash: 092ed42aee6bd6d6379156ed68090b0f commit: ac68f6cae5018baf3d2afc0d25093c946d036b90 Author: Hans de Graaff gentoo org> AuthorDate: Wed Apr 12 06:10:55 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Apr 12 06:16:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac68f6ca dev-ruby/commonmarker: add 0.23.9 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/commonmarker/Manifest | 1 + dev-ruby/commonmarker/commonmarker-0.23.9.ebuild | 41 ++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-ruby/commonmarker/Manifest b/dev-ruby/commonmarker/Manifest index 10637c9ce22a..a2b63bd9bc3f 100644 --- a/dev-ruby/commonmarker/Manifest +++ b/dev-ruby/commonmarker/Manifest @@ -2,3 +2,4 @@ DIST commonmarker-0.23.5.tar.gz 165248 BLAKE2B 2d29a0ece01b5000bbb7192133e6abd0b DIST commonmarker-0.23.6.tar.gz 165548 BLAKE2B b580390211986e60cd682efb8fe39cea82fb50f76299675a068e37749635383a6d1d6391a093a9f399664ebeeff2e2b456f85752157c632e338ab52e64e18659 SHA512 540bb1831c19ea0924372c9f4be506828e057d4df1a2eb351e44437b45cd9cedd7df9014b09e34108663a31677ef14a4128b5ac9f8a34137bd1842e07654dedc DIST commonmarker-0.23.7.tar.gz 171255 BLAKE2B d6d5e90aeed955d4305bc2aef9a3db9e540a35690cf90e2ef1cd7ba1f829043e139cd3c8819858e56accda6de3088e9a38394676a6248bb1d9642d41282b61c9 SHA512 c15db5904c449a01d7e4a417d431a2f12722ca5524fad019d6bddb75dd59323174973d8d30920f4783163739570ddf81abb06246f3fed0635dea4ce4625a0679 DIST commonmarker-0.23.8.tar.gz 171412 BLAKE2B 95f5fa8314af31dfe97bb8bad9eb6c57dc2e02f1b710c7f50e4500e3cad978b0b44e7a1104386d0cf0742e2d896208ced2a8f205c30ffbf4e444b991586b5ab8 SHA512 3e73ef5505804cbeb8190472f3ca8dc7f199de0ca410df35ab5e9948e94ade59670130f829218f6f2d39c3a6f41a9cb149f9aefc6c8f72443441ec66e642cd1e +DIST commonmarker-0.23.9.tar.gz 171834 BLAKE2B 140d712e12f59c507853718437617e076705f62adee133a95d18da1fb1f21ace208dd5c1a77dba6639b24e1c8288a2249f974145c694fbe3bae4e82f518f0428 SHA512 2ff0e798f925c4b547390457fcdc88d7321da6d37ce272216307eae6862fb6d985722b8e6335f9ab3a7d75717656451615fdd47a341d29f05f8508335dda971f diff --git a/dev-ruby/commonmarker/commonmarker-0.23.9.ebuild b/dev-ruby/commonmarker/commonmarker-0.23.9.ebuild new file mode 100644 index 000000000000..94e5500f5905 --- /dev/null +++ b/dev-ruby/commonmarker/commonmarker-0.23.9.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="ruby27 ruby30 ruby31 ruby32" + +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 +}