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 F186315800F for ; Thu, 16 Feb 2023 03:58:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46ABDE08FA; Thu, 16 Feb 2023 03:58:15 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BB1AE08FA for ; Thu, 16 Feb 2023 03:58:15 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D338340DB9 for ; Thu, 16 Feb 2023 03:58:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 569428B5 for ; Thu, 16 Feb 2023 03:58:10 +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: <1676519736.d8e6478a1a1c00f9d19f28a4a0f0bbfe535e0eea.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/fangfrisch/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-antivirus/fangfrisch/fangfrisch-1.5.0-r1.ebuild X-VCS-Directories: app-antivirus/fangfrisch/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d8e6478a1a1c00f9d19f28a4a0f0bbfe535e0eea X-VCS-Branch: master Date: Thu, 16 Feb 2023 03:58:10 +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: 62d3a6f4-078b-4d86-9e7c-088d99ce79a4 X-Archives-Hash: c4168d188fa5b0231fe347ca06518e8b commit: d8e6478a1a1c00f9d19f28a4a0f0bbfe535e0eea Author: Sam James gentoo org> AuthorDate: Thu Feb 16 03:51:49 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 16 03:55:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e6478a app-antivirus/fangfrisch: enable py3.11 Signed-off-by: Sam James gentoo.org> app-antivirus/fangfrisch/fangfrisch-1.5.0-r1.ebuild | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-antivirus/fangfrisch/fangfrisch-1.5.0-r1.ebuild b/app-antivirus/fangfrisch/fangfrisch-1.5.0-r1.ebuild index 6699e401c1fd..53c0fb8c80fa 100644 --- a/app-antivirus/fangfrisch/fangfrisch-1.5.0-r1.ebuild +++ b/app-antivirus/fangfrisch/fangfrisch-1.5.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{9,10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 readme.gentoo-r1 systemd @@ -38,20 +38,19 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="amd64 x86" +# Due to the nature of Fangfrisch, most tests require network +# connectivity and/or access keys to download signature files. +PROPERTIES="test_network" +RESTRICT="test" + DEPEND=">=dev-python/requests-2.22.0[${PYTHON_USEDEP}] >=dev-python/sqlalchemy-1.3.11[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" +distutils_enable_tests unittest + python_prepare_all() { sed -i -e '/SQLAlchemy/d' setup.py || die - # Due to the nature of Fangfrisch, most tests require network - # connectivity and/or access keys to download signature files. - # Also, my own CI reports show that the tests are successful, - # so instead of a pick-and-choose approach, the complete tests - # directory is removed in this ebuild. --RS - if [ -d tests ]; then - rm -r tests || die - fi distutils-r1_python_prepare_all }