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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A27CF1382C5 for ; Tue, 12 Jan 2021 23:34:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0FB0E0ABE; Tue, 12 Jan 2021 23:34:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7165AE0ABE for ; Tue, 12 Jan 2021 23:34:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8779B340E7C for ; Tue, 12 Jan 2021 23:34:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27F4F497 for ; Tue, 12 Jan 2021 23:34:16 +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: <1610494453.a1056a55e3a42a62cc33d4aea82cc184e315b590.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyspf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyspf/pyspf-2.0.14.ebuild X-VCS-Directories: dev-python/pyspf/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a1056a55e3a42a62cc33d4aea82cc184e315b590 X-VCS-Branch: master Date: Tue, 12 Jan 2021 23:34:16 +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: 051cbac9-9506-423e-a6d6-a4e657e35f8e X-Archives-Hash: b59e0b74d81adc67b4f4657134ce50db commit: a1056a55e3a42a62cc33d4aea82cc184e315b590 Author: Sam James gentoo org> AuthorDate: Tue Jan 12 23:33:37 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jan 12 23:34:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1056a55 dev-python/pyspf: add Python 3.9 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/pyspf/pyspf-2.0.14.ebuild | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/dev-python/pyspf/pyspf-2.0.14.ebuild b/dev-python/pyspf/pyspf-2.0.14.ebuild index 97a34c45d65..ca804235f39 100644 --- a/dev-python/pyspf/pyspf-2.0.14.ebuild +++ b/dev-python/pyspf/pyspf-2.0.14.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) PYTHON_REQ_USE="ipv6?" DISTUTILS_USE_SETUPTOOLS=no @@ -17,19 +17,26 @@ LICENSE="PSF-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="ipv6 test" +REQUIRED_USE="test? ( ipv6 )" RESTRICT="!test? ( test )" -RDEPEND="dev-python/authres[${PYTHON_USEDEP}] - || ( dev-python/pydns:3[${PYTHON_USEDEP}] - dev-python/dnspython[${PYTHON_USEDEP}] )" - -DEPEND="test? ( ${RDEPEND} - dev-python/pyyaml[${PYTHON_USEDEP}] )" - -REQUIRED_USE="test? ( ipv6 )" +RDEPEND=" + dev-python/authres[${PYTHON_USEDEP}] + || ( + dev-python/pydns:3[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + ) +" + +DEPEND=" + test? ( + ${RDEPEND} + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" python_test() { - pushd test &> /dev/null + pushd test &> /dev/null || die "${PYTHON}" testspf.py || die - popd &> /dev/null + popd &> /dev/null || die }