1 |
commit: b907b184d9fc1c372447165588a263e65f04bc9b |
2 |
Author: Mike Frysinger <vapier <AT> chromium <DOT> org> |
3 |
AuthorDate: Wed May 23 10:30:10 2018 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 23 10:30:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b907b184 |
7 |
|
8 |
dev-python/google-auth: version bump to 1.4.1 |
9 |
|
10 |
dev-python/google-auth/Manifest | 1 + |
11 |
dev-python/google-auth/google-auth-1.4.1.ebuild | 44 +++++++++++++++++++++++++ |
12 |
2 files changed, 45 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest |
15 |
index 8357b3b1697..fc5e005d7e9 100644 |
16 |
--- a/dev-python/google-auth/Manifest |
17 |
+++ b/dev-python/google-auth/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST google-auth-1.0.1.tar.gz 133903 BLAKE2B 0a99dcdb37a195f24077162ea8191e2eb12aac0eec8e08d06f0b17aba9c4f5ed44f19ca41c737a249611ce02b98e03474d1e995909c5755222605e004d11fb1d SHA512 c10822c6b75700503a06a4b3a43a123d57605a043eb494bcb0232cc3941fc039d0803ed75be26d0da72fd4df613135c290fb3fdf82b0fa47d4fe0729462d80f4 |
20 |
DIST google-auth-1.1.0.tar.gz 290602 BLAKE2B efc1ae38b29693f035ea9d19af83bd0e098dacb143192d77140ea1548a17dd051b344b6b34044f6d02e5bea631fe4026dda4ba7c1053535641f34aed08cdd48e SHA512 03b4021f5bc3c60671e1e528642af4682828e3a83a07aa9dea8a28b3f97c4020ac47f325c8a952f366d45196e6a9a78a78e1abcfc8d7f878f7b6369434a0b79f |
21 |
+DIST google-auth-1.4.1.tar.gz 74272 BLAKE2B 8b9c8f59979688bc8a28d3f6c32eb06aa527b3cf9a515ceca51aa346d70622786292f5be5a4bdb2ca266b777d5d5fd41061af3afd4a2608a6673192ad643ed8f SHA512 cba174049a331c8c0ea5b82da0096641d975f59f1f2c3237c32b1730b4c9f9d12f3bfdcb6cc9b9f9c87109d509dcd423d0a4a4d98200e707052760c253f3ee45 |
22 |
|
23 |
diff --git a/dev-python/google-auth/google-auth-1.4.1.ebuild b/dev-python/google-auth/google-auth-1.4.1.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..6ae35798ebd |
26 |
--- /dev/null |
27 |
+++ b/dev-python/google-auth/google-auth-1.4.1.ebuild |
28 |
@@ -0,0 +1,44 @@ |
29 |
+# Copyright 1999-2018 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI="6" |
33 |
+ |
34 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Google Authentication Library" |
39 |
+HOMEPAGE="https://github.com/GoogleCloudPlatform/google-auth-library-python https://pypi.org/project/google-auth/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
45 |
+IUSE="test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/namespace-google[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] |
54 |
+ " |
55 |
+DEPEND="${RDEPEND} |
56 |
+ test? ( |
57 |
+ dev-python/flask[${PYTHON_USEDEP}] |
58 |
+ dev-python/mock[${PYTHON_USEDEP}] |
59 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-localserver[${PYTHON_USEDEP}] |
61 |
+ )" |
62 |
+ |
63 |
+python_test() { |
64 |
+ # delete stray files included in the tarball |
65 |
+ find "${S}"/tests -name '*.pyc' -delete || die |
66 |
+ py.test || die "Tests failed under ${EPYTHON}" |
67 |
+} |
68 |
+ |
69 |
+python_install_all() { |
70 |
+ distutils-r1_python_install_all |
71 |
+ find "${ED}" -name '*.pth' -delete || die |
72 |
+} |