public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
Date: Thu,  4 Mar 2021 04:19:52 +0000 (UTC)	[thread overview]
Message-ID: <1614829849.fc0e1b6523126ff3f181e5fedeae94f8a2348403.sam@gentoo> (raw)

commit:     fc0e1b6523126ff3f181e5fedeae94f8a2348403
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  4 03:50:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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


             reply	other threads:[~2021-03-04  4:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04  4:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-22 12:42 [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/ Louis Sautier
2021-03-04  4:19 Sam James
2020-04-21  8:08 Michał Górny
2020-03-25 11:46 Michał Górny
2020-02-05 16:53 Michał Górny
2018-01-05 13:26 Michał Górny
2017-08-05  9:23 Michael Palimaka
2017-07-15 17:25 Tobias Klausmann
2017-05-17 17:34 Manuel Rüger
2017-01-18 10:27 David Seifert
2016-11-25 18:54 Agostino Sarubbo
2016-11-25 18:27 Agostino Sarubbo
2015-09-11  7:53 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614829849.fc0e1b6523126ff3f181e5fedeae94f8a2348403.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox