1 |
commit: 069a239018b652d34e5469362e517f92bc189945 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 4 03:43:39 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 4 04:13:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=069a2390 |
7 |
|
8 |
dev-python/google-auth-httplib2: add package |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-python/google-auth-httplib2/Manifest | 1 + |
13 |
.../google-auth-httplib2-0.0.2.ebuild | 39 ++++++++++++++++++++++ |
14 |
dev-python/google-auth-httplib2/metadata.xml | 12 +++++++ |
15 |
3 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/google-auth-httplib2/Manifest b/dev-python/google-auth-httplib2/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..80b9a362384 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/google-auth-httplib2/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST google-auth-httplib2-0.0.2.tar.gz 10830 SHA256 56ad472d166aeddab10fbf6b6a39848c959379e12b9cbcb5ccf2530eda61b4de SHA512 ec111fdad930bfe3f8f97df70a8bef955920ab2cb0c383d7888ff444f19e5c176dd5aabe10f9a870c86035791a2b27e3e8e1276360626ff5e430db823da5efb0 WHIRLPOOL 8bf72785a168905a6d1a5d6f2ec093d54e93799f09c0e0f5e53bb0de96c200a8638ac68bc393cd0b4dce4cca4b6299a202086d943dec917ee8733aa792869a99 |
24 |
|
25 |
diff --git a/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..049c2bdf980 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+EGIT_COMMIT="607e86011141e8885b1f52826d57c8b5ff588ffc" |
41 |
+MY_PN=google-auth-library-python-httplib2 |
42 |
+DESCRIPTION="httplib2 Transport for Google Auth" |
43 |
+HOMEPAGE="https://pypi.python.org/pypi/google-auth-httplib2 https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2" |
44 |
+# PyPi tarball is missing unit tests |
45 |
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+SRC_URI="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="test" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/httplib2[${PYTHON_USEDEP}] |
55 |
+ dev-python/google-auth[${PYTHON_USEDEP}] |
56 |
+ " |
57 |
+DEPEND="${RDEPEND} |
58 |
+ test? ( |
59 |
+ dev-python/flask[${PYTHON_USEDEP}] |
60 |
+ dev-python/mock[${PYTHON_USEDEP}] |
61 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
62 |
+ dev-python/pytest-localserver[${PYTHON_USEDEP}] |
63 |
+ )" |
64 |
+ |
65 |
+S=${WORKDIR}/${MY_PN}-${EGIT_COMMIT} |
66 |
+ |
67 |
+python_test() { |
68 |
+ py.test -v || die "Tests failed under ${EPYTHON}" |
69 |
+} |
70 |
|
71 |
diff --git a/dev-python/google-auth-httplib2/metadata.xml b/dev-python/google-auth-httplib2/metadata.xml |
72 |
new file mode 100644 |
73 |
index 00000000000..aaafa465004 |
74 |
--- /dev/null |
75 |
+++ b/dev-python/google-auth-httplib2/metadata.xml |
76 |
@@ -0,0 +1,12 @@ |
77 |
+<?xml version="1.0" encoding="UTF-8"?> |
78 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
79 |
+<pkgmetadata> |
80 |
+ <maintainer type="person"> |
81 |
+ <email>zmedico@g.o</email> |
82 |
+ <name>Zac Medico</name> |
83 |
+ </maintainer> |
84 |
+ <upstream> |
85 |
+ <remote-id type="pypi">google-auth-httplib2</remote-id> |
86 |
+ <remote-id type="github">GoogleCloudPlatform/google-auth-library-python-httplib2</remote-id> |
87 |
+ </upstream> |
88 |
+</pkgmetadata> |