[gentoo-commits] repo/proj/guru:master commit in: dev-crystal/spectator/
commit: b3d4d77547558e5ad3749d9220577c3b557e Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sat Apr 27 08:23:30 2024 + Commit: David Roman gmail com> CommitDate: Sat Apr 27 09:50:06 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b3d4d775 dev-crystal/spectator: add 0.12.0, drop 0.11.5 Bug: https://bugs.gentoo.org/883819 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-crystal/spectator/Manifest | 2 +- ...ctator-0.11.5.ebuild => spectator-0.12.0.ebuild} | 21 + 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/dev-crystal/spectator/Manifest b/dev-crystal/spectator/Manifest index 93417466d2..03aeb8aa0e 100644 --- a/dev-crystal/spectator/Manifest +++ b/dev-crystal/spectator/Manifest @@ -1,2 +1,2 @@ -DIST spectator-0.11.5.tar.gz 154689 BLAKE2B 7da8a3af4400b28af47f343cb149257a6fb11b9f04a1074bcbbcc1237127820ca4feca5419e7b358a41f2d7bab2f42886af11525e4b46121a41f8d5918085a44 SHA512 c9a24d203826dac8ffc518ac57351bb3cf08f5ba1cee65b233e74bb1a30d35c2074f3186c2dbe67ea502dfb4fc9f0128bc7296f43e80ee95c6b259bcd756f084 DIST spectator-0.11.6.tar.gz 155945 BLAKE2B 338942440b04682c0614aeead71b3762663088d9693db7f995ec12067de1c7161672458505d270da2b625553bd6b8495f43c0176bf053891f778948a5f2eeb25 SHA512 989fc8131d053fa45eecf9219b4a9bd8715dc3ae3e515734cfddbaf11a6db1a28428505ce738d0d64080185dd5f23f9720bfddeeb2ed6246e72d275f2464f819 +DIST spectator-0.12.0.tar.gz 156833 BLAKE2B 49fb7de6bbf9091fc081f18fce921f2f37d4a56aecb7927296f27e7168deacb4ace8c2a720e039e122d29366735ba2bc0484893c5f617f9b202f350b329d8266 SHA512 4f67c1609c8055de9f354634bcd15aab408dfddf9392e05e34a882ba027a23135c8f00322286dad6ff6adaed3b934dbef44f9816ecd48b0d59fa25d200e71b16 diff --git a/dev-crystal/spectator/spectator-0.11.5.ebuild b/dev-crystal/spectator/spectator-0.12.0.ebuild similarity index 51% rename from dev-crystal/spectator/spectator-0.11.5.ebuild rename to dev-crystal/spectator/spectator-0.12.0.ebuild index ac6ecd55d5..57e1d6d47b 100644 --- a/dev-crystal/spectator/spectator-0.11.5.ebuild +++ b/dev-crystal/spectator/spectator-0.12.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit check-reqs shards +inherit shards DESCRIPTION="Feature-rich testing framework for Crystal inspired by RSpec" HOMEPAGE="https://github.com/icy-arctic-fox/spectator; @@ -15,12 +15,17 @@ KEYWORDS="~amd64" DOCS=( {ARCHITECTURE,CHANGELOG,CONTRIBUTING,README}.md ) -CHECKREQS_MEMORY="3G" +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/ -pkg_pretend() { - has test "${FEATURES}" && check-reqs_pkg_pretend -} + # Build failure + #shards_src_test spec/spectator/dsl/ -pkg_setup() { - has test "${FEATURES}" && check-reqs_pkg_setup + # Will eat all your memory + #shards_src_test spec/spectator/mocks/ }
[gentoo-commits] repo/proj/guru:master commit in: dev-crystal/spectator/
commit: 2df0c1b4b6658d66e1b1b6634ff64b4184156de6 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Nov 29 15:01:26 2022 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Tue Nov 29 15:01:26 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2df0c1b4 dev-crystal/spectator: add "test" USE flag Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-crystal/spectator/spectator-0.11.4.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-crystal/spectator/spectator-0.11.4.ebuild b/dev-crystal/spectator/spectator-0.11.4.ebuild index ac6ecd55d..d23903ad6 100644 --- a/dev-crystal/spectator/spectator-0.11.4.ebuild +++ b/dev-crystal/spectator/spectator-0.11.4.ebuild @@ -12,15 +12,17 @@ SRC_URI="https://github.com/icy-arctic-fox/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" DOCS=( {ARCHITECTURE,CHANGELOG,CONTRIBUTING,README}.md ) CHECKREQS_MEMORY="3G" pkg_pretend() { - has test "${FEATURES}" && check-reqs_pkg_pretend + use test && check-reqs_pkg_pretend } pkg_setup() { - has test "${FEATURES}" && check-reqs_pkg_setup + use test && check-reqs_pkg_setup }
[gentoo-commits] repo/proj/guru:master commit in: dev-crystal/spectator/
commit: bcf3757160a2371589f05b2203e0fbe119cf0932 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon Nov 28 14:19:52 2022 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Mon Nov 28 14:20:10 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bcf37571 dev-crystal/spectator: add 0.11.4 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-crystal/spectator/Manifest| 1 + dev-crystal/spectator/spectator-0.11.4.ebuild | 26 ++ 2 files changed, 27 insertions(+) diff --git a/dev-crystal/spectator/Manifest b/dev-crystal/spectator/Manifest index b3f44eb42..935811aff 100644 --- a/dev-crystal/spectator/Manifest +++ b/dev-crystal/spectator/Manifest @@ -1 +1,2 @@ DIST spectator-0.11.3.tar.gz 147641 BLAKE2B a1015bd8433002d5c0db0d6ac4671645b2d61b30749c59d70df84520a7c01159d83e08d14dd3203bba513df576fcbaade8bc645c6be9ae3824cdc77c6fb6c8d6 SHA512 be4dd9465ff678d8049824c63b316ec74069ce59b3dde3637b619e82c7247e533a087f344415e46bff61786810f5566a1fa1e19c9957fd4d08d2f312491bf0e5 +DIST spectator-0.11.4.tar.gz 148851 BLAKE2B 28df62b94bb7234bd4a09da19a7a081d172ee879ae26aa9eb982a553a3d366e2b30f92954655f00e81ef64c286db8c851b3c7ba9db68f0a3e866720468c8fad4 SHA512 61ee83e774e71010485352cdf208810f07108a4bcad002b0254947fb6aa234547f438388b9cf10d6d77f20c2f408e0e9613d781722bf8496cf8f4c011a1746eb diff --git a/dev-crystal/spectator/spectator-0.11.4.ebuild b/dev-crystal/spectator/spectator-0.11.4.ebuild new file mode 100644 index 0..ac6ecd55d --- /dev/null +++ b/dev-crystal/spectator/spectator-0.11.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 2022 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 +}