commit: f9078fe2b4e25ea54f0323d10105912aaa78e60c
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Dec 11 06:00:34 2025 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Dec 11 06:00:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9078fe2
sci-electronics/verilator: drop 5.026 5.028, add 5.042
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/verilator/Manifest | 3 +-
.../verilator/verilator-5.028-r1.ebuild | 75 ----------------------
...ator-5.026-r1.ebuild => verilator-5.042.ebuild} | 2 +-
3 files changed, 2 insertions(+), 78 deletions(-)
diff --git a/sci-electronics/verilator/Manifest
b/sci-electronics/verilator/Manifest
index 720079762c..33f7bf6321 100644
--- a/sci-electronics/verilator/Manifest
+++ b/sci-electronics/verilator/Manifest
@@ -1,2 +1 @@
-DIST verilator-5.026.tar.gz 3931397 BLAKE2B
0c9bb9582dd170e4d4170eaf9353672a3b5f35ebeccf0669cbae6ab0b5060ed4aab07a1ebba616264354f5fddd85d9013440e4ff83b658602f6ec086c0e2a920
SHA512
95660da60c6f5fac9ce3c7298edfc5ee71beeb2aafe2908b31c83802a22bc4529389d687c3a51eb9370cc6bd1ae9e74e11cdab0de69fa278b1da0d664a393a68
-DIST verilator-5.028.tar.gz 32547892 BLAKE2B
fed3fc8bb4e60a271e63ee137abdd3b0939cc6d775e1d85e75a3daf5915ccdef40fae120907e8bda5bbfc38561cc44d0929c5a4b433d08beedce0cdef7709205
SHA512
d3d8d107029afbbcdd9f7a06e7fb17de7c74b4334f6eb5316719550ceec64264d6c95fad9e03214a4ae39ce2e8f2c4bb650c755acf35f4cd656fb1b71300070b
+DIST verilator-5.042.tar.gz 4670033 BLAKE2B
799074c4727b466f04e03c84e634acbf8046afc82083553df6ff9d8eb425b2d01b0ee1368c3d03d54eb835c2eb70d6b609c1e6b448d47369088d9dc2c41c84d5
SHA512
c9de0166211a6a4952d1dd9dbf3e32678e7ac7fd7373722edf106074e587873faacab4ecbaff56a72c38efb30388d723183f30ed4b586ab678b30d585f8736ae
diff --git a/sci-electronics/verilator/verilator-5.028-r1.ebuild
b/sci-electronics/verilator/verilator-5.028-r1.ebuild
deleted file mode 100644
index ec54ecf856..0000000000
--- a/sci-electronics/verilator/verilator-5.028-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PYTHON_COMPAT=( python3_{11..13} )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="The fast free Verilog/SystemVerilog simulator"
-HOMEPAGE="
- https://verilator.org
- https://github.com/verilator/verilator
-"
-
-if [[ "${PV}" == "9999" ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="|| ( Artistic-2 LGPL-3 )"
-SLOT="0"
-IUSE="debug test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="
- ${PYTHON_DEPS}
- dev-lang/perl
- virtual/zlib:=
-"
-
-DEPEND="
- ${RDEPEND}
-"
-
-BDEPEND="
- sys-devel/bison
- sys-devel/flex
- test? (
- dev-build/cmake
- dev-debug/gdb
- )
-"
-
-src_prepare() {
- default
- if [[ ! "${PV}" == "9999" ]] ; then
- # https://github.com/verilator/verilator/issues/3352
- sed -i "s/UNKNOWN_REV/(Gentoo ${PVR})/g" "${S}"/src/config_rev
|| die
- fi
- # https://bugs.gentoo.org/785151
- sed -i "s/python3/${EPYTHON}/g" "${S}"/configure.ac || die
- find . -name "Makefile" -exec sed -i "s/python3/${EPYTHON}/g" {} + ||
die
- find test_regress -type f -exec sed -i "s/python3/${EPYTHON}/g" {} + ||
die
- python_fix_shebang .
- # https://bugs.gentoo.org/887917
- if ! use debug; then
- sed -i '/AC_SUBST(CFG_CXXFLAGS_DEBUG)/i CFG_CXXFLAGS_DEBUG=""'
"${S}"/configure.ac || die
- sed -i '/AC_SUBST(CFG_LDFLAGS_DEBUG)/i CFG_LDFLAGS_DEBUG=""'
"${S}"/configure.ac || die
- fi
- eautoconf --force
-}
-
-src_configure() {
- # https://bugs.gentoo.org/887919
- econf CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_test() {
- emake test
-}
diff --git a/sci-electronics/verilator/verilator-5.026-r1.ebuild
b/sci-electronics/verilator/verilator-5.042.ebuild
similarity index 98%
rename from sci-electronics/verilator/verilator-5.026-r1.ebuild
rename to sci-electronics/verilator/verilator-5.042.ebuild
index ec54ecf856..bca851bc6d 100644
--- a/sci-electronics/verilator/verilator-5.026-r1.ebuild
+++ b/sci-electronics/verilator/verilator-5.042.ebuild
@@ -3,7 +3,7 @@
EAPI="8"
-PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_COMPAT=( python3_{11..14} )
inherit autotools python-single-r1