diff options
author | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-22 21:51:12 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-22 23:32:33 -0400 |
commit | 1273941fec5688ef7e8bea3f98963aac0196f11a (patch) | |
tree | caed06fed31c45240b341c6474e0c48de5c6e8f9 /sci-astronomy | |
parent | media-sound/qtractor: remove outdated LTO workaround (diff) | |
download | gentoo-1273941fec5688ef7e8bea3f98963aac0196f11a.tar.gz gentoo-1273941fec5688ef7e8bea3f98963aac0196f11a.tar.bz2 gentoo-1273941fec5688ef7e8bea3f98963aac0196f11a.zip |
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 <eschwartz@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/wcslib/wcslib-8.2.2-r1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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" |