1 |
commit: 4a1d3ab863cb5acad5ad74c202a07e38677c2e87 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 24 08:15:37 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 24 08:51:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1d3ab8 |
7 |
|
8 |
dev-python/google-auth-httplib2: Bump to EAPI 8 / PEP517 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../google-auth-httplib2-0.1.0-r1.ebuild | 36 ++++++++++++++++++++++ |
13 |
1 file changed, 36 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r1.ebuild b/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..c086d756d5e9 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r1.ebuild |
20 |
@@ -0,0 +1,36 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+MY_P="google-auth-library-python-httplib2-${PV}" |
32 |
+DESCRIPTION="httplib2 Transport for Google Auth" |
33 |
+HOMEPAGE="https://pypi.org/project/google-auth-httplib2/ |
34 |
+ https://github.com/googleapis/google-auth-library-python-httplib2" |
35 |
+SRC_URI=" |
36 |
+ https://github.com/googleapis/google-auth-library-python-httplib2/archive/v${PV}.tar.gz |
37 |
+ -> ${MY_P}.tar.gz" |
38 |
+S="${WORKDIR}/${MY_P}" |
39 |
+ |
40 |
+LICENSE="Apache-2.0" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-python/httplib2[${PYTHON_USEDEP}] |
46 |
+ dev-python/google-auth[${PYTHON_USEDEP}] |
47 |
+" |
48 |
+BDEPEND=" |
49 |
+ test? ( |
50 |
+ dev-python/flask[${PYTHON_USEDEP}] |
51 |
+ dev-python/mock[${PYTHON_USEDEP}] |
52 |
+ dev-python/pytest-localserver[${PYTHON_USEDEP}] |
53 |
+ ) |
54 |
+" |
55 |
+ |
56 |
+distutils_enable_tests pytest |