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 2CD41158041 for ; Mon, 25 Mar 2024 14:31:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E4F7E29FF; Mon, 25 Mar 2024 14:31:01 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D709E29FF for ; Mon, 25 Mar 2024 14:31:01 +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 6807E34307D for ; Mon, 25 Mar 2024 14:31:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C9E915DB for ; Mon, 25 Mar 2024 14:30:58 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1711377023.16adb631958f0786e084763f5a920a43e0f26f27.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/pwman3/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/pwman3/pwman3-0.12.2.ebuild X-VCS-Directories: app-admin/pwman3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 16adb631958f0786e084763f5a920a43e0f26f27 X-VCS-Branch: master Date: Mon, 25 Mar 2024 14:30:58 +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: ef755b87-7481-41b5-b669-6af7b88efaf9 X-Archives-Hash: 58c7ef83047e7d0cb54a8a81e27cdd36 commit: 16adb631958f0786e084763f5a920a43e0f26f27 Author: Oz Tiram gmail com> AuthorDate: Mon Mar 25 11:54:00 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Mar 25 14:30:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16adb631 app-admin/pwman3: remove 'distutils_enable_tests setup.py' Closes: https://bugs.gentoo.org/927511 Signed-off-by: Oz Tiram gmail.com> Signed-off-by: Michał Górny gentoo.org> app-admin/pwman3/pwman3-0.12.2.ebuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/app-admin/pwman3/pwman3-0.12.2.ebuild b/app-admin/pwman3/pwman3-0.12.2.ebuild index 5fb9d641fba2..9420b070c500 100644 --- a/app-admin/pwman3/pwman3-0.12.2.ebuild +++ b/app-admin/pwman3/pwman3-0.12.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="sqlite" DISTUTILS_USE_PEP517=setuptools @@ -16,15 +16,22 @@ SRC_URI="https://github.com/pwman3/pwman3/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" +IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/cryptography-2.3[${PYTHON_USEDEP}] >=dev-python/colorama-0.4.0[${PYTHON_USEDEP}] " -BDEPEND="test? ( dev-python/pexpect[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + ) +" -distutils_enable_tests setup.py +python_test() { + "${EPYTHON}" -m tests.test_pwman || die "Tests fail with ${EPYTHON}" +} pkg_postinst() { optfeature "Support for mongodb" dev-python/pymongo