From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CF4F1581D3 for ; Sun, 2 Jun 2024 00:41:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 109C9E2A9C; Sun, 2 Jun 2024 00:41:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4078E2A9C for ; Sun, 2 Jun 2024 00:41:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7295343010 for ; Sun, 2 Jun 2024 00:41:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2500F1BFF for ; Sun, 2 Jun 2024 00:41:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1717288847.2d3ee0a6cad33d1566243661b1602e287a7e618c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/capstone/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/capstone/capstone-5.0.1.ebuild dev-libs/capstone/capstone-9999.ebuild X-VCS-Directories: dev-libs/capstone/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2d3ee0a6cad33d1566243661b1602e287a7e618c X-VCS-Branch: master Date: Sun, 2 Jun 2024 00:41:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c4f4260d-a9b4-4cf1-8794-f3b8054d8385 X-Archives-Hash: 05da78e8c38a071b393ac1d7b021d788 commit: 2d3ee0a6cad33d1566243661b1602e287a7e618c Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Sun Apr 28 15:03:03 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 2 00:40:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3ee0a6 dev-libs/capstone: remove 'distutils_enable_tests setup.py' Closes: https://bugs.gentoo.org/927518 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Signed-off-by: Sam James gentoo.org> dev-libs/capstone/capstone-5.0.1.ebuild | 6 ++++-- dev-libs/capstone/capstone-9999.ebuild | 8 +++++--- 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 +}