summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-03-04 17:04:03 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-03-04 17:32:11 +0100
commit5c69e44b38a73f7123a59cd42316f0f0d29172ad (patch)
treef44989ffdad151376f24bb021655624dc0a049ad /sci-mathematics/metamath-databases
parentsci-mathematics/boolector: H -> COMMIT (diff)
downloadgentoo-5c69e44b38a73f7123a59cd42316f0f0d29172ad.tar.gz
gentoo-5c69e44b38a73f7123a59cd42316f0f0d29172ad.tar.bz2
gentoo-5c69e44b38a73f7123a59cd42316f0f0d29172ad.zip
sci-mathematics/metamath-databases: H -> COMMIT
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics/metamath-databases')
-rw-r--r--sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild15
1 files 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"