mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
sci-electronics/slang: disable py3.9, fix ebuild format
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user