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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C75241581F3 for ; Tue, 26 Nov 2024 13:52:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29116E0858; Tue, 26 Nov 2024 13:52:38 +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 0FFF8E0858 for ; Tue, 26 Nov 2024 13:52:38 +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 26CD134306E for ; Tue, 26 Nov 2024 13:52:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC48D1DB9 for ; Tue, 26 Nov 2024 13:52:30 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1732629038.7400b3c56e798ea63b42c8db7b46b8fa15dcce8e.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/spectator/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-crystal/spectator/Manifest dev-crystal/spectator/spectator-0.11.6.ebuild dev-crystal/spectator/spectator-0.12.1.ebuild X-VCS-Directories: dev-crystal/spectator/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 7400b3c56e798ea63b42c8db7b46b8fa15dcce8e X-VCS-Branch: dev Date: Tue, 26 Nov 2024 13:52:30 +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: 2018c656-c430-4218-a8a9-bcc70a0afab9 X-Archives-Hash: c239e3d16ba28695061e1554746a584c commit: 7400b3c56e798ea63b42c8db7b46b8fa15dcce8e Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Nov 26 12:29:38 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Tue Nov 26 13:50:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7400b3c5 dev-crystal/spectator: add 0.12.1, drop 0.11.6 Split 'spec/spectator/mocks' category to reduce RAM usage. DSL tests still fail. Closing bug #883819 because it hasn't been reproduced by CI or locally for a number of new releases. Closes: https://bugs.gentoo.org/883819 (obsolete) Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-crystal/spectator/Manifest | 2 +- dev-crystal/spectator/spectator-0.11.6.ebuild | 26 -------------------- dev-crystal/spectator/spectator-0.12.1.ebuild | 35 +++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 27 deletions(-) diff --git a/dev-crystal/spectator/Manifest b/dev-crystal/spectator/Manifest index 03aeb8aa0..4e011543d 100644 --- a/dev-crystal/spectator/Manifest +++ b/dev-crystal/spectator/Manifest @@ -1,2 +1,2 @@ -DIST spectator-0.11.6.tar.gz 155945 BLAKE2B 338942440b04682c0614aeead71b3762663088d9693db7f995ec12067de1c7161672458505d270da2b625553bd6b8495f43c0176bf053891f778948a5f2eeb25 SHA512 989fc8131d053fa45eecf9219b4a9bd8715dc3ae3e515734cfddbaf11a6db1a28428505ce738d0d64080185dd5f23f9720bfddeeb2ed6246e72d275f2464f819 DIST spectator-0.12.0.tar.gz 156833 BLAKE2B 49fb7de6bbf9091fc081f18fce921f2f37d4a56aecb7927296f27e7168deacb4ace8c2a720e039e122d29366735ba2bc0484893c5f617f9b202f350b329d8266 SHA512 4f67c1609c8055de9f354634bcd15aab408dfddf9392e05e34a882ba027a23135c8f00322286dad6ff6adaed3b934dbef44f9816ecd48b0d59fa25d200e71b16 +DIST spectator-0.12.1.tar.gz 156923 BLAKE2B a36c18c339d4cf295fd64433daf5d9c642858598dcd91e7adfe57f813e0e2a3adfaca7b42968b95eb332541e666b32d2b1a02931e0b68b7280d20b26a5d3e276 SHA512 f003e79608c5e4dd5965de446698e7bcb8049bc45185cbd7bfcb0a6523a77ca68d8d875b7985c1efce5533630845a9eb929c3aa26ec190f5613e5b450824f7d6 diff --git a/dev-crystal/spectator/spectator-0.11.6.ebuild b/dev-crystal/spectator/spectator-0.11.6.ebuild deleted file mode 100644 index 87bc47a85..000000000 --- a/dev-crystal/spectator/spectator-0.11.6.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs shards - -DESCRIPTION="Feature-rich testing framework for Crystal inspired by RSpec" -HOMEPAGE="https://github.com/icy-arctic-fox/spectator" -SRC_URI="https://github.com/icy-arctic-fox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DOCS=( {ARCHITECTURE,CHANGELOG,CONTRIBUTING,README}.md ) - -CHECKREQS_MEMORY="3G" - -pkg_pretend() { - has test "${FEATURES}" && check-reqs_pkg_pretend -} - -pkg_setup() { - has test "${FEATURES}" && check-reqs_pkg_setup -} diff --git a/dev-crystal/spectator/spectator-0.12.1.ebuild b/dev-crystal/spectator/spectator-0.12.1.ebuild new file mode 100644 index 000000000..3945c75da --- /dev/null +++ b/dev-crystal/spectator/spectator-0.12.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shards + +DESCRIPTION="Feature-rich testing framework for Crystal inspired by RSpec" +HOMEPAGE="https://github.com/icy-arctic-fox/spectator" +SRC_URI="https://github.com/icy-arctic-fox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( {ARCHITECTURE,CHANGELOG,CONTRIBUTING,README}.md ) + +src_test() { + # adopted from .gitlab-ci.yml + shards_src_test spec/matchers/ spec/spectator/*.cr + shards_src_test spec/docs/ + shards_src_test spec/features/ + shards_src_test spec/issues/ + shards_src_test spec/rspec/ + + # Build failure + #shards_src_test spec/spectator/dsl/ + + # Compile each test individually because otherwise + # up to 3G of RAM is eaten by compilation. + local t + for t in spec/spectator/mocks/*; do + shards_src_test "${t}" + done +}