aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-10-20 23:58:01 +0200
committerMaciej Barć <xgqt@riseup.net>2021-10-21 00:06:16 +0200
commitcb04649b4cb80cbdaf9992ef2b023100ba61be42 (patch)
treedc290b5a8ab40a530682b29a6cd4ea2fbf5994ee /dev-lang
parentdev-lang/lean: add info about mathlib-tools (diff)
downloadguru-cb04649b4cb80cbdaf9992ef2b023100ba61be42.tar.gz
guru-cb04649b4cb80cbdaf9992ef2b023100ba61be42.tar.bz2
guru-cb04649b4cb80cbdaf9992ef2b023100ba61be42.zip
dev-lang/lean: add subslot
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@riseup.net>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/lean/lean-3.33.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/lean/lean-3.33.0.ebuild b/dev-lang/lean/lean-3.33.0.ebuild
index ade8a9dae..31967bcd4 100644
--- a/dev-lang/lean/lean-3.33.0.ebuild
+++ b/dev-lang/lean/lean-3.33.0.ebuild
@@ -11,9 +11,11 @@ DESCRIPTION="The Lean Theorem Prover"
HOMEPAGE="https://leanprover-community.github.io/"
if [[ "${PV}" == *9999* ]]; then
+ MAJOR=3 # sync this periodically for the live version
inherit git-r3
EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
else
+ MAJOR=$(ver_cut 1)
SRC_URI="https://github.com/leanprover-community/lean/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
@@ -21,7 +23,7 @@ S="${WORKDIR}/lean-${PV}/src"
RESTRICT="!test? ( test )"
LICENSE="Apache-2.0"
-SLOT="0"
+SLOT="0/${MAJOR}"
IUSE="+json test +threads"
RDEPEND="dev-libs/gmp"