commit: e46bfa7050ef7ed7ecee5af958dd722b05d0ae2c
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sat Feb 15 17:12:44 2025 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sat Feb 15 17:12:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e46bfa70
sci-electronics/slang: drop 7.0
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/slang/Manifest | 1 -
sci-electronics/slang/slang-7.0.ebuild | 71 ----------------------------------
2 files changed, 72 deletions(-)
diff --git a/sci-electronics/slang/Manifest b/sci-electronics/slang/Manifest
index 557946215..b0463a31c 100644
--- a/sci-electronics/slang/Manifest
+++ b/sci-electronics/slang/Manifest
@@ -1,2 +1 @@
-DIST slang-7.0.tar.gz 1461841 BLAKE2B
d4ba3abb891f3ebbc73f6d69ae78d180cef8dc8d4041f192be162d73664ba4dbe19d7deb65a0d4498c3e3df8b7412904724dab6c518c73f3541e90a8a9925da2
SHA512
657c2a12beac5fe190be77953836320903c4492004b6877e0e5ef1be42516184048e1caed30aa8d4f89a9a20651389d1baab76ccb82e9c7d9a6fdf4e29815239
DIST slang-8.0.tar.gz 1523813 BLAKE2B
7bec58bc5d9b58274c95805ec80ff727486d7b1c2a248759253b180f287b83d39d301b9311deec403bb63e826aaf50504c668956581d509b5844bbc21217ad98
SHA512
a8b4fa9eeebf0f2a3432111071eb016557f91bf0541a45554b29b30b77003d2bc6df4812577c9b2dfe7497254b6a57af05fb56733d5ca924c6c7772f27fd24f7
diff --git a/sci-electronics/slang/slang-7.0.ebuild
b/sci-electronics/slang/slang-7.0.ebuild
deleted file mode 100644
index 19bb11845..000000000
--- a/sci-electronics/slang/slang-7.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake python-single-r1
-
-DESCRIPTION="SystemVerilog compiler and language services"
-HOMEPAGE="
- https://sv-lang.com
- https://github.com/MikePopoloski/slang
-"
-
-if [[ "${PV}" == "9999" ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/MikePopoloski/${PN}.git"
-else
- SRC_URI="https://github.com/MikePopoloski/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
- S="${WORKDIR}/${P}"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="python test"
-REQUIRED_USE=" ${PYTHON_REQUIRED_USE} "
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- >=dev-python/pybind11-2.10[${PYTHON_USEDEP}]
- ')
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- >=dev-libs/libfmt-9.1.0
- test? ( >=dev-cpp/catch-3.0.1 )
-"
-
-src_prepare() {
- default
- # In order to compile smoothly, the minimum version of fmt must be
lowered.
- sed -i \
- -e 's/set(fmt_min_version.*)/set(fmt_min_version "9.0")/' \
- "${S}/external/CMakeLists.txt" || die
- cmake_src_prepare
-}
-
-src_configure() {
- python_setup
- local mycmakeargs=(
- -D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
- -D BUILD_SHARED_LIBS=ON
- -D SLANG_INCLUDE_PYLIB=$(usex python)
- -D SLANG_INCLUDE_TESTS=$(usex test)
- -D SLANG_USE_MIMALLOC=OFF
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use python; then
- # fix python unexpected paths QA
- mkdir -p "${D}/$(python_get_sitedir)" || die
- mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die
- fi
-}