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: Sun, 27 Mar 2022 01:52:24
Message-Id: 1648345585.7640503c4f08775eef6ccf16d7a5ccb93ac5d25d.xgqt@gentoo
1 commit: 7640503c4f08775eef6ccf16d7a5ccb93ac5d25d
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 00:57:39 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 01:46:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7640503c
7
8 sci-mathematics/lean: drop old 3.40.0
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 sci-mathematics/lean/Manifest | 1 -
13 sci-mathematics/lean/lean-3.40.0.ebuild | 75 ---------------------------------
14 2 files changed, 76 deletions(-)
15
16 diff --git a/sci-mathematics/lean/Manifest b/sci-mathematics/lean/Manifest
17 index 910ec2d2d32c..41cd0f0901a9 100644
18 --- a/sci-mathematics/lean/Manifest
19 +++ b/sci-mathematics/lean/Manifest
20 @@ -1,5 +1,4 @@
21 DIST lean-3.39.1.tar.gz 1878481 BLAKE2B b3d1760594751418d6ebb7754d733e8fdebc5e0eba25e8d4993280325ec9d40e9083af155d388d52b5edfff2e9dffbeff91caa68ccb76500dcd88ebac2af4444 SHA512 5839eb7b5f7cd2d93ab603f1a5121e0a6b55850686677f103c16ec2157dc19479f1909ea056b54e41331c28fd59a4a825741384fa431473924381b72640a04dd
22 -DIST lean-3.40.0.tar.gz 1878547 BLAKE2B 762c12b9fee9ac405730fb4a748326e7c9603c50f44512166f94df51e8cde0096803f11d0201980e1a1c0121a2b278075bf238452254d83e2d8b7b5566355416 SHA512 4daa32b60195a9776019c3c13c3765a1f5a817d78f189c3f92859298118815af4cb47359816ebbb977f35453be358956f3680b06b5930d5cf3a4245599602873
23 DIST lean-3.41.0.tar.gz 1905966 BLAKE2B 1921ba4a975ed8fc6001695151bb366341e0895989a570bb7fbef1e719685945d0b7c51ed0716ff29daaf81af24ce2e289cab41b251c686a286cd94a0cf708f8 SHA512 855a56812ba5dc7cf431490957570d0fcbc4760faa1602095e708ddcc4e5a3c6aeac42133c210375d4538d97c8ae90df3ab3c7e7840e8896b8d0db439e925fbf
24 DIST lean-3.42.0.tar.gz 1908134 BLAKE2B 7b6403786cc1a3a2b974f8df4c2bf2921e4e374ead4290a0e263c8464a9c009fd2f62e7cf5bdbc5087d0c9bb4c57f798b9d1a4b8ee2d66152714ec2af649e196 SHA512 2f1fc1bf3aff7fa806e1cd4647380d6896d98a9191f2035d5a37cc35938de42b243188984aa2fced37bdbee3b2c3c6ef25d27bf2428bf9a0307cc3237c80560f
25 DIST lean-3.42.1.tar.gz 1908398 BLAKE2B 7a83269deb3dc7ee60bf7a09b36df332355d9caf575b8435345956697121e95e1fb44cada1237e44bab04a56af4fb40c0d01e49f4cb3e4896e616f2bc58bf9ef SHA512 ab266e385e3026ce3219eef6ef171e243576e291fb26cef3d97ca4cc5190988e3bd6fe93c37a1192b8d2eec0ae7620131826ee1073a038f5a024e706953242d1
26
27 diff --git a/sci-mathematics/lean/lean-3.40.0.ebuild b/sci-mathematics/lean/lean-3.40.0.ebuild
28 deleted file mode 100644
29 index 5d8ee8eecd4b..000000000000
30 --- a/sci-mathematics/lean/lean-3.40.0.ebuild
31 +++ /dev/null
32 @@ -1,75 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -MAJOR=$(ver_cut 1)
39 -CMAKE_IN_SOURCE_BUILD="ON"
40 -
41 -inherit cmake readme.gentoo-r1
42 -
43 -DESCRIPTION="The Lean Theorem Prover"
44 -HOMEPAGE="https://leanprover-community.github.io/"
45 -
46 -if [[ "${PV}" == *9999* ]]; then
47 - inherit git-r3
48 - EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
49 -else
50 - SRC_URI="https://github.com/leanprover-community/lean/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
51 - KEYWORDS="~amd64 ~x86"
52 -fi
53 -S="${WORKDIR}/lean-${PV}/src"
54 -
55 -LICENSE="Apache-2.0"
56 -SLOT="0/${MAJOR}"
57 -IUSE="debug +threads"
58 -
59 -RDEPEND="dev-libs/gmp:="
60 -DEPEND="${RDEPEND}"
61 -
62 -PATCHES=( "${FILESDIR}/${PN}-CMakeLists-fix_flags.patch" )
63 -
64 -src_configure() {
65 - local CMAKE_BUILD_TYPE
66 - if use debug; then
67 - CMAKE_BUILD_TYPE="Debug"
68 - else
69 - CMAKE_BUILD_TYPE="Release"
70 - fi
71 -
72 - local mycmakeargs=(
73 - -DALPHA=ON
74 - -DAUTO_THREAD_FINALIZATION=ON
75 - -DJSON=ON # bug 833900
76 - -DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
77 - -DMULTI_THREAD=$(usex threads)
78 - -DUSE_GITHASH=OFF
79 - )
80 - cmake_src_configure
81 -}
82 -
83 -src_test() {
84 - local myctestargs=(
85 - # Disable problematic "style_check" cpplint test,
86 - # this also removes the python test dependency
87 - --exclude-regex style_check
88 - )
89 - cmake_src_test
90 -}
91 -
92 -src_install() {
93 - cmake_src_install
94 -
95 - local DISABLE_AUTOFORMATTING="yes"
96 - local DOC_CONTENTS="You probably want to use lean with mathlib, you can either:
97 - - Do not install mathlib globally and use local versions
98 - - Use leanproject from sci-mathematics/mathlib-tools
99 - $ leanproject global-install
100 - - Use leanpkg and compile mathlib (which will take some time)
101 - $ leanpkg install https://github.com/leanprover-community/mathlib"
102 - readme.gentoo_create_doc
103 -}
104 -
105 -pkg_postinst() {
106 - readme.gentoo_print_elog
107 -}