1 |
commit: f9fd264fe014c2f994e1e1cb6d38dfefa5406130 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 19:17:10 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 19:17:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9fd264f |
7 |
|
8 |
dev-python/oauth2client: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../oauth2client/oauth2client-4.1.3-r1.ebuild | 61 ---------------------- |
13 |
1 file changed, 61 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild b/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 21462801d204..000000000000 |
18 |
--- a/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,61 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..10} ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Library for accessing resources protected by OAuth 2.0" |
31 |
-HOMEPAGE="https://github.com/googleapis/oauth2client" |
32 |
-SRC_URI="https://github.com/googleapis/oauth2client/archive/v${PV/_p/-post}.tar.gz -> ${P}.tar.gz" |
33 |
-S="${WORKDIR}"/${P/_p/-post} |
34 |
- |
35 |
-LICENSE="Apache-2.0" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
41 |
- >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
42 |
- >=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}] |
43 |
- >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] |
44 |
- >=dev-python/six-1.6.1[${PYTHON_USEDEP}] |
45 |
- dev-python/keyring[${PYTHON_USEDEP}] |
46 |
- !<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] |
47 |
-" |
48 |
-BDEPEND=" |
49 |
- test? ( |
50 |
- dev-python/flask[${PYTHON_USEDEP}] |
51 |
- dev-python/sqlalchemy[${PYTHON_USEDEP}] |
52 |
- ) |
53 |
-" |
54 |
- |
55 |
-distutils_enable_tests nose |
56 |
- |
57 |
-PATCHES=( |
58 |
- "${FILESDIR}/oauth2client-4.1.3-py38.patch" |
59 |
-) |
60 |
- |
61 |
-python_prepare() { |
62 |
- # keyring is not fuly supported by pypy yet, because dbus-python can't support pypy |
63 |
- # oauth2client -> keyring -> secretstorage -> dbus-python |
64 |
- # https://github.com/mitya57/secretstorage/issues/10 |
65 |
- case $PYTHON in |
66 |
- pypy|*pypy|*pypy3|pypy3) \ |
67 |
- find "${BUILD_DIR}/.." -name '*keyring*py' -delete ;; |
68 |
- esac |
69 |
-} |
70 |
- |
71 |
-python_test() { |
72 |
- nosetests -v \ |
73 |
- -e appengine \ |
74 |
- -e django_util \ |
75 |
- -e test_multiprocess_file_storage \ |
76 |
- -e test_bad_positional || die "tests fail with ${EPYTHON}" |
77 |
- # appengine - requires appengine |
78 |
- # django_util - requires django |
79 |
- # test_multiprocess_file_storage - requires fasteners |
80 |
- # test_bad_positional - expects TypeError, gets ValueError |
81 |
-} |