aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2024-04-22 10:30:47 +0800
committerHuang Rui <vowstar@gmail.com>2024-04-22 10:32:17 +0800
commit8399ad2b82085397c59b75edfb000b2d54ad2ebd (patch)
tree22c68dc84436ddab290dc74f2ad914560ca3f099 /sci-electronics/slang
parentsci-electronics/slang: add 6.0 (diff)
downloadguru-8399ad2b82085397c59b75edfb000b2d54ad2ebd.tar.gz
guru-8399ad2b82085397c59b75edfb000b2d54ad2ebd.tar.bz2
guru-8399ad2b82085397c59b75edfb000b2d54ad2ebd.zip
sci-electronics/slang: disable py3.9, fix ebuild format
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'sci-electronics/slang')
-rw-r--r--sci-electronics/slang/slang-4.0.ebuild4
-rw-r--r--sci-electronics/slang/slang-5.0.ebuild2
-rw-r--r--sci-electronics/slang/slang-9999.ebuild15
3 files changed, 10 insertions, 11 deletions
diff --git a/sci-electronics/slang/slang-4.0.ebuild b/sci-electronics/slang/slang-4.0.ebuild
index 8cf3c6e98..6ce4a98d1 100644
--- a/sci-electronics/slang/slang-4.0.ebuild
+++ b/sci-electronics/slang/slang-4.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-single-r1
DESCRIPTION="SystemVerilog compiler and language services"
diff --git a/sci-electronics/slang/slang-5.0.ebuild b/sci-electronics/slang/slang-5.0.ebuild
index 671133d46..6bba9883c 100644
--- a/sci-electronics/slang/slang-5.0.ebuild
+++ b/sci-electronics/slang/slang-5.0.ebuild
@@ -3,7 +3,7 @@
EAPI="8"
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-single-r1
DESCRIPTION="SystemVerilog compiler and language services"
diff --git a/sci-electronics/slang/slang-9999.ebuild b/sci-electronics/slang/slang-9999.ebuild
index 1e128f55c..a040c292e 100644
--- a/sci-electronics/slang/slang-9999.ebuild
+++ b/sci-electronics/slang/slang-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-single-r1
DESCRIPTION="SystemVerilog compiler and language services"
@@ -29,16 +29,14 @@ RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}
- >=dev-cpp/catch-3.0.1
- >=dev-libs/libfmt-9.1.0
- >=dev-libs/mimalloc-2.1.2
$(python_gen_cond_dep '
>=dev-python/pybind11-2.10[${PYTHON_USEDEP}]
')
"
-
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-libs/libfmt-9.1.0
+ test? ( >=dev-cpp/catch-3.0.1 )
"
src_configure() {
@@ -48,6 +46,7 @@ src_configure() {
-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
}