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 6FADD13835E for ; Thu, 4 Mar 2021 04:19:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C1A4E08E0; Thu, 4 Mar 2021 04:19:56 +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 14886E08E0 for ; Thu, 4 Mar 2021 04:19:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E0A05340FA3 for ; Thu, 4 Mar 2021 04:19:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B07A597 for ; Thu, 4 Mar 2021 04:19:52 +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: <1614829849.fc0e1b6523126ff3f181e5fedeae94f8a2348403.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild X-VCS-Directories: dev-python/oauth2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fc0e1b6523126ff3f181e5fedeae94f8a2348403 X-VCS-Branch: master Date: Thu, 4 Mar 2021 04:19:52 +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: 201a3aa1-587c-4aad-a644-628568deb4c7 X-Archives-Hash: 32723e6748955e6344aa2e1ff0e5aa07 commit: fc0e1b6523126ff3f181e5fedeae94f8a2348403 Author: Sam James gentoo org> AuthorDate: Thu Mar 4 03:50:49 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 4 03:50:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0e1b65 dev-python/oauth2: add Python 3.9 Signed-off-by: Sam James gentoo.org> dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild index 37eb7d63680..4153a69ecea 100644 --- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild +++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.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=6 +EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit distutils-r1 @@ -12,24 +12,24 @@ MY_P="${P/_p/.post}" DESCRIPTION="Library for OAuth version 1.0" HOMEPAGE="https://pypi.org/project/oauth2/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]" DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] )" # https://github.com/joestump/python-oauth2/pull/212 -PATCHES=( "${FILESDIR}/${PV}-exclude-tests.patch" ) -S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}/${PV}-exclude-tests.patch" +) + +distutils_enable_tests pytest python_test() { # Skip tests which require network access