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