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