1 |
commit: f6cf1aa7296853b6b2a14708aabf2c36d89d6e1b |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 4 00:25:56 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 4 01:21:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6cf1aa7 |
7 |
|
8 |
dev-python/oauth2client: version bump to 4.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-python/oauth2client/Manifest | 1 + |
13 |
dev-python/oauth2client/oauth2client-4.0.0.ebuild | 45 +++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/oauth2client/Manifest b/dev-python/oauth2client/Manifest |
17 |
index fa235b6df33..7219f557cc7 100644 |
18 |
--- a/dev-python/oauth2client/Manifest |
19 |
+++ b/dev-python/oauth2client/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST oauth2client-1.5.2.tar.gz 131665 SHA256 b8df20b122e4f49a5fe5bc3c825d16015f5012c171c6c81eb4048e4d8c2ffee3 SHA512 15f10b52aa93fc10289658d5ff671a247e5c92c5ff2be424a04617fee1a3a82439b829b0f5dcb04e3e84802e02580e366e08356df7ec6e24563a530d2f6b1db5 WHIRLPOOL 00f3033359eceda12528ef4caffc0a9d7d6561919272fe98e09d2599114f07d9be42eb32a4038c155c621581f98ecc0eb516bcaa018d4376e30906dd4a0adfbc |
22 |
DIST oauth2client-2.0.1.tar.gz 153127 SHA256 fa0357fca4ce431073ead236256347aafe3d368c16c5edaeba7f826b1b1d5fb6 SHA512 66179a604418a8aee9ca9dbfc5ad18356d5130a588e85f4dab3330feef194af2114bc2eb18ec625acf791938e4d7f78ee55284f45a67a48c775676697ce2b183 WHIRLPOOL bef0f7394cbeade328f74288bd602973a7828915ff616c7331d6c1910be02bc74a8e11062bd0602a2c4f1681d7d8c6558aecd695df3ef711f74ba81fad0b1ab3 |
23 |
DIST oauth2client-2.2.0.tar.gz 167484 SHA256 07b44748059d6390ce2247195b2ae2117773617614f76ec9375e56fd43295f06 SHA512 1e23c3f655e955dbf0cdb2b78613768ca4c6eb4336b555e3553da212fd762ba12329584f108d8145810228cf44da018675b38dd152b06e58be4eb18d4f8127c6 WHIRLPOOL 6cb1b3a6dbc4d3e0fca8d72417810873f11428afb4d4f52b08f7028c984bd330acf043ca10c339453c6f4e38c1f179c2e9126a9f6cb419323a53cbc769ebbe8f |
24 |
+DIST oauth2client-4.0.0.tar.gz 183288 SHA256 7230f52f7f1d4566a3f9c3aeb5ffe2ed80302843ce5605853bee1f08098ede46 SHA512 b59805702c7acb306801a04a92b7f700c0f58d5937b4b27a497018d313922512b5ec3f1711bacf13bc7e01c4f006eda5344a9055f981ba34e116c34c56c5dfec WHIRLPOOL 409ff71754038acb3a67841edfb7dd33865c0db9e55717ea2255eab506d298603034cc5347c6219f8978b5a2ec068a5ccf4e1f0ba53533e9810794016e4822b1 |
25 |
|
26 |
diff --git a/dev-python/oauth2client/oauth2client-4.0.0.ebuild b/dev-python/oauth2client/oauth2client-4.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..9e22559bd8a |
29 |
--- /dev/null |
30 |
+++ b/dev-python/oauth2client/oauth2client-4.0.0.ebuild |
31 |
@@ -0,0 +1,45 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Library for accessing resources protected by OAuth 2.0" |
42 |
+HOMEPAGE="https://github.com/google/oauth2client" |
43 |
+SRC_URI="https://github.com/google/oauth2client/archive/v${PV/_p/-post}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/six-1.6.1[${PYTHON_USEDEP}] |
56 |
+ !<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
60 |
+" |
61 |
+ |
62 |
+S="${WORKDIR}"/${P/_p/-post} |
63 |
+ |
64 |
+# Needs network |
65 |
+RESTRICT=test |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ sed -i \ |
69 |
+ -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" \ |
70 |
+ setup.py || die |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ nosetests || die |
76 |
+} |