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 4E7E51382C5 for ; Sun, 23 May 2021 13:41:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7509E0885; Sun, 23 May 2021 13:41:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 93404E088B for ; Sun, 23 May 2021 13:41: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 48D9F340DFC for ; Sun, 23 May 2021 13:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9249B79E for ; Sun, 23 May 2021 13:41:15 +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: <1621777271.6aa6e498105c16f10e70f128b7f154daae120ca3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycountry/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycountry/pycountry-20.7.3.ebuild X-VCS-Directories: dev-python/pycountry/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6aa6e498105c16f10e70f128b7f154daae120ca3 X-VCS-Branch: master Date: Sun, 23 May 2021 13:41:15 +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: ae2c136c-ac5a-417f-b951-bee9cc9bb39d X-Archives-Hash: 374e56c9b3f5f108bfd9b6457427ebf5 commit: 6aa6e498105c16f10e70f128b7f154daae120ca3 Author: Michał Górny gentoo org> AuthorDate: Sun May 23 13:38:13 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 23 13:41:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa6e498 dev-python/pycountry: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/pycountry/pycountry-20.7.3.ebuild | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/dev-python/pycountry/pycountry-20.7.3.ebuild b/dev-python/pycountry/pycountry-20.7.3.ebuild index 24c4be17dd8..124a682416f 100644 --- a/dev-python/pycountry/pycountry-20.7.3.ebuild +++ b/dev-python/pycountry/pycountry-20.7.3.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=( pypy3 python3_{7,8,9} ) +PYTHON_COMPAT=( pypy3 python3_{7..10} ) # The package uses pkg_resources to determine its version DISTUTILS_USE_SETUPTOOLS=manual @@ -16,20 +16,11 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 arm64 ~ia64 ppc ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" +BDEPEND="${RDEPEND}" + +distutils_enable_tests --install pytest # https://github.com/flyingcircusio/pycountry/pull/51 PATCHES=( "${FILESDIR}/${P}-fix-tests-for-pypy3.patch" ) - -python_test() { - # The package uses pkg_resources to determine its version - distutils_install_for_testing - pytest -vv || die "Tests fail with ${EPYTHON}" -}