commit: dddb262926400dfd587eebb6d58e776fc11b21c7
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 09:57:46 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 17:48:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dddb2629
sci-chemistry/molequeue: fix VariableShadowed
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-chemistry/molequeue/molequeue-0.9.0-r1.ebuild | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/sci-chemistry/molequeue/molequeue-0.9.0-r1.ebuild
b/sci-chemistry/molequeue/molequeue-0.9.0-r1.ebuild
index f5c9d5179d89..faff5eda6a59 100644
--- a/sci-chemistry/molequeue/molequeue-0.9.0-r1.ebuild
+++ b/sci-chemistry/molequeue/molequeue-0.9.0-r1.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{9..11} )
+
+PYTHON_COMPAT=( python3_{10..11} )
inherit cmake python-r1 virtualx
@@ -15,13 +16,13 @@ LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="+client doc server test +zeromq"
-RESTRICT="!test? ( test )"
-
REQUIRED_USE="
server? ( client )
test? ( server )
zeromq? ( ${PYTHON_REQUIRED_USE} )
"
+# Some tests still fail
+RESTRICT="test !test? ( test )"
BDEPEND="
doc? ( app-doc/doxygen )
@@ -38,9 +39,6 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-# Some tests still fail
-RESTRICT="test"
-
src_configure() {
configuration() {
local mycmakeargs=(
@@ -51,7 +49,7 @@ src_configure() {
-DENABLE_TESTING=$(usex test)
-DUSE_ZERO_MQ=$(usex zeromq)
-DINSTALL_LIBRARY_DIR=$(get_libdir)
- )
+ )
use zeromq && \
mycmakeargs+=( "-DZeroMQ_ROOT_DIR=\"${EPREFIX}/usr\"" )