1 |
commit: ae89680a9d3e2455675ed267816838d22848e5ed |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 7 13:31:47 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 7 13:51:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae89680a |
7 |
|
8 |
Revert "dev-python/requests-cache: Drop old" |
9 |
|
10 |
This reverts commit 57fc84fdd745bd31fcf9fc9d0652a7d8743d5849. |
11 |
|
12 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
13 |
|
14 |
.../requests-cache/requests-cache-0.4.12.ebuild | 33 ++++++++++++++++++++++ |
15 |
1 file changed, 33 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/requests-cache/requests-cache-0.4.12.ebuild b/dev-python/requests-cache/requests-cache-0.4.12.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..fbebceefaad |
20 |
--- /dev/null |
21 |
+++ b/dev-python/requests-cache/requests-cache-0.4.12.ebuild |
22 |
@@ -0,0 +1,33 @@ |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=5 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python2_7 python3_6 ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+HOMEPAGE="https://pypi.org/project/requests-cache/" |
33 |
+DESCRIPTION="Persistent cache for requests library" |
34 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip" |
35 |
+ |
36 |
+LICENSE="BSD" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="amd64 x86" |
39 |
+IUSE="doc" |
40 |
+ |
41 |
+# Portage only has versions of request >= minimum border |
42 |
+RDEPEND=">=dev-python/requests-2.6[${PYTHON_USEDEP}]" |
43 |
+DEPEND=" |
44 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
45 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
46 |
+ |
47 |
+# Testsuite excels in tests connecting to the network via local server daemons |
48 |
+python_compile_all() { |
49 |
+ use doc && emake -C docs html |
50 |
+} |
51 |
+ |
52 |
+python_install_all() { |
53 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
54 |
+ distutils-r1_python_install_all |
55 |
+} |