public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2015-09-11  7:53 Justin Lecher
  0 siblings, 0 replies; 14+ messages in thread
From: Justin Lecher @ 2015-09-11  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     43d48d0e17dcb283ec8dd6bd217338562cd3a4ba
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 07:03:46 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 07:53:16 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d48d0e

dev-python/oauth2: Drop unnecessary die

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/oauth2/oauth2-1.5.211-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/oauth2/oauth2-1.5.211-r1.ebuild b/dev-python/oauth2/oauth2-1.5.211-r1.ebuild
index df5026a..37766bc 100644
--- a/dev-python/oauth2/oauth2-1.5.211-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.5.211-r1.ebuild
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI=5
+
 PYTHON_COMPAT=( python2_7 pypy )
 
 inherit distutils-r1
@@ -17,7 +18,8 @@ KEYWORDS="amd64 x86 ~x64-macos"
 IUSE="test"
 
 RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
 	test? ( ${RDEPEND}
 		dev-python/coverage[${PYTHON_USEDEP}]
 		dev-python/mock[${PYTHON_USEDEP}]
@@ -26,5 +28,5 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
 PATCHES=( "${FILESDIR}/${PN}-exclude-tests.patch" )
 
 python_test() {
-	esetup.py test || die "Tests fail with ${EPYTHON}"
+	esetup.py test
 }


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2016-11-25 18:27 Agostino Sarubbo
  0 siblings, 0 replies; 14+ messages in thread
From: Agostino Sarubbo @ 2016-11-25 18:27 UTC (permalink / raw
  To: gentoo-commits

commit:     05e10f8c67b03f864dc6197cac352922e28d0dc5
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 18:26:44 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 18:26:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05e10f8c

dev-python/oauth2: amd64 stable wrt bug #484806

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-python/oauth2/oauth2-1.9.0_p1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/oauth2/oauth2-1.9.0_p1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
index 102022c..2920630 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x64-macos"
+KEYWORDS="amd64 ~x86 ~x64-macos"
 IUSE="test"
 
 RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2016-11-25 18:54 Agostino Sarubbo
  0 siblings, 0 replies; 14+ messages in thread
From: Agostino Sarubbo @ 2016-11-25 18:54 UTC (permalink / raw
  To: gentoo-commits

commit:     a3b1b189368a388184d8cbf4a1000158660a46b5
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 18:53:29 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 18:54:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b1b189

dev-python/oauth2: x86 stable wrt bug #484806

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-python/oauth2/oauth2-1.9.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/oauth2/oauth2-1.9.0_p1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
index 2920630..3616f32 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~x64-macos"
+KEYWORDS="amd64 x86 ~x64-macos"
 IUSE="test"
 
 RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2017-01-18 10:27 David Seifert
  0 siblings, 0 replies; 14+ messages in thread
From: David Seifert @ 2017-01-18 10:27 UTC (permalink / raw
  To: gentoo-commits

commit:     0d41d50c911131409bb7442a30425acfdaebd761
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Jan 18 09:58:22 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan 18 10:27:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d41d50c

dev-python/oauth2: add py3.5, fix tests

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3522

 dev-python/oauth2/metadata.xml              |  1 +
 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 40 +++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/oauth2/metadata.xml b/dev-python/oauth2/metadata.xml
index c35b96c..88a621e 100644
--- a/dev-python/oauth2/metadata.xml
+++ b/dev-python/oauth2/metadata.xml
@@ -7,5 +7,6 @@
 	</maintainer>
 	<upstream>
 		<remote-id type="pypi">oauth2</remote-id>
+		<remote-id type="github">joestump/python-oauth2</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
new file mode 100644
index 00000000..ba3b98f
--- /dev/null
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+
+inherit distutils-r1
+
+MY_P="${P/_p/.post}"
+
+DESCRIPTION="Library for OAuth version 1.0"
+HOMEPAGE="https://pypi.python.org/pypi/oauth2"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
+IUSE="test"
+
+RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? ( ${RDEPEND}
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/pytest-runner[${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}"
+
+python_test() {
+	# Skip tests which require network access
+	py.test -k "not (test_access_token_post or test_access_token_get \
+		or test_two_legged_post or test_two_legged_get)" || die \
+		"tests failed with ${EPYTHON}"
+}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2017-05-17 17:34 Manuel Rüger
  0 siblings, 0 replies; 14+ messages in thread
From: Manuel Rüger @ 2017-05-17 17:34 UTC (permalink / raw
  To: gentoo-commits

commit:     f409a844ccb51e0299f61ca82d1b36f259f30502
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 17:34:06 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed May 17 17:34:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f409a844

dev-python/oauth2: Add python3_6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ccd588567ee..0da571fc470 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2017-07-15 17:25 Tobias Klausmann
  0 siblings, 0 replies; 14+ messages in thread
From: Tobias Klausmann @ 2017-07-15 17:25 UTC (permalink / raw
  To: gentoo-commits

commit:     e624e3b10817e35f907ed8ba8bc0d814239453d8
Author:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 17:23:09 2017 +0000
Commit:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 17:23:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e624e3b1

dev-python/oauth2-1.9.0_p1-r1: add amd64 keyword

Gentoo-Bug: 625030

 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 0da571fc470..d10d92f06b3 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x64-macos"
+KEYWORDS="amd64 ~x86 ~x64-macos"
 IUSE="test"
 
 RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2017-08-05  9:23 Michael Palimaka
  0 siblings, 0 replies; 14+ messages in thread
From: Michael Palimaka @ 2017-08-05  9:23 UTC (permalink / raw
  To: gentoo-commits

commit:     02998eaf03ed80660ebd75df13dbf940dcab2c44
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  5 09:23:39 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Aug  5 09:23:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02998eaf

dev-python/oauth2: x86 stable

Gentoo-bug: 625030
Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 d10d92f06b3..d41d8af9ac4 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~x64-macos"
+KEYWORDS="amd64 x86 ~x64-macos"
 IUSE="test"
 
 RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2018-01-05 13:26 Michał Górny
  0 siblings, 0 replies; 14+ messages in thread
From: Michał Górny @ 2018-01-05 13:26 UTC (permalink / raw
  To: gentoo-commits

commit:     603e6ee5170370b5418d4a196ee13a3dacc937eb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  5 09:54:49 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  5 13:25:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603e6ee5

dev-python/oauth2: Clean old up

 dev-python/oauth2/oauth2-1.9.0_p1.ebuild | 34 --------------------------------
 1 file changed, 34 deletions(-)

diff --git a/dev-python/oauth2/oauth2-1.9.0_p1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
deleted file mode 100644
index f4dca70da95..00000000000
--- a/dev-python/oauth2/oauth2-1.9.0_p1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_4 pypy )
-
-inherit distutils-r1
-
-MY_P="${P/_p/.post}"
-
-DESCRIPTION="Library for OAuth version 1.0"
-HOMEPAGE="https://pypi.python.org/pypi/oauth2"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86 ~x64-macos"
-IUSE="test"
-
-RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
-DEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	test? ( ${RDEPEND}
-		dev-python/coverage[${PYTHON_USEDEP}]
-		dev-python/mock[${PYTHON_USEDEP}]
-	)"
-
-PATCHES=( "${FILESDIR}/${PV}-exclude-tests.patch" )
-S="${WORKDIR}/${MY_P}"
-
-python_test() {
-	esetup.py test
-}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2020-02-05 16:53 Michał Górny
  0 siblings, 0 replies; 14+ messages in thread
From: Michał Górny @ 2020-02-05 16:53 UTC (permalink / raw
  To: gentoo-commits

commit:     96d673f54bc753d2e1663d57b2cf9c28bd92ffa3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 16:45:34 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 16:53:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d673f5

dev-python/oauth2: Remove py2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 b2f0f827eb1..402c3098a7f 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2020-03-25 11:46 Michał Górny
  0 siblings, 0 replies; 14+ messages in thread
From: Michał Górny @ 2020-03-25 11:46 UTC (permalink / raw
  To: gentoo-commits

commit:     abb4ac2b8297df0b3dfe8fe4dd908d7fecc2f11a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 25 11:14:20 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 11:40:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abb4ac2b

dev-python/oauth2: Remove pytest-runner dep

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

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 402c3098a7f..f717a49cbf0 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -24,7 +24,6 @@ DEPEND="
 	dev-python/setuptools[${PYTHON_USEDEP}]
 	test? ( ${RDEPEND}
 		dev-python/mock[${PYTHON_USEDEP}]
-		dev-python/pytest-runner[${PYTHON_USEDEP}]
 		dev-python/pytest[${PYTHON_USEDEP}]
 	)"
 


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2020-04-21  8:08 Michał Górny
  0 siblings, 0 replies; 14+ messages in thread
From: Michał Górny @ 2020-04-21  8:08 UTC (permalink / raw
  To: gentoo-commits

commit:     0b8e33b6f960ac055e7248a684ef5d96e08aa5ee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 21 07:33:08 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 21 08:08:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b8e33b6

dev-python/oauth2: Enable py3.{7,8}

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 f717a49cbf0..ea99f3884be 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2021-03-04  4:19 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-03-04  4:19 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2021-03-04  4:19 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-03-04  4:19 UTC (permalink / raw
  To: gentoo-commits

commit:     07b640d6e615893f5a9e7735506682d0425ccc52
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  4 03:51:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  4 03:51:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b640d6

dev-python/oauth2: mark ALLARCHES

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/oauth2/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/oauth2/metadata.xml b/dev-python/oauth2/metadata.xml
index 88a621eb46e..eed4d4cf433 100644
--- a/dev-python/oauth2/metadata.xml
+++ b/dev-python/oauth2/metadata.xml
@@ -5,6 +5,7 @@
 		<email>python@gentoo.org</email>
 		<name>Python</name>
 	</maintainer>
+	<stabilize-allarches/>
 	<upstream>
 		<remote-id type="pypi">oauth2</remote-id>
 		<remote-id type="github">joestump/python-oauth2</remote-id>


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/
@ 2021-08-22 12:42 Louis Sautier
  0 siblings, 0 replies; 14+ messages in thread
From: Louis Sautier @ 2021-08-22 12:42 UTC (permalink / raw
  To: gentoo-commits

commit:     4967ba6bce258b32ad3a15b9ed55afd41800caf3
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 22 12:41:47 2021 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Aug 22 12:41:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4967ba6b

dev-python/oauth2: enable py3.10, use epytest

Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 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 4153a69ecea..dcf5e4e10dd 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -31,9 +31,10 @@ PATCHES=(
 
 distutils_enable_tests pytest
 
-python_test() {
-	# Skip tests which require network access
-	py.test -k "not (test_access_token_post or test_access_token_get \
-		or test_two_legged_post or test_two_legged_get)" || die \
-		"tests failed with ${EPYTHON}"
-}
+EPYTEST_DESELECT=(
+	# These tests require network access
+	tests/test_oauth.py::TestClient::test_access_token_get
+	tests/test_oauth.py::TestClient::test_access_token_post
+	tests/test_oauth.py::TestClient::test_two_legged_get
+	tests/test_oauth.py::TestClient::test_two_legged_post
+)


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-08-22 12:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-15 17:25 [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/ Tobias Klausmann
  -- strict thread matches above, loose matches on Subject: below --
2021-08-22 12:42 Louis Sautier
2021-03-04  4:19 Sam James
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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox