commit: 6ced732a91320728c0ee9a750d08512d1edaa5c9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Nov 22 07:08:47 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Nov 22 07:57:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ced732a
sci-mathematics/jags: use ver_cut in SRC_URI Signed-off-by: Sam James <sam <AT> gentoo.org> sci-mathematics/jags/jags-4.3.0.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sci-mathematics/jags/jags-4.3.0.ebuild b/sci-mathematics/jags/jags-4.3.0.ebuild index 719d2d152ee1..6c2ad95e6bdc 100644 --- a/sci-mathematics/jags/jags-4.3.0.ebuild +++ b/sci-mathematics/jags/jags-4.3.0.ebuild @@ -9,10 +9,11 @@ MYP="JAGS-${PV}" DESCRIPTION="Just Another Gibbs Sampler for Bayesian MCMC simulation" HOMEPAGE="https://mcmc-jags.sourceforge.io/" -SRC_URI="mirror://sourceforge/project/mcmc-jags/JAGS/4.x/Source/${MYP}.tar.gz" +SRC_URI="mirror://sourceforge/project/mcmc-jags/JAGS/$(ver_cut 1).x/Source/${MYP}.tar.gz" +S="${WORKDIR}/${MYP}" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="doc" @@ -26,9 +27,8 @@ BDEPEND=" doc? ( virtual/latex-base dev-texlive/texlive-latexextra - )" - -S="${WORKDIR}/${MYP}" + ) +" src_configure() { econf \