From fc0e1b6523126ff3f181e5fedeae94f8a2348403 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 4 Mar 2021 03:50:49 +0000 Subject: dev-python/oauth2: add Python 3.9 Signed-off-by: Sam James --- dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'dev-python/oauth2') 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 37eb7d636802..4153a69ecea5 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 -- cgit v1.2.3-65-gdbad