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 C3A92158041 for ; Sun, 3 Mar 2024 07:32:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEE70E29F0; Sun, 3 Mar 2024 07:32:35 +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 AFD83E29F0 for ; Sun, 3 Mar 2024 07:32:35 +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 C72FC33BEF1 for ; Sun, 3 Mar 2024 07:32:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0431F14F3 for ; Sun, 3 Mar 2024 07:32:32 +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: <1709451126.5882e6b83471ad6f862427c6ae6a00eea3dd9a89.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cucumber-html-formatter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cucumber-html-formatter/Manifest dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild X-VCS-Directories: dev-util/cucumber-html-formatter/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 5882e6b83471ad6f862427c6ae6a00eea3dd9a89 X-VCS-Branch: master Date: Sun, 3 Mar 2024 07:32:32 +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: 33b9fb52-0204-444d-acec-e11649b790a1 X-Archives-Hash: 6cf4392d222f7a97e35bfb770ddaec7f commit: 5882e6b83471ad6f862427c6ae6a00eea3dd9a89 Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 3 07:30:17 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 3 07:32:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5882e6b8 dev-util/cucumber-html-formatter: update SRC_URI Use the gem since it contains the precompiled npm assets. Unfortunately the gem no longer contains the specs, so we are not able to run them anymore. We could use the upstream git repository as a source but that would require creating and distributing the assets ourselves for each release. Signed-off-by: Hans de Graaff gentoo.org> dev-util/cucumber-html-formatter/Manifest | 2 +- .../cucumber-html-formatter-21.2.0.ebuild | 27 +++++++--------------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/dev-util/cucumber-html-formatter/Manifest b/dev-util/cucumber-html-formatter/Manifest index c942003f1705..817b747a4997 100644 --- a/dev-util/cucumber-html-formatter/Manifest +++ b/dev-util/cucumber-html-formatter/Manifest @@ -1,3 +1,3 @@ DIST cucumber-html-formatter-19.2.0.gem 478720 BLAKE2B 1f2f6b2f93d63207cb2bb6e23ad14d71eb06a8363c7af7f417e4755ffffb2beabe8502ed5d82a881c072b911a42cb1fc2f1809e7326c223c00c25a36482d052b SHA512 c5f1453677b4df5e9091721bbb15a522f5c91cbcb2cb11a8c1d8f2577d8b3b93810698447a1fe1f2b80dc52a1bf798ffcb876b2c728ceaf109f1997a2fdde249 DIST cucumber-html-formatter-20.4.0.gem 592896 BLAKE2B 48fcdc7dacf354973b25c745c0f86334f882766e6d3776cdcbdbf574b69bd01550d43417fbb55d99c01f8485d174dd3e64a3b4aaeb33a577c3ab3b87318029c0 SHA512 c60b8a084bd0c05c9659e9cfb327194975d9eabf6dd39e282d3ff343df740f0fd13a2d854d3b095064ea3df04e73ba0324102f5fbd05b3cf98498420a036005e -DIST cucumber-html-formatter-21.2.0.tar.gz 175743 BLAKE2B 5ade792b6101f2069700f47beb0c958be5da66c542ac7d9b44d9815a047df9d29d82da0f446b5e690f4d3114bd594c6346269dc0a1cf36d4654a098abf06246c SHA512 e2457119ac4321e0a2f38f86f159dbe494f60bbd74d1a8d3710a5bf9102104aaaa058862b110ec55ce14eb106e6e4a7846af623e12f4354cf43a13ec5a76343d +DIST cucumber-html-formatter-21.2.0.gem 267776 BLAKE2B 8d99b8cebd4722f390740e0a9868d1e1f53c42556689e401948d1d9c7dca8b717fc5870aa7ceec9796d91bb2df3e5311ee073260b914f15071bca3efe5f316b0 SHA512 a6dbda14941a3290a6b2502dccbf980b39adb65ccfc6135ecd4bf09d9f4474d48c4dffa0d86d9d1da71dd9fe973e7ad14584ee3c367d7cfe948fd83e7bf9ade2 diff --git a/dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild b/dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild index dec778bc78a5..3d108c72cb09 100644 --- a/dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild +++ b/dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild @@ -4,17 +4,17 @@ EAPI=8 USE_RUBY="ruby31 ruby32 ruby33" -RUBY_FAKEGEM_GEMSPEC="cucumber-html-formatter.gemspec" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - RUBY_FAKEGEM_EXTRAINSTALL="assets" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" inherit ruby-fakegem DESCRIPTION="HTML formatter for Cucumber" HOMEPAGE="https://cucumber.io/" -SRC_URI="https://github.com/cucumber/html-formatter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -RUBY_S="html-formatter-${PV}/ruby" + +# Can be used for specs but requires assets to be created from npm +#SRC_URI="https://github.com/cucumber/html-formatter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +#RUBY_S="html-formatter-${PV}/ruby" LICENSE="MIT" @@ -22,21 +22,10 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" SLOT="$(ver_cut 1)" IUSE="test" +# Specs are no longer available in the distributed gem +RESTRICT="test" + ruby_add_rdepend " dev-util/cucumber-messages:22 !22.0"' \ - -e '/compatibility-kit/ s:^:#:' \ - -i spec/spec_helper.rb || die - - sed -e '/when using the CCK/,/^ end/ s:^:#:' \ - -i spec/cucumber/html_formatter/formatter_spec.rb || die - -}