From 1273941fec5688ef7e8bea3f98963aac0196f11a Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 22 Jul 2024 21:51:12 -0400 Subject: sci-astronomy/wcslib: use ver_cut to produce SLOT Previously, bumping to 8.x caused the SLOT to temporarily lag behind because I didn't pay attention. Later fixed, by bumping the hardcoded version, but... upstream rigorously guarantees semver: https://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/versioning.html So we can use ver_cut to directly derive the correct slot from the major version, which ensures that doesn't happen again. Fixes: 632bccc7eb31b12665622103f3a2091349e80269 Signed-off-by: Eli Schwartz --- sci-astronomy/wcslib/wcslib-8.2.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sci-astronomy') diff --git a/sci-astronomy/wcslib/wcslib-8.2.2-r1.ebuild b/sci-astronomy/wcslib/wcslib-8.2.2-r1.ebuild index 47c7788eb7ad..c0b48800b96f 100644 --- a/sci-astronomy/wcslib/wcslib-8.2.2-r1.ebuild +++ b/sci-astronomy/wcslib/wcslib-8.2.2-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Astronomical World Coordinate System transformations library" HOMEPAGE="https://www.atnf.csiro.au/people/mcalabre/WCS/" SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2" -SLOT="0/8" +SLOT="0/$(ver_cut 1)" LICENSE="LGPL-3" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc fortran fits pgplot static-libs +tools" -- cgit v1.2.3-65-gdbad