mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
sci-mathematics/rink: update and fix 0.9.0
This fixes an issue I didn't catch with the previous fix, which caused failed builds. It also fixes the tests and properly installs the `.desktop` file. Closes: https://bugs.gentoo.org/976388 Closes: https://bugs.gentoo.org/976389 Signed-off-by: Vivian Heisz (vhz) <demize@unstable.systems>
This commit is contained in:
@@ -220,7 +220,7 @@ DIST regex-syntax-0.8.5.crate 357541 BLAKE2B fc6d125f7a8574c37d81c75cbfd447cbcff
|
||||
DIST rink-0.8.0.tar.gz 514929 BLAKE2B 336210f212661542c23bb2aa3553a3ce772945df5bedba604e187cbd14af5fcde4e8364647bdc97cb9a628802ed0dc9ac1e38d69e4ba93c67ef5d99cda1e6b30 SHA512 f666cbb69870a9f1703d4ade3ac64ffa3ff0aa36e0514c381b78f669832d230cdf745360f6eaa8914e4d182170d31ad9e9d796a7aadae90995185813f480b8b4
|
||||
DIST rink-0.9.0.tar.gz 559485 BLAKE2B 5118c6e09ba28deb4522d6720316bc214d789e3b0f50568fd9fc5d28aada174927bfe30a4b5dd5b5e55ecb1282612b8309f6d0e42502886a33bd3e773f895e97 SHA512 f4f200d894ba14d997fafdef146a7e049259879820de006ee7f964273704cd67f7ecbef00a2a9e9888ccb9fdce4945340959f88206b0975501dde200b3d4791b
|
||||
DIST rink-docs-0.8.0.tar.gz 72746 BLAKE2B 384547bac896440e2a4f9ad17223c33a9994fbe0c19f4aef775d62dc0bbc647b4f8aae967017627929d79c11fed314234e739d41baefbcf7a5161c36b881a22e SHA512 444ffde70c367bc13fcf6ef8fb1a35631e79d2096e6cd862a7701173a99d22b5b6331034e610206ed1debac04e6e73b7a880264183234f4d57cc55c61ecc1c75
|
||||
DIST rink-docs-0.9.0.tar.gz 78198 BLAKE2B d2e1cc66d8e1631a3e1316b2c9e6425cf04cafd49f1c84228ec0256a30a02bdfee7cb83f27ed06c9840f7b83fabef8c8fb466f8a1460d571e64ad2eab215a63c SHA512 d76853161c9aa2fcc96d653256bb9cc702ab6d0595a72759f727de6e5e9d7b9b2d4859ec637e14c631831859916e5cb82059adfbed9e38d8e1a90211995fd0d7
|
||||
DIST rink-docs-0.9.0.tar.gz 78148 BLAKE2B 844f389094f8390c2813a66076c5a653712e17b8289d89fa171831e8f5900901c5aea4bfa3ee7b3147f32489305716b9027a7629c03e3fd67dc40b9c582d56f5 SHA512 1b86d8155aaee691fbe653cd3f65425a4e94ab18c1fbc0bdad0267f17d7dbca446379d121070e7d254b2f374703c67b80d6c0c13eaeb09fda531729acedda176
|
||||
DIST rust-argon2-0.8.3.crate 28313 BLAKE2B 2d3468c7b5dc027fbbf6ceb264d77f4ae9b03526e0634c645ffd32a4c87532f5a84c224c6c39a15c9e267d268b187ec65210a2edf7df8294913e4958fbc83352 SHA512 f336dd3f90e1a49be107b641f9e9d513b6f8098dbdd1ab8aa2bd1fae329ce6840ad11a902b599922bef45d96ffb556d52b57d61218271bdccb7c85f9fe1da033
|
||||
DIST rustc-demangle-0.1.23.crate 28970 BLAKE2B 611d2e41a8a9799db2f8bcb8fc8fefcda361d055a417d2bfaaf2dedcce9d6f388c69d905a28c65e6691b4d408d7922ccdc97ce524c87c3cccb8467e314bc87b9 SHA512 8cd29800254b1305ad50f1fc008838c52d9659f97a51a68e9f2bd6d0a60126f3ebdd1c79760f96445b3bf998d0773526ddf663b174acca81babdc0b423247247
|
||||
DIST rustix-0.37.27.crate 324534 BLAKE2B 65fc8317c5aa86236b2099104b6841a7d35d4567977218f5e59a85d199aee7d6b9f0278083d93f575b31d77ef8685576b7cba06ce8da6e96a164af30c854ace3 SHA512 e1c648cf11379509b732b9e9ed88ebd36006d8e73755528a09aed4f46df08e23a705696c5e6ff7ea0e4382513edb487f9859a8f1673150d60d70c698216fec3e
|
||||
|
||||
@@ -14,4 +14,10 @@
|
||||
<bugs-to>https://codeberg.org/tiffany/rink/issues/new</bugs-to>
|
||||
<changelog>https://rinkcalc.app/releases/</changelog>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="bundle-files">Bundles the definition files into the application.
|
||||
Recommended only for tests, as the definition files are installed
|
||||
globally.
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -280,7 +280,7 @@ CRATES="
|
||||
winnow@0.6.7
|
||||
"
|
||||
|
||||
inherit cargo desktop
|
||||
inherit cargo desktop xdg
|
||||
|
||||
DESCRIPTION="Unit conversion tool, similar to frink"
|
||||
HOMEPAGE="https://rinkcalc.app/about/"
|
||||
@@ -292,7 +292,7 @@ SRC_URI="
|
||||
|
||||
S="${WORKDIR}/rink"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
LICENSE="MPL-2.0 GPL-3"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 MIT MPL-2.0 Unicode-DFS-2016
|
||||
@@ -300,11 +300,15 @@ LICENSE+="
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="doc"
|
||||
IUSE="doc bundle-files test"
|
||||
REQUIRED_USE="test? ( bundle-files )"
|
||||
|
||||
# restrict mirror while in ::guru for faster downloads
|
||||
# (and to avoid needing a volunteer to host the dep tarball)
|
||||
RESTRICT="mirror"
|
||||
RESTRICT="
|
||||
mirror
|
||||
!test? ( test )
|
||||
"
|
||||
|
||||
DEPEND+="
|
||||
net-misc/curl
|
||||
@@ -318,6 +322,12 @@ QA_FLAGS_IGNORED="usr/bin/rink"
|
||||
src_configure() {
|
||||
# RINK_PATH is used in the build process to define the data file location
|
||||
export RINK_PATH=/usr/share/rink
|
||||
|
||||
local myfeatures=(
|
||||
$(usev bundle-files)
|
||||
)
|
||||
|
||||
# we build without default features, so that we don't bundle the definitions in
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
@@ -331,9 +341,7 @@ src_install() {
|
||||
|
||||
newicon -s 192 "${S}/web/site/images/icons/icon-192x192.png" rink.png
|
||||
newicon -s 512 "${S}/web/site/images/icons/icon-512x512.png" rink.png
|
||||
# rink.desktop is in the tree, but not part of 0.8.0
|
||||
# newmenu "cli/rink.desktop" "rink.desktop"
|
||||
make_desktop_entry "/usr/bin/rink" Rink rink "Utility;Calculator;ConsoleOnly"
|
||||
domenu "cli/rink.desktop"
|
||||
|
||||
doman build/rink.1
|
||||
doman build/rink.5
|
||||
Reference in New Issue
Block a user