commit: a24fca6b2bfcf37b1ddea24e4ef1ebda891e4467
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun Apr 28 15:05:15 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 2 00:40:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24fca6b
dev-libs/capstone: add missing RESTRICT
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/capstone/capstone-5.0.1.ebuild | 2 ++
dev-libs/capstone/capstone-9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/dev-libs/capstone/capstone-5.0.1.ebuild
b/dev-libs/capstone/capstone-5.0.1.ebuild
index 90c71e96f860..3fc30763814c 100644
--- a/dev-libs/capstone/capstone-5.0.1.ebuild
+++ b/dev-libs/capstone/capstone-5.0.1.ebuild
@@ -35,6 +35,8 @@ DEPEND="${RDEPEND}
BDEPEND="${DISTUTILS_DEPS}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
if [[ ${PV} == *_rc* ]]; then
# Upstream doesn't flag release candidates (bug 858350)
QA_PKGCONFIG_VERSION=""
diff --git a/dev-libs/capstone/capstone-9999.ebuild
b/dev-libs/capstone/capstone-9999.ebuild
index 76028da788a3..ae151ecdb8fb 100644
--- a/dev-libs/capstone/capstone-9999.ebuild
+++ b/dev-libs/capstone/capstone-9999.ebuild
@@ -35,6 +35,8 @@ DEPEND="${RDEPEND}
BDEPEND="${DISTUTILS_DEPS}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
PATCHES=(
# Currently "-Werror" is only added in the `next`-development branch,
but
# not merged into 5.* releases. Eventually this patch may be needed in
the