commit:     a6f948a525d3a3dcb7acf464ee933d19e342f838
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  6 16:00:15 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jun  6 21:18:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f948a5

sci-mathematics/lean: drop old 4.11.0

Closes: https://bugs.gentoo.org/946977
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sci-mathematics/lean/Manifest           |  1 -
 sci-mathematics/lean/lean-4.11.0.ebuild | 81 ---------------------------------
 2 files changed, 82 deletions(-)

diff --git a/sci-mathematics/lean/Manifest b/sci-mathematics/lean/Manifest
index feb08a28faf2..6bf7942c9b6f 100644
--- a/sci-mathematics/lean/Manifest
+++ b/sci-mathematics/lean/Manifest
@@ -1,2 +1 @@
-DIST lean-4.11.0.tar.gz 25790812 BLAKE2B 
d9a4eb15199f81c6757acf35fb17c795bb9d69158c7e7deb11d98a45bebf569dcda5f7733b2effd2be0eea879a6c7c24b270d97159e5898215e82e853320918c
 SHA512 
2314659910b4d872c4ae0dda648a9cab9e1cc44cd4c55486a494b65b20fdae236ab9db99a42d7fb1a80030e300e95606065ee7dd27578b12a4c47fc8c102e2bb
 DIST lean-4.14.0.tar.gz 28508743 BLAKE2B 
692972402726a77ca9255edbecfc2bd30033d5c7137b00e85821d5bb74f7ed77398b19e7e3098eeecf6812ad9ca568a4076b11a91456b84f4ad78be8f6441286
 SHA512 
871169b3d7951934990a86a2b5d1741b00f4559c53c69ecdf0ca1c091426f1d7a6baa5ce69029dbecfc4a9dc9da9ee36b327cbef0ab28e80a9f64d34a2666c78

diff --git a/sci-mathematics/lean/lean-4.11.0.ebuild 
b/sci-mathematics/lean/lean-4.11.0.ebuild
deleted file mode 100644
index c5400dbabb88..000000000000
--- a/sci-mathematics/lean/lean-4.11.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR="$(ver_cut 1)"
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake flag-o-matic python-any-r1
-
-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/${PN}${MAJOR}.git";
-else
-       
SRC_URI="https://github.com/leanprover/${PN}${MAJOR}/archive/refs/tags/v${PV/_/-}.tar.gz
-               -> ${P}.tar.gz"
-       S="${WORKDIR}/${PN}${MAJOR}-${PV/_/-}"
-
-       KEYWORDS="amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0/${MAJOR}"
-IUSE="debug source"
-
-RDEPEND="
-       dev-libs/gmp:=
-"
-DEPEND="
-       ${RDEPEND}
-"
-BDEPEND="
-       ${PYTHON_DEPS}
-"
-
-# Built by lean's build tool.
-QA_FLAGS_IGNORED="usr/lib/lean/libInit_shared.so"
-
-pkg_setup() {
-       python-any-r1_pkg_setup
-}
-
-src_prepare() {
-       filter-lto
-
-       sed -e "s|-O[23]|${CFLAGS}|g" -i src/CMakeLists.txt || die
-
-       cmake_src_prepare
-}
-
-src_configure() {
-       local CMAKE_BUILD_TYPE
-
-       if use debug ; then
-               CMAKE_BUILD_TYPE="Debug"
-       else
-               CMAKE_BUILD_TYPE="Release"
-       fi
-
-       local -a mycmakeargs=(
-               -DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
-               -DLEAN_EXTRA_LINKER_FLAGS="${LDFLAGS}"
-       )
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       rm "${ED}/usr/LICENSE"* || die
-
-       if ! use source ; then
-               rm -r "${ED}/usr/src" || die
-       fi
-}

Reply via email to