1 |
commit: b38b516c382d7eec24526325e3eac25e9f347b57 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 30 07:24:50 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 07:36:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38b516c |
7 |
|
8 |
dev-python/google-auth: version bump to 1.0.1 |
9 |
|
10 |
* Add namespace support (bug 626350) |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
13 |
|
14 |
dev-python/google-auth/Manifest | 2 +- |
15 |
.../{google-auth-1.0.0.ebuild => google-auth-1.0.1.ebuild} | 12 ++++++++++-- |
16 |
2 files changed, 11 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest |
19 |
index 04adfd4a150..3be44847627 100644 |
20 |
--- a/dev-python/google-auth/Manifest |
21 |
+++ b/dev-python/google-auth/Manifest |
22 |
@@ -1 +1 @@ |
23 |
-DIST google-auth-1.0.0.tar.gz 66514 SHA256 9cec5a1e8161e5074a54af66f0f2ebf2cbdcc4aad1ffaa804589c3029695fa6a SHA512 7826bab85a68109f8118a28a1b9e5e4a5c0953ee1dae8f8ba266fefed4c949d0a20680fd0b3019f137c2d9b2d350825cf6679db110238808e7e5bca49704d6bf WHIRLPOOL 4b422bc70ad34a40135c1400aa7b7c45029ab420c16ba499f12a421585b4e0d45562458183f8e4f7a0027f312ce8d8cf5da3f4d0ffb65fe6381a1f0a75fc806e |
24 |
+DIST google-auth-1.0.1.tar.gz 133903 SHA256 dd7b6e5f3bd15c0f7cfee63a266acea40c779da0a924b475bc1812e6e10687e1 SHA512 c10822c6b75700503a06a4b3a43a123d57605a043eb494bcb0232cc3941fc039d0803ed75be26d0da72fd4df613135c290fb3fdf82b0fa47d4fe0729462d80f4 WHIRLPOOL 04560bf31278988be1c98c0d781b84cfbc48b3c1e00e772ca83d17cbf05d2db055e6a8bf732605d39cdc02a0068d898b3c5765019e2550cdc980f2da50cd222e |
25 |
|
26 |
diff --git a/dev-python/google-auth/google-auth-1.0.0.ebuild b/dev-python/google-auth/google-auth-1.0.1.ebuild |
27 |
similarity index 74% |
28 |
rename from dev-python/google-auth/google-auth-1.0.0.ebuild |
29 |
rename to dev-python/google-auth/google-auth-1.0.1.ebuild |
30 |
index 13d08d47345..26c40b5bf9a 100644 |
31 |
--- a/dev-python/google-auth/google-auth-1.0.0.ebuild |
32 |
+++ b/dev-python/google-auth/google-auth-1.0.1.ebuild |
33 |
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
34 |
inherit distutils-r1 |
35 |
|
36 |
DESCRIPTION="Google Authentication Library" |
37 |
-HOMEPAGE="https://pypi.python.org/pypi/google-auth/ " |
38 |
+HOMEPAGE="https://pypi.python.org/pypi/google-auth/" |
39 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
40 |
|
41 |
LICENSE="Apache-2.0" |
42 |
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
43 |
IUSE="test" |
44 |
|
45 |
RDEPEND=" |
46 |
+ dev-python/namespace-google[${PYTHON_USEDEP}] |
47 |
>=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
48 |
>=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}] |
49 |
>=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] |
50 |
@@ -38,5 +39,12 @@ python_prepare_all() { |
51 |
} |
52 |
|
53 |
python_test() { |
54 |
- py.test -v || die "Tests failed under ${EPYTHON}" |
55 |
+ # delete stray files included in the tarball |
56 |
+ find "${S}"/tests -name '*.pyc' -delete || die |
57 |
+ py.test || die "Tests failed under ${EPYTHON}" |
58 |
+} |
59 |
+ |
60 |
+python_install_all() { |
61 |
+ distutils-r1_python_install_all |
62 |
+ find "${ED}" -name '*.pth' -delete || die |
63 |
} |