Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lean/
Date: Fri, 26 Aug 2022 00:32:12
Message-Id: 1661473924.83a2c3f160fefff958a12efb306e3ad54e3bd159.xgqt@gentoo
1 commit: 83a2c3f160fefff958a12efb306e3ad54e3bd159
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 26 00:12:18 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 26 00:32:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a2c3f1
7
8 sci-mathematics/lean: fix live
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 sci-mathematics/lean/lean-3.9999.ebuild | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/sci-mathematics/lean/lean-3.9999.ebuild b/sci-mathematics/lean/lean-3.9999.ebuild
16 index 6623228581a0..307c5b95bc1b 100644
17 --- a/sci-mathematics/lean/lean-3.9999.ebuild
18 +++ b/sci-mathematics/lean/lean-3.9999.ebuild
19 @@ -11,14 +11,14 @@ inherit flag-o-matic cmake readme.gentoo-r1
20 DESCRIPTION="The Lean Theorem Prover"
21 HOMEPAGE="https://leanprover-community.github.io/"
22
23 -if [[ "${PV}" == *9999* ]]; then
24 +if [[ ${PV} == *9999* ]]; then
25 inherit git-r3
26 EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
27 else
28 SRC_URI="https://github.com/leanprover-community/lean/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
29 KEYWORDS="~amd64 ~x86"
30 fi
31 -S="${WORKDIR}/lean-${PV}/src"
32 +S="${S}/src"
33
34 LICENSE="Apache-2.0"
35 SLOT="0/${MAJOR}"
36 @@ -27,7 +27,7 @@ IUSE="debug +threads"
37 RDEPEND="dev-libs/gmp:="
38 DEPEND="${RDEPEND}"
39
40 -PATCHES=( "${FILESDIR}/${PN}-CMakeLists-fix_flags.patch" )
41 +PATCHES=( "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch )
42
43 src_configure() {
44 local CMAKE_BUILD_TYPE