diff options
Diffstat (limited to 'dev-crystal')
20 files changed, 83 insertions, 121 deletions
diff --git a/dev-crystal/athena-spec/Manifest b/dev-crystal/athena-spec/Manifest index bea898081da1..56b28d4992c9 100644 --- a/dev-crystal/athena-spec/Manifest +++ b/dev-crystal/athena-spec/Manifest @@ -1,2 +1,2 @@ -DIST athena-spec-0.3.5.tar.gz 10708 BLAKE2B 266062a2480d4270e3d08650fd33d65370fc4604074a4a84246d3a5ed14dc21fb7d6646ccaa796ef40bf2877b5e8a6afa4a1b8e4bba1ecba89144c4b6f246a74 SHA512 208cdf7a7a2c795084c89dd88b97f6b1c4cf7591f650601775080ea3db14f556a014e61aa7cad77c5a1bf33962f890e19fa23e8dc82629a768fd1ce8a9d639e1 DIST athena-spec-0.3.7.tar.gz 11335 BLAKE2B 7ee9522d5bd135d36c208f4e21735b5835ebacfdcce7c9705dbcc4f59bf75b81eadac09ba32d63b0d286fc4c35cbcb2f8e19a48ec8e44539749657aeb2107cdd SHA512 d6cf454e9addae34f6f6d5b3001744388ea698d31f1a18aefcbc87262e7fe84ff157dd32d47cc9958dbdcf3545eb578c12d44d2501ccf11283f7ddf91a5625fe +DIST athena-spec-0.3.8.tar.gz 11495 BLAKE2B b03d6df40da3e29cb1726fcf293166890b989c33a4855ea82e7a08b64c4e9cfecfe4f6bb48f4b1b0e7a8c2d8b5b57943b69118a2cf8fc89e659e516ab31492c1 SHA512 092854d0ac1f7a50b0e1ff909ec0679cd93c020740ffd578ed62b2783320cf6f012d6e70af9aa203af03c167eafdaeadc77cdffff728958eb0bc0663d82f64e7 diff --git a/dev-crystal/athena-spec/athena-spec-0.3.5.ebuild b/dev-crystal/athena-spec/athena-spec-0.3.8.ebuild index 26d3b9f1f379..fbe2baf7af31 100644 --- a/dev-crystal/athena-spec/athena-spec-0.3.5.ebuild +++ b/dev-crystal/athena-spec/athena-spec-0.3.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,8 +17,3 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" - -src_prepare() { - default - mkdir -p .github/workflows || die -} diff --git a/dev-crystal/crystal-pg/Manifest b/dev-crystal/crystal-pg/Manifest index 8482d9a886d8..773554b74e42 100644 --- a/dev-crystal/crystal-pg/Manifest +++ b/dev-crystal/crystal-pg/Manifest @@ -1,2 +1,3 @@ DIST crystal-pg-0.26.0.tar.gz 38901 BLAKE2B 954737db2ebfb02ad8ed7a071a2728199a306a8eb44a31bd7702413d271c8e9aec4d5ff104487d224e8278bb4d45fe619e8f84db930cd3c70a83a3487b6387bc SHA512 097450dbabb2c2d26deb70a9ed34f49f70e63e59055b5b3513eab9951feca546886998263848c7b7648bad716f6d67b436d1bde5ff0a89d521520350138055c1 DIST crystal-pg-0.28.0.tar.gz 44534 BLAKE2B 69f3c50e77c928055bc66ef46b729052e6c0df69a80c310bf576ed75d51a5f3a93ebb4faa10c47c8a64dc4f46fcecf2b5b82e9812d5b6839ba5f6888cf5e5bd9 SHA512 34358bc203b78fcbe3828d086dbf31b09b94e465f5c179c6a35186f2f5d42a65cd362ef75860e93eb3252699cc22787f798e09484f2e20d1284db6a384721a78 +DIST crystal-pg-0.29.0.tar.gz 45580 BLAKE2B 7f6a544466556a397b76aebb85d75d0ce269efda61129d55b61be29c14360da6cf3c4b6d8d127309f0e3dc6b21caf436a14cef1fd69e58a309d117d450b71811 SHA512 99a2cea26d51f2b3ca4b056d7e9673c7b1b75e72be1baf92a6f9377e04d52a62e23c5ce29486b7e430685a478f3e463ccbd985e491bc9f23b89241b633bfe609 diff --git a/dev-crystal/crystal-pg/crystal-pg-0.29.0.ebuild b/dev-crystal/crystal-pg/crystal-pg-0.29.0.ebuild new file mode 100644 index 000000000000..8bbdc3de2993 --- /dev/null +++ b/dev-crystal/crystal-pg/crystal-pg-0.29.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +declare -Ag DAEMONS_REQ_USE=( + [postgresql]="xml" +) +inherit daemons shards + +DESCRIPTION="A native, non-blocking Postgres driver for Crystal" +HOMEPAGE="https://github.com/will/crystal-pg" +SRC_URI="https://github.com/will/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-crystal/crystal-db-0.13.0 + <dev-crystal/crystal-db-0.14.0 +" + +DOCS=( CHANGELOG CONTRIBUTORS {CONTRIBUTING,README}.md ) + +daemons_enable postgresql test + +src_test() { + daemons_start postgresql --host 127.0.0.1 + local -x DATABASE_URL="${POSTGRESQL_URL:?}" + + shards_src_test + daemons_stop postgresql +} diff --git a/dev-crystal/crystar/Manifest b/dev-crystal/crystar/Manifest index b993379dcdc8..fc141f22d0e7 100644 --- a/dev-crystal/crystar/Manifest +++ b/dev-crystal/crystar/Manifest @@ -1,2 +1,2 @@ -DIST crystar-0.3.0.tar.gz 110477 BLAKE2B a946b36330f6f0a7f321fc41db009e3cea7a19794c9ff5497fe5ba41bfac14ff450cb029d0b9d349d3611bd0743561e0f29c1e3b4fa4c28d8d4e36103907a0b3 SHA512 7574e98661c2af3a0628143a7807cfa884a803b545fb7fb8477b85d38f20c30e8aaad6553ca0ad2f5a0a0016ca08aba94638be4656df5658dd0c870b4a40dc5b DIST crystar-0.3.1.tar.gz 110500 BLAKE2B 0d2b3ecfc41a72e6a6c1dd5ab169b889318f28c8600b3ee0868c50db0c6ebe2754f0e5447ad5fb6904e487356b649db3391bfd852f2d71a1f4bedda199f70051 SHA512 73462bc246ae8338625c9cc6c99da5000235f6c52214d80e6b104c5543f1e3dd5f3571013073f821d935e176d4e1445a5cc0b1d8b41628fb69932a160a739c65 +DIST crystar-0.4.0.tar.gz 110585 BLAKE2B 22e0ddaa77b6f7df17943ba9a0045e4be99bf1c492b23b0949c2ec8493768cc447b02f52bb6618ee8cf286650780d3c86013c241008ecbbaa22d7d071d4ddf3f SHA512 bd004ba9d3135f03c91ddce4752a8240d04b82225d740d851d145ce4994ef8645384c2fb1acab39fe2a462ba3ba7aebbdbfe89eb7d16af2ca5ecf0d4476f7b80 diff --git a/dev-crystal/crystar/crystar-0.3.0.ebuild b/dev-crystal/crystar/crystar-0.4.0.ebuild index fa9a1cd4338b..fa9a1cd4338b 100644 --- a/dev-crystal/crystar/crystar-0.3.0.ebuild +++ b/dev-crystal/crystar/crystar-0.4.0.ebuild diff --git a/dev-crystal/exception_page/Manifest b/dev-crystal/exception_page/Manifest index 4a916b207b40..2dbf5ad13d78 100644 --- a/dev-crystal/exception_page/Manifest +++ b/dev-crystal/exception_page/Manifest @@ -1,2 +1,2 @@ -DIST exception_page-0.3.1.tar.gz 11099 BLAKE2B 51e62c4aff40d70dc31178c190c3de7ae3484620e61cdeee1e5219ff4cbe6c645e2181a6e121dd884239e64e5c3a6191c85560e683e3db0fcd5da7de5b15de58 SHA512 68218b5b4d21fdd1e5739e196db9022cb702c59913258b319a370e21a0523c6146d41b9fe6bc4d125f428acd6913b118f0a0e3d3e70d00a97150cbc9d9967fe7 DIST exception_page-0.4.1.tar.gz 11378 BLAKE2B 24c2e2be2d64085677bd095f9e8b336c01583d36235c17856d973a460e19c5feb1873806f8681d2affea163c11446a49760030f5a08369187a6773eb436cb958 SHA512 de90afe8c87bd231802d99c05072fb8955100eeceadf46d61339b2117494fa89693f699e8cdd16a03d40212605483d83aba4e7d97845ec596bcf06ecd9107f88 +DIST exception_page-0.5.0.tar.gz 11463 BLAKE2B 295f1d15192dd6dfd55081d38853e23aeb124afd19fb0a572e809aac59c6b2e3b302cdde290db0ed6534ab32310ee662ab9f955419d2dc7012d3babd469dd613 SHA512 c40ae9c220f1090dee384162fae0932d0c24388d615136ad076f5d06e289d47354b61760e24638cb0dc1c92aeb538a6f0e1958322e5d8ed780ece0e275d1e4fc diff --git a/dev-crystal/exception_page/exception_page-0.3.1.ebuild b/dev-crystal/exception_page/exception_page-0.5.0.ebuild index e3615aee9345..73e8ed6e3731 100644 --- a/dev-crystal/exception_page/exception_page-0.3.1.ebuild +++ b/dev-crystal/exception_page/exception_page-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,9 +22,8 @@ BDEPEND=" ) " -src_prepare() { - default - - # test error, related to lucky_flow ('be_on_page' method) - rm spec/exception_page_spec.cr || die +src_test() { + # Passing '--debug' option is required for a test that checks if + # code frames are displayed. + crystal_spec --debug } diff --git a/dev-crystal/habitat/Manifest b/dev-crystal/habitat/Manifest index fa61d231f842..686bbdc7059c 100644 --- a/dev-crystal/habitat/Manifest +++ b/dev-crystal/habitat/Manifest @@ -1,2 +1 @@ -DIST habitat-0.4.7.tar.gz 9664 BLAKE2B c1fdaaa587e8632d323f22677c6af34d8c39357b48c787e8f244af6ad1907c43a53609c64557148480a61e09466397c1c38c22ff66a3a1e2dcf033e156102231 SHA512 d6eddcb85a8dff2722bfa74230513d9a5eda77fe33564bbe2e9207599e1bcc267db1f912df100ba5f37e8bb3dfe097986e4c2d922cf3a0e21a1f666b8c637093 -DIST habitat-0.4.8.tar.gz 10351 BLAKE2B 5bc63ac52742166c731e93d124c27a733c034866b8f7a8f3fdb831ba1931bbab250058c42539910eb6f6663900ef2f24ccf00cd25a689881606dfc0ef0b3cfdd SHA512 983fbc16d6fcc75793ae4f7edc63b5a2f64eb7a120867a088029cae615fe21f9cc365b60a9654ae5debbdfbaadc0a99caaff1b7ca23fa9b16447cabd9be0371f +DIST habitat-0.4.9.tar.gz 10471 BLAKE2B ec616cea421b713997ee294fe8c6c56cf7b4b6d780fe3a29d444f6d7b3d501c73da17c6b533810698cdab05ff2c7baf64f4aa7cd0b85998bceab27d0529b59f7 SHA512 fcef7c0c2175338c24f687f4f1ab4f715d48c4021d1144b159b35f29aa17a54b6efbfe1d79d67b2ca45c3da6f97e3993991ca17f8e7cd4ae7f819695db04b67e diff --git a/dev-crystal/habitat/habitat-0.4.7.ebuild b/dev-crystal/habitat/habitat-0.4.7.ebuild deleted file mode 100644 index e6fe05889333..000000000000 --- a/dev-crystal/habitat/habitat-0.4.7.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit shards - -DESCRIPTION="Easily configure settings for Crystal projects" -HOMEPAGE="https://github.com/luckyframework/habitat" -SRC_URI="https://github.com/luckyframework/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DOCS=( {CODE_OF_CONDUCT,CONTRIBUTING,README}.md ) diff --git a/dev-crystal/habitat/habitat-0.4.8.ebuild b/dev-crystal/habitat/habitat-0.4.9.ebuild index 35bfd492b1c5..35bfd492b1c5 100644 --- a/dev-crystal/habitat/habitat-0.4.8.ebuild +++ b/dev-crystal/habitat/habitat-0.4.9.ebuild diff --git a/dev-crystal/lucky_flow/Manifest b/dev-crystal/lucky_flow/Manifest index 40e5341bfb1b..8f9082089fb4 100644 --- a/dev-crystal/lucky_flow/Manifest +++ b/dev-crystal/lucky_flow/Manifest @@ -1,2 +1 @@ DIST lucky_flow-0.10.0.tar.gz 17564 BLAKE2B 4f118108a2f8960c04cab97fa260df6fe98ad81be6c1630d2a48c4320b4533961a8e6e3983fbbdea358ec2bdab5eb5035f1d4bc3e5222c08a3e34408f20fa74a SHA512 8b03266d9d259665a7274b95880c211654170db135f618cf84148d693ae6c7658ff3fe1c4df896e10db8139cf9d6e0f5a2659829f3e4f657eff7f9cf1d25f4c0 -DIST lucky_flow-0.9.1.tar.gz 16887 BLAKE2B 3dd6422f9edaaebf032fa08cdfe35392d91b933980b2b2de65b785ec8c63140f8cbb2b055a679e94725445a68a9ccaafb2f4a5de74bb1cac8928133be330b75d SHA512 bd09f0cf141236ed8648f9db507f652de2986348df9b5db44d389849d196e10af17de11ecaea850fea3a9c844bbad456fd4360a53ee44ba2d1b1dae0f9c15084 diff --git a/dev-crystal/lucky_flow/lucky_flow-0.10.0.ebuild b/dev-crystal/lucky_flow/lucky_flow-0.10.0-r1.ebuild index 853a596095a4..c375db904a8e 100644 --- a/dev-crystal/lucky_flow/lucky_flow-0.10.0.ebuild +++ b/dev-crystal/lucky_flow/lucky_flow-0.10.0-r1.ebuild @@ -15,7 +15,7 @@ KEYWORDS="~amd64" RDEPEND=" dev-crystal/crystal-html5 - dev-crystal/habitat + >=dev-crystal/habitat-0.4.9 dev-crystal/selenium dev-crystal/webdrivers dev-crystal/webless diff --git a/dev-crystal/lucky_flow/lucky_flow-0.9.1.ebuild b/dev-crystal/lucky_flow/lucky_flow-0.9.1.ebuild deleted file mode 100644 index a213375bdc89..000000000000 --- a/dev-crystal/lucky_flow/lucky_flow-0.9.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit shards - -DESCRIPTION="LuckyFlow is a library for testing user flows in the browser" -HOMEPAGE="https://github.com/luckyframework/lucky_flow" -SRC_URI="https://github.com/luckyframework/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-crystal/crystal-html5 - dev-crystal/habitat - dev-crystal/selenium - dev-crystal/webdrivers - dev-crystal/webless -" - -src_test() { - ecrystal spec --tag "~headless_chrome" -} diff --git a/dev-crystal/spectator/Manifest b/dev-crystal/spectator/Manifest index 03aeb8aa0e16..4e011543d93f 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 87bc47a850d0..000000000000 --- 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 000000000000..3945c75dac15 --- /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 +} diff --git a/dev-crystal/webdrivers/Manifest b/dev-crystal/webdrivers/Manifest index f91b774b9ebf..08e782dbe5b9 100644 --- a/dev-crystal/webdrivers/Manifest +++ b/dev-crystal/webdrivers/Manifest @@ -1,2 +1 @@ -DIST webdrivers-0.4.2.tar.gz 6989 BLAKE2B efedebeb0fd60c711e188a3679c08b36455dd87ebbc676898ab1b43a3be4807e7e23306a84c3f39d991944a57c7f4a722a1b68bed8b8a4477f1a4d574b8f526a SHA512 e704bab7176cf2e62f0cfa6fd7b7c4a76028ed4c54a6b05c79f7c8cbd267448c6324d266b97d78be18c7be46f67f08391b894a72c073e00d27d6306f0000bfe5 DIST webdrivers-0.4.3.tar.gz 7512 BLAKE2B 447e0ab917d96ef79d982a9ceb4cf70c5cd4714437f183012e91b55a7e63a64a3fb4769cfc85d078c558750981248ec9e6b8724117409c220330e1fcab0e61f6 SHA512 7d46c7592cae01119fc0c8367a55284ce12750f3dc9643eb95ac106926561b798adb4e42b2042f4977b5d7e09d834da58f4b21ae5df2993f76b20d869d526556 diff --git a/dev-crystal/webdrivers/webdrivers-0.4.2.ebuild b/dev-crystal/webdrivers/webdrivers-0.4.2.ebuild deleted file mode 100644 index a23a7f4ad779..000000000000 --- a/dev-crystal/webdrivers/webdrivers-0.4.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit shards - -MY_PN="${PN}.cr" -DESCRIPTION="Helps manage drivers for Selenium, such as the Chromedriver" -HOMEPAGE="https://github.com/matthewmcgarvey/webdrivers.cr" -SRC_URI="https://github.com/matthewmcgarvey/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-crystal/crystar - dev-crystal/habitat -" - -src_prepare() { - default - - # remove tests that use network - rm \ - spec/webdrivers/chromedriver_spec.cr \ - spec/webdrivers/geckodriver_spec.cr \ - spec/webdrivers/chrome/driver_remote_version_finder_spec.cr || die -} diff --git a/dev-crystal/webdrivers/webdrivers-0.4.3.ebuild b/dev-crystal/webdrivers/webdrivers-0.4.3-r1.ebuild index 2c17c29393ba..24a1c1e7329c 100644 --- a/dev-crystal/webdrivers/webdrivers-0.4.3.ebuild +++ b/dev-crystal/webdrivers/webdrivers-0.4.3-r1.ebuild @@ -17,7 +17,7 @@ KEYWORDS="~amd64" RDEPEND=" dev-crystal/crystar - dev-crystal/habitat + >=dev-crystal/habitat-0.4.9 " src_prepare() { |
