From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/spectator/
Date: Tue, 26 Nov 2024 13:52:30 +0000 (UTC) [thread overview]
Message-ID: <1732629038.7400b3c56e798ea63b42c8db7b46b8fa15dcce8e.cybertailor@gentoo> (raw)
commit: 7400b3c56e798ea63b42c8db7b46b8fa15dcce8e
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov 26 12:29:38 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> 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 <cyber+gentoo <AT> 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
+}
next reply other threads:[~2024-11-26 13:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-26 13:52 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-07 0:31 [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/spectator/ Anna Vyalkova
2024-04-27 9:50 Anna Vyalkova
2023-06-07 20:18 Anna Vyalkova
2023-01-27 1:36 Anna Vyalkova
2022-12-20 23:14 Anna Vyalkova
2022-11-29 15:02 Anna Vyalkova
2022-11-28 14:20 Anna Vyalkova
2022-11-08 17:55 Anna Vyalkova
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=1732629038.7400b3c56e798ea63b42c8db7b46b8fa15dcce8e.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--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