sci-chemistry/molequeue: fix VariableShadowed

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2023-09-15 12:57:46 +03:00
parent 749f28c6c6
commit dddb262926

View File

@@ -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\"" )