From 1837675ce9fc5924acbfdaf91327d6fc6d304310 Mon Sep 17 00:00:00 2001 From: "Vivian Heisz (vhz)" Date: Wed, 8 Jul 2026 17:33:37 -0400 Subject: [PATCH] sci-mathematics/rink: sync live Signed-off-by: Vivian Heisz (vhz) --- sci-mathematics/rink/rink-9999.ebuild | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/sci-mathematics/rink/rink-9999.ebuild b/sci-mathematics/rink/rink-9999.ebuild index e934a108cc..dc1a5b4721 100644 --- a/sci-mathematics/rink/rink-9999.ebuild +++ b/sci-mathematics/rink/rink-9999.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Unit conversion tool, similar to frink" HOMEPAGE="https://rinkcalc.app/about/" EGIT_REPO_URI="https://codeberg.org/tiffany/rink.git" -LICENSE="MPL-2.0" +LICENSE="MPL-2.0 GPL-3" # Dependent crate licenses # owo-colors is MIT but notated as LICENCE LICENSE+=" @@ -19,7 +19,10 @@ LICENSE+=" " SLOT="0" -IUSE="doc" +IUSE="doc bundle-files test" +REQUIRED_USE="test? ( bundle-files )" + +RESTRICT="!test? ( test )" DEPEND+=" net-misc/curl @@ -39,14 +42,10 @@ src_unpack() { src_configure() { # RINK_PATH is used in the build process to define the data file location export RINK_PATH=/usr/share/rink - cargo_src_configure --no-default-features -} - -src_test() { - local tests_skip=( - # requires bundled files, which are disabled in this ebuild - --skip test_to_ansi + local myfeatures=( + $(usev bundle-files) ) + cargo_src_configure --no-default-features } src_install() {