summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2024-04-28 17:03:03 +0200
committerSam James <sam@gentoo.org>2024-06-02 01:40:47 +0100
commit2d3ee0a6cad33d1566243661b1602e287a7e618c (patch)
tree93ce1d5b9568165705f70a4fb4c666909c69dad3 /dev-libs
parentmedia-gfx/hydrus: Add 571, Fix 565 (diff)
downloadgentoo-2d3ee0a6cad33d1566243661b1602e287a7e618c.tar.gz
gentoo-2d3ee0a6cad33d1566243661b1602e287a7e618c.tar.bz2
gentoo-2d3ee0a6cad33d1566243661b1602e287a7e618c.zip
dev-libs/capstone: remove 'distutils_enable_tests setup.py'
Closes: https://bugs.gentoo.org/927518 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/capstone/capstone-5.0.1.ebuild6
-rw-r--r--dev-libs/capstone/capstone-9999.ebuild8
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-libs/capstone/capstone-5.0.1.ebuild b/dev-libs/capstone/capstone-5.0.1.ebuild
index 2e024af16add..90c71e96f860 100644
--- a/dev-libs/capstone/capstone-5.0.1.ebuild
+++ b/dev-libs/capstone/capstone-5.0.1.ebuild
@@ -35,8 +35,6 @@ DEPEND="${RDEPEND}
BDEPEND="${DISTUTILS_DEPS}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-distutils_enable_tests setup.py
-
if [[ ${PV} == *_rc* ]]; then
# Upstream doesn't flag release candidates (bug 858350)
QA_PKGCONFIG_VERSION=""
@@ -90,3 +88,7 @@ src_install() {
find "${ED}" -name '*.a' -delete || die
fi
}
+
+python_test() {
+ emake check
+}
diff --git a/dev-libs/capstone/capstone-9999.ebuild b/dev-libs/capstone/capstone-9999.ebuild
index 6d46a0133be7..12ef627d0db9 100644
--- a/dev-libs/capstone/capstone-9999.ebuild
+++ b/dev-libs/capstone/capstone-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -42,8 +42,6 @@ PATCHES=(
"${FILESDIR}/${P}-werror.patch"
)
-distutils_enable_tests setup.py
-
if [[ ${PV} == *_rc* ]]; then
# Upstream doesn't flag release candidates (bug 858350)
QA_PKGCONFIG_VERSION=""
@@ -97,3 +95,7 @@ src_install() {
find "${ED}" -name '*.a' -delete || die
fi
}
+
+python_test() {
+ emake check
+}