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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF5C0158087 for ; Fri, 28 Jan 2022 05:18:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 439802BC009; Fri, 28 Jan 2022 05:18:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 6EFFE2BC009 for ; Fri, 28 Jan 2022 05:18:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 20ADB3432C0 for ; Fri, 28 Jan 2022 05:18:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A4AD2AF for ; Fri, 28 Jan 2022 05:18:41 +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: <1643347000.f6ef74b63e177786e2af3f7a95fa87aba733a988.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/yara-python/yara-python-4.1.3.ebuild X-VCS-Directories: dev-python/yara-python/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f6ef74b63e177786e2af3f7a95fa87aba733a988 X-VCS-Branch: master Date: Fri, 28 Jan 2022 05:18:41 +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: 2da1e77e-1699-4adf-9564-85a8adc12f07 X-Archives-Hash: cc14cbecf9db41e53c44aee781d9f3cc commit: f6ef74b63e177786e2af3f7a95fa87aba733a988 Author: Sam James gentoo org> AuthorDate: Fri Jan 28 04:34:15 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 28 05:16:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6ef74b6 dev-python/yara-python: run tests, convert to PEP517 Closes: https://bugs.gentoo.org/576956 See: https://github.com/gentoo/gentoo/pull/23800 Signed-off-by: Sam James gentoo.org> dev-python/yara-python/yara-python-4.1.3.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/yara-python/yara-python-4.1.3.ebuild b/dev-python/yara-python/yara-python-4.1.3.ebuild index 54194680cc20..a8ccc85b7d96 100644 --- a/dev-python/yara-python/yara-python-4.1.3.ebuild +++ b/dev-python/yara-python/yara-python-4.1.3.ebuild @@ -3,8 +3,8 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) - inherit distutils-r1 DESCRIPTION="Python interface for a malware identification and classification tool" @@ -16,9 +16,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND="${PYTHON_DEPS} - =app-forensics/yara-4.1*" + =app-forensics/yara-$(ver_cut 1-2)*" DEPEND="${RDEPEND}" +distutils_enable_tests unittest + src_compile() { compile_python() { distutils-r1_python_compile --dynamic-linking