From 5c69e44b38a73f7123a59cd42316f0f0d29172ad Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sat, 4 Mar 2023 17:04:03 +0100 Subject: sci-mathematics/metamath-databases: H -> COMMIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- .../metamath-databases/metamath-databases-20220303.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild b/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild index 32304b03acd4..cb277918c6f8 100644 --- a/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild +++ b/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild @@ -1,21 +1,22 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -H=99d707bc3c600a9d6052a46a7c85f05b74c589a2 +[[ ${PV} == 20220303 ]] && COMMIT=99d707bc3c600a9d6052a46a7c85f05b74c589a2 DESCRIPTION="Sample databases for Metamath" -HOMEPAGE="http://us.metamath.org/mpeuni/mmset.html" +HOMEPAGE="http://us.metamath.org/mpeuni/mmset.html + https://github.com/metamath/set.mm/" -if [[ "${PV}" == *9999* ]] ; then +if [[ ${PV} == *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/metamath/set.mm.git" else - SRC_URI="https://github.com/metamath/set.mm/archive/${H}.tar.gz - -> ${P}.tar.gz" + SRC_URI="https://github.com/metamath/set.mm/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" - S="${WORKDIR}"/set.mm-${H} + S="${WORKDIR}"/set.mm-${COMMIT} fi LICENSE="CC0-1.0" -- cgit v1.2.3-65-gdbad