1 |
commit: 2b16f5fcbdfab1bb434b1d6cb0be04bfd9ae2905 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 18 21:59:53 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 18 21:59:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b16f5fc |
7 |
|
8 |
dev-python/diskcache: bump to 3.1.0 |
9 |
|
10 |
Previous version didn't support newer django. Also, add missing "sqlite" |
11 |
in PYTHON_REQ_USE. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/636554 |
14 |
Closes: https://bugs.gentoo.org/636406 |
15 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
16 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
17 |
|
18 |
dev-python/diskcache/Manifest | 1 + |
19 |
dev-python/diskcache/diskcache-3.1.0.ebuild | 42 +++++++++++++++++++++++++++++ |
20 |
2 files changed, 43 insertions(+) |
21 |
|
22 |
diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest |
23 |
index d298e00b93a..e16bb839277 100644 |
24 |
--- a/dev-python/diskcache/Manifest |
25 |
+++ b/dev-python/diskcache/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST diskcache-2.8.3.tar.gz 438587 BLAKE2B 3b7b50fe6cabe8a4eb92b3dd72a2b99d6cedc8b7d055fcdf7b445f016957e6c7692571e9f83aafe36141b69a0e93f638b9e3e2f210bb56e6358260a5ff4130d3 SHA512 d96ac76dfb68cb817febd3f4ed8927a8409c02b13b4112a739528cade40f9a588c732dfc3148392dd12676380c3a2b006ee63b86f30ad70f5d205273003bf23d |
28 |
+DIST diskcache-3.1.0.tar.gz 489821 BLAKE2B 56b54662f31172f4f746ce885d57a3e9f34af9d7318300fe6906aee1b3373919f6ee33922ab30b7979cc6e271f2f780894438b4114483a7c76f198fb7b2213c1 SHA512 30ea3e6c1ed6430c1a7e3bf022bd9233e89a2486308d1f48f6e2f0b50ccc1ee50dade7c55d98a5611ef384bd193cd28f7e65f5737bae00845b17c159177dd345 |
29 |
|
30 |
diff --git a/dev-python/diskcache/diskcache-3.1.0.ebuild b/dev-python/diskcache/diskcache-3.1.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..e0c59c1bf64 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/diskcache/diskcache-3.1.0.ebuild |
35 |
@@ -0,0 +1,42 @@ |
36 |
+# Copyright 1999-2018 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
42 |
+PYTHON_REQ_USE="sqlite" |
43 |
+ |
44 |
+inherit distutils-r1 |
45 |
+ |
46 |
+HOMEPAGE="http://www.grantjenks.com/docs/diskcache/" |
47 |
+DESCRIPTION="Disk and file backed cache" |
48 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
53 |
+IUSE="doc test" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/django[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+DEPEND=" |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ ${RDEPEND} |
62 |
+ dev-python/mock[${PYTHON_USEDEP}] |
63 |
+ dev-python/nose[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
66 |
+" |
67 |
+ |
68 |
+python_compile_all() { |
69 |
+ if use doc; then |
70 |
+ emake -C docs html |
71 |
+ HTML_DOCS=( docs/_build/html/. ) |
72 |
+ fi |
73 |
+} |
74 |
+ |
75 |
+python_test() { |
76 |
+ nosetests -v || die "failed with ${PYTHON}" |
77 |
+} |