diff --git a/sci-electronics/verilator/verilator-5.022.ebuild b/sci-electronics/verilator/verilator-5.022.ebuild index b5557f2f17..2217f4a193 100644 --- a/sci-electronics/verilator/verilator-5.022.ebuild +++ b/sci-electronics/verilator/verilator-5.022.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="8" +EAPI=8 PYTHON_COMPAT=( python3_{9..12} ) @@ -24,6 +24,7 @@ fi LICENSE="|| ( Artistic-2 LGPL-3 )" SLOT="0" IUSE="debug test" + RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -45,10 +46,6 @@ BDEPEND=" ) " -pkg_setup() { - python-single-r1_pkg_setup -} - src_prepare() { default if [[ ! "${PV}" == "9999" ]] ; then diff --git a/sci-electronics/verilator/verilator-9999.ebuild b/sci-electronics/verilator/verilator-9999.ebuild index b5557f2f17..2217f4a193 100644 --- a/sci-electronics/verilator/verilator-9999.ebuild +++ b/sci-electronics/verilator/verilator-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="8" +EAPI=8 PYTHON_COMPAT=( python3_{9..12} ) @@ -24,6 +24,7 @@ fi LICENSE="|| ( Artistic-2 LGPL-3 )" SLOT="0" IUSE="debug test" + RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -45,10 +46,6 @@ BDEPEND=" ) " -pkg_setup() { - python-single-r1_pkg_setup -} - src_prepare() { default if [[ ! "${PV}" == "9999" ]] ; then