summaryrefslogtreecommitdiff
path: root/dev-crystal
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-30 19:22:54 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-30 19:22:54 +0000
commit9ee4616fa447c8669b8ab45ae055f236de86e554 (patch)
tree76cf8d026901c266fe5cd9dd85d54c2989abf756 /dev-crystal
parent433d88f8060140c325376f7d03b82c122798b50e (diff)
downloadbaldeagleos-repo-9ee4616fa447c8669b8ab45ae055f236de86e554.tar.gz
baldeagleos-repo-9ee4616fa447c8669b8ab45ae055f236de86e554.tar.xz
baldeagleos-repo-9ee4616fa447c8669b8ab45ae055f236de86e554.zip
Adding metadata
Diffstat (limited to 'dev-crystal')
-rw-r--r--dev-crystal/athena-spec/Manifest2
-rw-r--r--dev-crystal/athena-spec/athena-spec-0.4.0.ebuild (renamed from dev-crystal/athena-spec/athena-spec-0.3.10.ebuild)8
-rw-r--r--dev-crystal/crystal-db/Manifest2
-rw-r--r--dev-crystal/crystal-db/crystal-db-0.14.0.ebuild (renamed from dev-crystal/crystal-db/crystal-db-0.11.0.ebuild)9
-rw-r--r--dev-crystal/crystal-pg/crystal-pg-0.29.0-r1.ebuild (renamed from dev-crystal/crystal-pg/crystal-pg-0.29.0.ebuild)4
-rw-r--r--dev-crystal/crystal-sqlite3/Manifest1
-rw-r--r--dev-crystal/crystal-sqlite3/crystal-sqlite3-0.22.0.ebuild23
-rw-r--r--dev-crystal/crystal-sqlite3/files/crystal-sqlite3-0.22.0-fix-uri-parsing.patch35
-rw-r--r--dev-crystal/kemal/Manifest2
-rw-r--r--dev-crystal/kemal/kemal-1.7.3.ebuild (renamed from dev-crystal/kemal/kemal-1.7.1.ebuild)0
-rw-r--r--dev-crystal/spectator/Manifest2
-rw-r--r--dev-crystal/spectator/spectator-0.12.0.ebuild31
-rw-r--r--dev-crystal/spectator/spectator-0.12.2.ebuild51
13 files changed, 125 insertions, 45 deletions
diff --git a/dev-crystal/athena-spec/Manifest b/dev-crystal/athena-spec/Manifest
index 55e943205e42..95dde90f13fe 100644
--- a/dev-crystal/athena-spec/Manifest
+++ b/dev-crystal/athena-spec/Manifest
@@ -1,2 +1,2 @@
-DIST athena-spec-0.3.10.tar.gz 11858 BLAKE2B 91a0cf52461bca7993f5c1397f22d097fc88d13ca11f9e93f2a41d36ecc714a91b9aba0ae1d39d2fbaaec3a6e823774a3650d9f463bd547fcbbf7309c2619b08 SHA512 5fcb3979d964df4e42bc081528622c0dda29772bd22a099fcb654af6f5b20fd65e762c7446e1341fc989c2de49fe88c23cb5b8744dd485efeeb9a6a2f4a0d412
DIST athena-spec-0.3.11.tar.gz 12038 BLAKE2B 74badcebfe8bc8acf294c1655ddea2a84a47f0e3a82c7e37f77340ea6558d3f42211dc3016af0ff14689da98dee9e854b95eca2c9a91b856f3c7cd12fb2bcadc SHA512 4b07bf3d871638e24815db309d4c606a51a3cc6616f74ea60aab758463fd2fbc165f82e0bda9f850d9570245e6bb5cfea945923f2928bb404c8ef3a8cea35fc1
+DIST athena-spec-0.4.0.tar.gz 12728 BLAKE2B 8ed608bb734240f7a435541859cea39a57cc448d36ac2387b1ec39ef25f24e652990d46952f0048e6afabb9b8264b359921521d5087134e9740bceebd06d9278 SHA512 6733eb49a684b557cbfeb0f6593cfd334bbbb38aae83a3ce9c4093d164c5c588be19288adb36f7597be00069a11041cba38a6d9b10e3e441acb57a447a31c655
diff --git a/dev-crystal/athena-spec/athena-spec-0.3.10.ebuild b/dev-crystal/athena-spec/athena-spec-0.4.0.ebuild
index 8946e12fa9fc..8c9c112144d1 100644
--- a/dev-crystal/athena-spec/athena-spec-0.3.10.ebuild
+++ b/dev-crystal/athena-spec/athena-spec-0.4.0.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+CRYSTAL_MIN_VER="1.17"
inherit shards
MY_PN="${PN#athena-}"
@@ -17,3 +18,10 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+
+src_test() {
+ # Error: Invalid option: --link-flags=<...>
+ local -x CRYSTAL_OPTS=
+
+ shards_src_test
+}
diff --git a/dev-crystal/crystal-db/Manifest b/dev-crystal/crystal-db/Manifest
index 4007e884f6ca..cb767ba46fd0 100644
--- a/dev-crystal/crystal-db/Manifest
+++ b/dev-crystal/crystal-db/Manifest
@@ -1,2 +1,2 @@
-DIST crystal-db-0.11.0.tar.gz 37260 BLAKE2B 8fee7dd05af9585643a7fd2513ffeed8e8fd8c50cab0f467eebcbf7bbf48b94ed64ca4c524475bfc475da25e6ecf66ff3a88be1f417fdc302013fe78028c547a SHA512 a8df8d55402836d30d918a2717c145671f67ef5381895f56914aa3623135a9de3ce2d125085b16ff59460487116bc45f2e09b7001a937b3208430618049543d1
DIST crystal-db-0.13.1.tar.gz 40745 BLAKE2B 3a3afe3bc60a7d2fb91ef31a5ea6d2b94bb27ee093f244ec59f908306ef125f9e5085c7de6da09c580fcd667e6ffda093053908685630f190b3f2ed9f662f589 SHA512 78d263271670eb5422e7d3d219cc895e4d508893f79800b34e46a0072bb2b3bee715bbfb588227ebcbaa4cd528810e42d6654ae92d146eeac0f19d3131847d3d
+DIST crystal-db-0.14.0.tar.gz 40900 BLAKE2B cbd063b69dd8e48daceee3c62743c9fd605fb39ae3d889eba1282a435c21ea5ef85a13187ed90fe0b4a042410cae2d50169a981814cac2ce0fe7700378f91386 SHA512 8bb52744a20a38f0c5e52f8fba59ff212ba14bf19784f05e87798e38238c5e82353042c02e225b6e4391ab4a46a02ea7ab752330e89db1a11e56cc93849b123d
diff --git a/dev-crystal/crystal-db/crystal-db-0.11.0.ebuild b/dev-crystal/crystal-db/crystal-db-0.14.0.ebuild
index 130baedb6859..61eed151edcc 100644
--- a/dev-crystal/crystal-db/crystal-db-0.11.0.ebuild
+++ b/dev-crystal/crystal-db/crystal-db-0.14.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,10 +14,3 @@ SLOT="0"
KEYWORDS="~amd64"
DOCS=( {CHANGELOG,README}.md )
-
-src_prepare() {
- default
-
- # one test fails on v0.11.0
- rm spec/serializable_spec.cr || die
-}
diff --git a/dev-crystal/crystal-pg/crystal-pg-0.29.0.ebuild b/dev-crystal/crystal-pg/crystal-pg-0.29.0-r1.ebuild
index 8bbdc3de2993..9e9dc49c9888 100644
--- a/dev-crystal/crystal-pg/crystal-pg-0.29.0.ebuild
+++ b/dev-crystal/crystal-pg/crystal-pg-0.29.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ KEYWORDS="~amd64"
RDEPEND="
>=dev-crystal/crystal-db-0.13.0
- <dev-crystal/crystal-db-0.14.0
+ <dev-crystal/crystal-db-0.15.0
"
DOCS=( CHANGELOG CONTRIBUTORS {CONTRIBUTING,README}.md )
diff --git a/dev-crystal/crystal-sqlite3/Manifest b/dev-crystal/crystal-sqlite3/Manifest
index 978ef436f2dc..27938a63c471 100644
--- a/dev-crystal/crystal-sqlite3/Manifest
+++ b/dev-crystal/crystal-sqlite3/Manifest
@@ -1 +1,2 @@
DIST crystal-sqlite3-0.21.0.tar.gz 12284 BLAKE2B a6943a30d00a8ec47860121f2878ce9274aab100bfe6a8a82aadbcdd71f0b4eef1943fa29e6d86bb2807ccfe6294136d5422b797086078d5c3196b9e63fd3f89 SHA512 a11b70e714c19762a4344383b95b3106be05cf9f51f9a4491e1bfda37c7fff0c178bec366fc86845db903a597e2c6a4eeb288c2c365f0b8752345f761bc68759
+DIST crystal-sqlite3-0.22.0.tar.gz 13720 BLAKE2B 1590d872b98a38a2df8a8753306e70e653e4cb52ae536457e567230b58e8c42ab61afd6f7292072f3d69a8346818317b243fad4999e1a55af4244f0ced29e9be SHA512 b2e8cfd88ec0870bc712ece7e8e95eade37101ab02226b73aaa6f0151a7aae7bbb19fe3b517ccf2e23ffdb9e267ae1871e67463c55f220ef7e79bf867bd3f258
diff --git a/dev-crystal/crystal-sqlite3/crystal-sqlite3-0.22.0.ebuild b/dev-crystal/crystal-sqlite3/crystal-sqlite3-0.22.0.ebuild
new file mode 100644
index 000000000000..594ba230614a
--- /dev/null
+++ b/dev-crystal/crystal-sqlite3/crystal-sqlite3-0.22.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shards
+
+DESCRIPTION="SQLite3 bindings for Crystal"
+HOMEPAGE="https://github.com/crystal-lang/crystal-sqlite3"
+SRC_URI="https://github.com/crystal-lang/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-crystal/crystal-db-0.13.0
+ <dev-crystal/crystal-db-0.15.0
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.22.0-fix-uri-parsing.patch )
+
+DOCS=( {CHANGELOG,README}.md )
diff --git a/dev-crystal/crystal-sqlite3/files/crystal-sqlite3-0.22.0-fix-uri-parsing.patch b/dev-crystal/crystal-sqlite3/files/crystal-sqlite3-0.22.0-fix-uri-parsing.patch
new file mode 100644
index 000000000000..eec58d962bfa
--- /dev/null
+++ b/dev-crystal/crystal-sqlite3/files/crystal-sqlite3-0.22.0-fix-uri-parsing.patch
@@ -0,0 +1,35 @@
+From f4e94b042ab64cf6558086b812e7fd56780cd4de Mon Sep 17 00:00:00 2001
+From: "Brian J. Cardiff" <bcardiff@gmail.com>
+Date: Thu, 16 Oct 2025 16:57:41 -0300
+Subject: [PATCH] Use URI#hostname to avoid interpreting :memory: as [:memory:]
+ (#105)
+
+---
+ src/sqlite3/connection.cr | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/sqlite3/connection.cr b/src/sqlite3/connection.cr
+index 750776f..948715e 100644
+--- a/src/sqlite3/connection.cr
++++ b/src/sqlite3/connection.cr
+@@ -12,7 +12,7 @@ class SQLite3::Connection < DB::Connection
+ params = HTTP::Params.parse(uri.query || "")
+
+ Options.new(
+- filename: URI.decode_www_form((uri.host || "") + uri.path),
++ filename: URI.decode_www_form((uri.hostname || "") + uri.path),
+ # pragmas
+ busy_timeout: params.fetch("busy_timeout", default.busy_timeout),
+ cache_size: params.fetch("cache_size", default.cache_size),
+@@ -56,7 +56,7 @@ class SQLite3::Connection < DB::Connection
+ end
+
+ def self.filename(uri : URI)
+- URI.decode_www_form((uri.host || "") + uri.path)
++ URI.decode_www_form((uri.hostname || "") + uri.path)
+ end
+
+ def build_prepared_statement(query) : Statement
+--
+2.51.2
+
diff --git a/dev-crystal/kemal/Manifest b/dev-crystal/kemal/Manifest
index 798463389c77..299e971413f8 100644
--- a/dev-crystal/kemal/Manifest
+++ b/dev-crystal/kemal/Manifest
@@ -1,3 +1,3 @@
DIST kemal-1.1.2.tar.gz 49111 BLAKE2B d14aca282dfe944d5d4e2f5ecf3261663bfd907e573ca64585f6f507f877a2923f43c7fd35b001924bd0f48fb2338d23e4ff52a2696f7626d56b75e346149aed SHA512 7e45da9fae8e0c5d204971af34d21102e2bd82eb1a7f6e6e860547f55dbad19b9fcc25d772fd41d4478740d70303fe75988cddb6c658eb1fdda5ffeecd7e5318
-DIST kemal-1.7.1.tar.gz 55300 BLAKE2B 3ff2674591057ba455e86680280d4516f6810337de737b93c3bbd966045dfeee737de5d712ba4b6dda0aa9a75f9f923a76a579c94acc1872347eb14ad5be6406 SHA512 79126fb2051048843bbb9af6404267baa81b53ec0a8b98c4a95f0d51694bdaf4b426748a46e2082ea22360f3d5ceaa57621411d37da9cce3e479d5931d1db8dc
DIST kemal-1.7.2.tar.gz 55806 BLAKE2B 2aa038049ee48a9177b7f3072e600970647701a27d4483951ad89a3bdb77c33a0dab34d94cde32f35d02b7454c3fec577868d52807ba6c60b757f3a14852548a SHA512 6d459685bb25882f5b8c130ac30423985f0907fe23fce29223a4e11f6db60344cef17f1e9272e910b7b261abd58e74b6770b3f4061db1fd3b4a970e0c48b41d0
+DIST kemal-1.7.3.tar.gz 60094 BLAKE2B 80fa5b8c96faa6185296b86e99561e87da28a142828fa3d831cab1106fdb01d513c2c0cb49d47da70cb7d4983c6bf251a28621313e80cc4f8ab9f8df635176d6 SHA512 e65700aa65cc0160ea76aee16465b06225884b2be8aa6944bd89666e169794d3e264275b76b1864763df8bb601f7ef38c40847e29738917ec91de436539f4b3a
diff --git a/dev-crystal/kemal/kemal-1.7.1.ebuild b/dev-crystal/kemal/kemal-1.7.3.ebuild
index 84390fa4a5b4..84390fa4a5b4 100644
--- a/dev-crystal/kemal/kemal-1.7.1.ebuild
+++ b/dev-crystal/kemal/kemal-1.7.3.ebuild
diff --git a/dev-crystal/spectator/Manifest b/dev-crystal/spectator/Manifest
index 4e011543d93f..400b38789b94 100644
--- a/dev-crystal/spectator/Manifest
+++ b/dev-crystal/spectator/Manifest
@@ -1,2 +1,2 @@
-DIST spectator-0.12.0.tar.gz 156833 BLAKE2B 49fb7de6bbf9091fc081f18fce921f2f37d4a56aecb7927296f27e7168deacb4ace8c2a720e039e122d29366735ba2bc0484893c5f617f9b202f350b329d8266 SHA512 4f67c1609c8055de9f354634bcd15aab408dfddf9392e05e34a882ba027a23135c8f00322286dad6ff6adaed3b934dbef44f9816ecd48b0d59fa25d200e71b16
DIST spectator-0.12.1.tar.gz 156923 BLAKE2B a36c18c339d4cf295fd64433daf5d9c642858598dcd91e7adfe57f813e0e2a3adfaca7b42968b95eb332541e666b32d2b1a02931e0b68b7280d20b26a5d3e276 SHA512 f003e79608c5e4dd5965de446698e7bcb8049bc45185cbd7bfcb0a6523a77ca68d8d875b7985c1efce5533630845a9eb929c3aa26ec190f5613e5b450824f7d6
+DIST spectator-v0.12.2.tar.bz2 119342 BLAKE2B c677ffa18bb1e8b672d2a0e51cb3fd50eecc9262dc34a1a73b0dfa6056c9278443ae0a6bf30ab538b6c7e4014ee116f0b06659455b7a0fc7d73c38481d333484 SHA512 d2f5ca5d7f461263a3f4f58b3de5efd9c51fc00ede0add74254d2f90d3ddacc4474bf4b280b9d11b7dca31203bc3f4696a305ce374781712fb8ef420df726c4c
diff --git a/dev-crystal/spectator/spectator-0.12.0.ebuild b/dev-crystal/spectator/spectator-0.12.0.ebuild
deleted file mode 100644
index 57e1d6d47b76..000000000000
--- a/dev-crystal/spectator/spectator-0.12.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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/
-
- # Will eat all your memory
- #shards_src_test spec/spectator/mocks/
-}
diff --git a/dev-crystal/spectator/spectator-0.12.2.ebuild b/dev-crystal/spectator/spectator-0.12.2.ebuild
new file mode 100644
index 000000000000..3129ecc66c8d
--- /dev/null
+++ b/dev-crystal/spectator/spectator-0.12.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shards
+
+MY_P="${PN}-v${PV}"
+DESCRIPTION="Feature-rich testing framework for Crystal inspired by RSpec"
+HOMEPAGE="https://gitlab.com/arctic-fox/spectator"
+SRC_URI="https://gitlab.com/arctic-fox/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# broken tests
+RESTRICT="test"
+
+DOCS=( {ARCHITECTURE,CHANGELOG,CONTRIBUTING,README}.md )
+
+src_prepare() {
+ default
+
+ local tests_to_remove=(
+ # bug #945172
+ spec/issues/github_issue_48_spec.cr
+ )
+
+ rm "${tests_to_remove[@]}" || die
+}
+
+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 are eaten by compilation.
+ local t
+ for t in spec/spectator/mocks/*; do
+ shards_src_test "${t}"
+ done
+}