commit: 3a02c925202fb900822e4fb18f13a720e868ea65 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Thu Apr 4 10:06:53 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Thu Apr 4 10:07:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a02c925
sci-electronics/verilator: minor style fixes, no need for an explicit pkg_setup Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> sci-electronics/verilator/verilator-5.022.ebuild | 7 ++----- sci-electronics/verilator/verilator-9999.ebuild | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) 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