commit: 2933a4a80112e0efc31c9fe0b249bf3762974ed5 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Mon Mar 13 23:42:23 2023 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Sun Apr 2 00:56:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2933a4a8
gnome.org.eclass: Handle GNOME's .alpha/.beta/.rc versioning Tested by removing SRC_URI and S overrides in evince-44_rc.ebuild and glib-networking-2.76_beta.ebuild and confirming that we fetch the same distfile and build from the same source directory. Also confirmed that (alpha|beta|rc).<num> works by making a glib-networking-2.76_beta1.ebuild and seeing that we attempt to fetch glib-networking-2.76.beta.1.tar.xz. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> eclass/gnome.org.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass index d5f9102e5818..760dc2ba0b66 100644 --- a/eclass/gnome.org.eclass +++ b/eclass/gnome.org.eclass @@ -64,8 +64,8 @@ fi # See https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235 : "${GNOME_ORG_PV:=$(ver_rs 1- .)}" -SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_RELEASE}/${GNOME_ORG_MODULE}-${PV}.tar.${GNOME_TARBALL_SUFFIX}" +SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_RELEASE}/${GNOME_ORG_MODULE}-${GNOME_ORG_PV}.tar.${GNOME_TARBALL_SUFFIX}" -S="${WORKDIR}/${GNOME_ORG_MODULE}-${PV}" +S="${WORKDIR}/${GNOME_ORG_MODULE}-${GNOME_ORG_PV}" fi
