sci-libs/hdf5: Fix subslot for another SOVERSION change

This time SOVERSION was changed within a patch release, so let's
replace that PV magic with the actual SOVERSION.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-09-28 14:41:39 +02:00
parent bf4930d993
commit df0270f59a

View File

@@ -19,8 +19,7 @@ SRC_URI="https://github.com/HDFGroup/hdf5/releases/download/${PN}_${MY_PV/-/.}/$
S="${WORKDIR}/${MY_P}"
LICENSE="NCSA-HDF"
# Upstream make SONAME changes all the time even within stable releases.
SLOT="0/${PV%%_p*}"
SLOT="0/311"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
RESTRICT="!test? ( test )"