Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/google-auth-oauthlib/
Date: Sat, 31 Oct 2020 15:59:04
Message-Id: 1604159922.3d827b1ad8d77387534524b17d16844b74cda947.juippis@gentoo
1 commit: 3d827b1ad8d77387534524b17d16844b74cda947
2 Author: Andrea Cerisara <andreacerisara <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 11 20:00:48 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 31 15:58:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d827b1a
7
8 dev-python/google-auth-oauthlib: add unit test support
9
10 Signed-off-by: Andrea Cerisara <andreacerisara <AT> gmail.com>
11 Package-Manager: Portage-3.0.8, Repoman-3.0.1
12 Closes: https://github.com/gentoo/gentoo/pull/17893
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 .../google-auth-oauthlib/google-auth-oauthlib-0.4.1-r1.ebuild | 9 ++++++++-
16 dev-python/google-auth-oauthlib/metadata.xml | 9 ++++++++-
17 2 files changed, 16 insertions(+), 2 deletions(-)
18
19 diff --git a/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.4.1-r1.ebuild b/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.4.1-r1.ebuild
20 index dc65d4be51d..4270ac5f77e 100644
21 --- a/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.4.1-r1.ebuild
22 +++ b/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.4.1-r1.ebuild
23 @@ -9,14 +9,21 @@ inherit distutils-r1
24
25 DESCRIPTION="Google Authentication Library"
26 HOMEPAGE="https://pypi.org/project/google-auth-oauthlib/ https://github.com/googleapis/google-auth-library-python-oauthlib"
27 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
28 +SRC_URI="mirror://pypi/google-auth-oauthlib/google-auth-oauthlib/${P}.tar.gz"
29
30 LICENSE="Apache-2.0"
31 SLOT="0"
32 KEYWORDS="~amd64 ~x86"
33
34 +DEPEND="
35 + test? ( dev-python/mock[${PYTHON_USEDEP}] )
36 +"
37 +
38 RDEPEND="
39 dev-python/click[${PYTHON_USEDEP}]
40 dev-python/google-auth[${PYTHON_USEDEP}]
41 >=dev-python/requests-oauthlib-0.7.0[${PYTHON_USEDEP}]
42 "
43 +
44 +distutils_enable_tests pytest
45 +DOCS=( LICENSE README.rst )
46
47 diff --git a/dev-python/google-auth-oauthlib/metadata.xml b/dev-python/google-auth-oauthlib/metadata.xml
48 index dd996c7c52f..28caf6379e3 100644
49 --- a/dev-python/google-auth-oauthlib/metadata.xml
50 +++ b/dev-python/google-auth-oauthlib/metadata.xml
51 @@ -1,7 +1,14 @@
52 <?xml version="1.0" encoding="UTF-8"?>
53 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
54 <pkgmetadata>
55 - <!-- maintainer-needed -->
56 + <maintainer type="person">
57 + <email>andreacerisara@×××××.com</email>
58 + <name>Andrea Cerisara</name>
59 + </maintainer>
60 + <maintainer type="project">
61 + <email>proxy-maint@g.o</email>
62 + <name>Proxy Maintainers</name>
63 + </maintainer>
64 <upstream>
65 <remote-id type="pypi">google-auth-oauthlib</remote-id>
66 </upstream>