shards.eclass: add CRYSTAL_DEPS to RDEPEND for libraries

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-10-30 22:16:33 +05:00
parent 7a7a021dd2
commit 69360898d4

View File

@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: shards.eclass
@@ -32,6 +32,12 @@ BDEPEND="
"
IUSE="debug doc"
if [[ ${CATEGORY} == dev-crystal ]]; then
# To build a correct dependency graph, add Crystal version
# restrictions to runtime dependencies of Crystal libraries.
RDEPEND="${CRYSTAL_DEPS}"
fi
# Crystal packages do not use CFLAGS
QA_FLAGS_IGNORED='.*'