public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/
@ 2021-10-19 21:43 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-10-19 21:43 UTC (permalink / raw
  To: gentoo-commits

commit:     b206aa4fe3a4c1c45600674a0a55626d80014e19
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Tue Oct 19 21:41:00 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Tue Oct 19 21:41:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b206aa4f

dev-lang/lean: add version 3.33.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 dev-lang/lean/Manifest           |  1 +
 dev-lang/lean/lean-3.33.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++
 dev-lang/lean/metadata.xml       | 20 ++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/dev-lang/lean/Manifest b/dev-lang/lean/Manifest
new file mode 100644
index 000000000..fd42aa380
--- /dev/null
+++ b/dev-lang/lean/Manifest
@@ -0,0 +1 @@
+DIST lean-3.33.0.tar.gz 1890511 BLAKE2B 93fed81409a5d2fc31fd0963e00262ffbf7ce177954501e01d988666bf55bd4e0243488139f34eb4322055a5512565c6770749f793a8b7a8c7eb6e3045c5c2e7 SHA512 813f21f57913c15ca52b3a40bb0493d156b714ea26c5dcf4d159ee7aedf05dd6259ff57c05aa278bc72a3bfb9a531835387fc8cfbaca7d8341e0f2fbe9535bf3

diff --git a/dev-lang/lean/lean-3.33.0.ebuild b/dev-lang/lean/lean-3.33.0.ebuild
new file mode 100644
index 000000000..120a2ac2e
--- /dev/null
+++ b/dev-lang/lean/lean-3.33.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_IN_SOURCE_BUILD="ON"
+
+inherit cmake
+
+DESCRIPTION="The Lean Theorem Prover"
+HOMEPAGE="https://leanprover-community.github.io/"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
+else
+	SRC_URI="https://github.com/leanprover-community/lean/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+S="${WORKDIR}/lean-${PV}/src"
+
+RESTRICT="!test? ( test )"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+json test +threads"
+
+RDEPEND="dev-libs/gmp"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DALPHA=ON
+		-DAUTO_THREAD_FINALIZATION=ON
+		-DJSON=$(usex json)
+		-DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
+		-DMULTI_THREAD=$(usex threads)
+		-DUSE_GITHASH=OFF
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	elog "You probably want to use lean with mathlib, to install it use leanpkg."
+	elog "For example: leanpkg install https://github.com/leanprover-community/mathlib"
+}

diff --git a/dev-lang/lean/metadata.xml b/dev-lang/lean/metadata.xml
new file mode 100644
index 000000000..9e03d53ad
--- /dev/null
+++ b/dev-lang/lean/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>xgqt@riseup.net</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <longdescription lang="en">
+    The Lean theorem prover is a proof assistant developed principally
+    by Leonardo de Moura at Microsoft Research.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/leanprover-community/lean/issues</bugs-to>
+    <remote-id type="github">leanprover-community/lean</remote-id>
+  </upstream>
+  <use>
+    <flag name="json"> Enable JSON support</flag>
+  </use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/
@ 2021-10-20 21:35 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-10-20 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     a98873df4c825acc382e40752d25a28a1c440936
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Wed Oct 20 21:31:05 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Wed Oct 20 21:35:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a98873df

dev-lang/lean: add info about mathlib-tools

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 dev-lang/lean/lean-3.33.0.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/dev-lang/lean/lean-3.33.0.ebuild b/dev-lang/lean/lean-3.33.0.ebuild
index 120a2ac2e..ade8a9dae 100644
--- a/dev-lang/lean/lean-3.33.0.ebuild
+++ b/dev-lang/lean/lean-3.33.0.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 CMAKE_IN_SOURCE_BUILD="ON"
 
-inherit cmake
+inherit cmake optfeature
 
 DESCRIPTION="The Lean Theorem Prover"
 HOMEPAGE="https://leanprover-community.github.io/"
@@ -40,6 +40,12 @@ src_configure() {
 }
 
 pkg_postinst() {
-	elog "You probably want to use lean with mathlib, to install it use leanpkg."
-	elog "For example: leanpkg install https://github.com/leanprover-community/mathlib"
+	elog "You probably want to use lean with mathlib, to install it you can either:"
+	elog " - Do not install mathlib globally and use local versions"
+	elog " - Use leanproject from sci-mathematics/mathlib-tools"
+	elog "   $ leanproject global-install"
+	elog " - Use leanpkg and compile mathlib (which will take long time)"
+	elog "   $ leanpkg install https://github.com/leanprover-community/mathlib"
+
+	optfeature "project management with leanproject" sci-mathematics/mathlib-tools
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/
@ 2021-10-20 22:06 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-10-20 22:06 UTC (permalink / raw
  To: gentoo-commits

commit:     cb04649b4cb80cbdaf9992ef2b023100ba61be42
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Wed Oct 20 21:58:01 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Wed Oct 20 22:06:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb04649b

dev-lang/lean: add subslot

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 dev-lang/lean/lean-3.33.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/
@ 2021-10-21 14:12 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-10-21 14:12 UTC (permalink / raw
  To: gentoo-commits

commit:     56d5f40d5d5e922b200142051ebc8a46a2958e94
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Oct 21 14:12:28 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Oct 21 14:12:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56d5f40d

dev-lang/lean: add 3.34.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-lang/lean/Manifest           |  1 +
 dev-lang/lean/lean-3.34.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-lang/lean/Manifest b/dev-lang/lean/Manifest
index fd42aa380..b5cb6ec03 100644
--- a/dev-lang/lean/Manifest
+++ b/dev-lang/lean/Manifest
@@ -1 +1,2 @@
 DIST lean-3.33.0.tar.gz 1890511 BLAKE2B 93fed81409a5d2fc31fd0963e00262ffbf7ce177954501e01d988666bf55bd4e0243488139f34eb4322055a5512565c6770749f793a8b7a8c7eb6e3045c5c2e7 SHA512 813f21f57913c15ca52b3a40bb0493d156b714ea26c5dcf4d159ee7aedf05dd6259ff57c05aa278bc72a3bfb9a531835387fc8cfbaca7d8341e0f2fbe9535bf3
+DIST lean-3.34.0.tar.gz 1891710 BLAKE2B 53c25b93c2e720187bfa5980a6bf3c9790aebb757b732704f6f5ad250b333c192417a938bc1cd6274a45f5b5f49f8e275da1f5c5597ffd7bc2da7bbe8b0371f7 SHA512 bc3f81ffbfa3291675d3c09c28c3eacccc2d44d021fb7e9923c7116091046b57f388589074e984f257842757c77972ef3b354d8690cccbebf6d3e2aae1f811a5

diff --git a/dev-lang/lean/lean-3.34.0.ebuild b/dev-lang/lean/lean-3.34.0.ebuild
new file mode 100644
index 000000000..31967bcd4
--- /dev/null
+++ b/dev-lang/lean/lean-3.34.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_IN_SOURCE_BUILD="ON"
+
+inherit cmake optfeature
+
+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
+S="${WORKDIR}/lean-${PV}/src"
+
+RESTRICT="!test? ( test )"
+LICENSE="Apache-2.0"
+SLOT="0/${MAJOR}"
+IUSE="+json test +threads"
+
+RDEPEND="dev-libs/gmp"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DALPHA=ON
+		-DAUTO_THREAD_FINALIZATION=ON
+		-DJSON=$(usex json)
+		-DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
+		-DMULTI_THREAD=$(usex threads)
+		-DUSE_GITHASH=OFF
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	elog "You probably want to use lean with mathlib, to install it you can either:"
+	elog " - Do not install mathlib globally and use local versions"
+	elog " - Use leanproject from sci-mathematics/mathlib-tools"
+	elog "   $ leanproject global-install"
+	elog " - Use leanpkg and compile mathlib (which will take long time)"
+	elog "   $ leanpkg install https://github.com/leanprover-community/mathlib"
+
+	optfeature "project management with leanproject" sci-mathematics/mathlib-tools
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/
@ 2021-10-21 14:14 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-10-21 14:14 UTC (permalink / raw
  To: gentoo-commits

commit:     46c0040634fa9f05cd07f0871352c6e0ffddde5d
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Oct 21 14:13:59 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Thu Oct 21 14:14:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46c00406

dev-lang/lean: exclude style_check test

Closes: https://bugs.gentoo.org/819093
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 dev-lang/lean/lean-3.33.0.ebuild | 9 +++++++++
 dev-lang/lean/lean-3.34.0.ebuild | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/dev-lang/lean/lean-3.33.0.ebuild b/dev-lang/lean/lean-3.33.0.ebuild
index 31967bcd4..7fe835012 100644
--- a/dev-lang/lean/lean-3.33.0.ebuild
+++ b/dev-lang/lean/lean-3.33.0.ebuild
@@ -41,6 +41,15 @@ src_configure() {
 	cmake_src_configure
 }
 
+src_test() {
+	local myctestargs=(
+		# Disable problematic "style_check" cpplint test,
+		# this also removes python test dependency
+		--exclude-regex style_check
+	)
+	cmake_src_test
+}
+
 pkg_postinst() {
 	elog "You probably want to use lean with mathlib, to install it you can either:"
 	elog " - Do not install mathlib globally and use local versions"

diff --git a/dev-lang/lean/lean-3.34.0.ebuild b/dev-lang/lean/lean-3.34.0.ebuild
index 31967bcd4..7fe835012 100644
--- a/dev-lang/lean/lean-3.34.0.ebuild
+++ b/dev-lang/lean/lean-3.34.0.ebuild
@@ -41,6 +41,15 @@ src_configure() {
 	cmake_src_configure
 }
 
+src_test() {
+	local myctestargs=(
+		# Disable problematic "style_check" cpplint test,
+		# this also removes python test dependency
+		--exclude-regex style_check
+	)
+	cmake_src_test
+}
+
 pkg_postinst() {
 	elog "You probably want to use lean with mathlib, to install it you can either:"
 	elog " - Do not install mathlib globally and use local versions"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/
@ 2021-10-21 22:24 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-10-21 22:24 UTC (permalink / raw
  To: gentoo-commits

commit:     7c7d1cb41566515c7533ca3dea5e0b80cb462cce
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Oct 21 22:24:13 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Thu Oct 21 22:24:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c7d1cb4

dev-lang/lean: remove unnecessary test flag

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 dev-lang/lean/lean-3.33.0.ebuild | 3 +--
 dev-lang/lean/lean-3.34.0.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-lang/lean/lean-3.33.0.ebuild b/dev-lang/lean/lean-3.33.0.ebuild
index 7fe835012..95b6a5655 100644
--- a/dev-lang/lean/lean-3.33.0.ebuild
+++ b/dev-lang/lean/lean-3.33.0.ebuild
@@ -21,10 +21,9 @@ else
 fi
 S="${WORKDIR}/lean-${PV}/src"
 
-RESTRICT="!test? ( test )"
 LICENSE="Apache-2.0"
 SLOT="0/${MAJOR}"
-IUSE="+json test +threads"
+IUSE="+json +threads"
 
 RDEPEND="dev-libs/gmp"
 DEPEND="${RDEPEND}"

diff --git a/dev-lang/lean/lean-3.34.0.ebuild b/dev-lang/lean/lean-3.34.0.ebuild
index 7fe835012..95b6a5655 100644
--- a/dev-lang/lean/lean-3.34.0.ebuild
+++ b/dev-lang/lean/lean-3.34.0.ebuild
@@ -21,10 +21,9 @@ else
 fi
 S="${WORKDIR}/lean-${PV}/src"
 
-RESTRICT="!test? ( test )"
 LICENSE="Apache-2.0"
 SLOT="0/${MAJOR}"
-IUSE="+json test +threads"
+IUSE="+json +threads"
 
 RDEPEND="dev-libs/gmp"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/
@ 2021-11-05  8:30 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-11-05  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     be2c39fcdaa2101aaae7b14c17b337bf82b97186
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Fri Nov  5 08:29:34 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Fri Nov  5 08:30:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be2c39fc

dev-lang/lean: bump to 3.35.0

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 dev-lang/lean/Manifest           |  1 +
 dev-lang/lean/lean-3.35.0.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-lang/lean/Manifest b/dev-lang/lean/Manifest
index b5cb6ec03..c9c3a7261 100644
--- a/dev-lang/lean/Manifest
+++ b/dev-lang/lean/Manifest
@@ -1,2 +1,3 @@
 DIST lean-3.33.0.tar.gz 1890511 BLAKE2B 93fed81409a5d2fc31fd0963e00262ffbf7ce177954501e01d988666bf55bd4e0243488139f34eb4322055a5512565c6770749f793a8b7a8c7eb6e3045c5c2e7 SHA512 813f21f57913c15ca52b3a40bb0493d156b714ea26c5dcf4d159ee7aedf05dd6259ff57c05aa278bc72a3bfb9a531835387fc8cfbaca7d8341e0f2fbe9535bf3
 DIST lean-3.34.0.tar.gz 1891710 BLAKE2B 53c25b93c2e720187bfa5980a6bf3c9790aebb757b732704f6f5ad250b333c192417a938bc1cd6274a45f5b5f49f8e275da1f5c5597ffd7bc2da7bbe8b0371f7 SHA512 bc3f81ffbfa3291675d3c09c28c3eacccc2d44d021fb7e9923c7116091046b57f388589074e984f257842757c77972ef3b354d8690cccbebf6d3e2aae1f811a5
+DIST lean-3.35.0.tar.gz 1872221 BLAKE2B 8cdcaa65eb49ad6ed8b6961912d162a5832d45d5f8855ea62334010a1af647cd2aa4906d83317ee16c95cdb44522c1f7cb8f62ece6abda12354e18534e560e6e SHA512 b48a8134bdc39dc098a49303549ed4b96a2ca9e69043b9dca12c4789f60462b94374a184aee6fa33abd5a8f1acce9553b8144e935e539833c853e2384c41c2e7

diff --git a/dev-lang/lean/lean-3.35.0.ebuild b/dev-lang/lean/lean-3.35.0.ebuild
new file mode 100644
index 000000000..3ab4b15f4
--- /dev/null
+++ b/dev-lang/lean/lean-3.35.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_IN_SOURCE_BUILD="ON"
+
+inherit cmake optfeature
+
+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
+S="${WORKDIR}/lean-${PV}/src"
+
+LICENSE="Apache-2.0"
+SLOT="0/${MAJOR}"
+IUSE="debug +json +threads"
+
+RDEPEND="dev-libs/gmp"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/fix_flags.patch" )
+
+src_configure() {
+	local CMAKE_BUILD_TYPE
+	if use debug; then
+		CMAKE_BUILD_TYPE="Debug"
+	else
+		CMAKE_BUILD_TYPE="Release"
+	fi
+
+	local mycmakeargs=(
+		-DALPHA=ON
+		-DAUTO_THREAD_FINALIZATION=ON
+		-DJSON=$(usex json)
+		-DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
+		-DMULTI_THREAD=$(usex threads)
+		-DUSE_GITHASH=OFF
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	local myctestargs=(
+		# Disable problematic "style_check" cpplint test,
+		# this also removes python test dependency
+		--exclude-regex style_check
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	elog "You probably want to use lean with mathlib, to install it you can either:"
+	elog " - Do not install mathlib globally and use local versions"
+	elog " - Use leanproject from sci-mathematics/mathlib-tools"
+	elog "   $ leanproject global-install"
+	elog " - Use leanpkg and compile mathlib (which will take long time)"
+	elog "   $ leanpkg install https://github.com/leanprover-community/mathlib"
+
+	optfeature "project management with leanproject" sci-mathematics/mathlib-tools
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-05  9:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-21 22:24 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/lean/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2021-11-05  8:30 Maciej Barć
2021-10-21 14:14 Maciej Barć
2021-10-21 14:12 Alessandro Barbieri
2021-10-20 22:06 Maciej Barć
2021-10-20 21:35 Maciej Barć
2021-10-19 21:43 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox