mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
sci-electronics/slang: enable python3.12
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="SystemVerilog compiler and language services"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="SystemVerilog compiler and language services"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="SystemVerilog compiler and language services"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="SystemVerilog compiler and language services"
|
||||
@@ -31,7 +31,6 @@ RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-cpp/catch-3.0.1
|
||||
>=dev-libs/libfmt-9.1.0
|
||||
>=dev-libs/unordered_dense-2.0.0 <dev-libs/unordered_dense-3.0.0
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pybind11-2.10[${PYTHON_USEDEP}]
|
||||
')
|
||||
@@ -43,14 +42,11 @@ DEPEND="
|
||||
|
||||
src_configure() {
|
||||
python_setup
|
||||
# SLANG_SHARED_LIB_NAME=svlang because of name collision
|
||||
# https://github.com/MikePopoloski/slang/issues/646
|
||||
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_SHARED_LIB_NAME="svlang"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user