sci-electronics/slang: enable py3.13

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2024-10-09 12:31:43 +08:00
parent ac4e8a308c
commit 9cd1a47eec

View File

@@ -3,7 +3,7 @@
EAPI="8"
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit cmake python-single-r1
DESCRIPTION="SystemVerilog compiler and language services"
@@ -39,6 +39,15 @@ BDEPEND="
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=(