1 |
commit: d38e95d9183a278c4a867f81fb85ea88cc3f049a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 30 18:16:04 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 30 18:46:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d38e95d9 |
7 |
|
8 |
dev-python/diskcache: Bump to 5.3.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/diskcache/Manifest | 1 + |
13 |
dev-python/diskcache/diskcache-5.3.0.ebuild | 42 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest |
17 |
index 64ee0c84cb5e..c2ea80f79d8c 100644 |
18 |
--- a/dev-python/diskcache/Manifest |
19 |
+++ b/dev-python/diskcache/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST diskcache-5.2.1.gh.tar.gz 652769 BLAKE2B 25fcdcf51c8be7a6e2a9de645258f776647789a7f06c70c8564ad28bd003a745167095b11a54d435e733d9f5181a1443be2510fe2d901cc208ea426d3359c0ba SHA512 6e55bada12145d931f4a465092decc3f2cfed2e618d1ea271ad6daa6caf7c3abfd6ae5de11072efdf898ebf272acd39136136b58d7b5e735092963bdd46af52e |
22 |
+DIST diskcache-5.3.0.gh.tar.gz 653506 BLAKE2B 250420da434fa8a02cf58ed552072cb62a6d10dfa3801cf187db327a687763ab7f010c19f5e10b9ba71b2fd6830ba902750ca273c8be08c6f7987aa0923afcff SHA512 106c8eb8320153e42e076927d51fa75d30b92156e17a75756e0392028cb6b5054af9af66b93aa69b7a7105012f0b92fe942ee447a75e53e005b56eb0b067dc38 |
23 |
|
24 |
diff --git a/dev-python/diskcache/diskcache-5.3.0.ebuild b/dev-python/diskcache/diskcache-5.3.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..dc919174075d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/diskcache/diskcache-5.3.0.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+PYTHON_REQ_USE="sqlite" |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+HOMEPAGE="http://www.grantjenks.com/docs/diskcache/ |
41 |
+ https://github.com/grantjenks/python-diskcache/" |
42 |
+DESCRIPTION="Disk and file backed cache" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/grantjenks/python-diskcache/archive/v${PV}.tar.gz |
45 |
+ -> ${P}.gh.tar.gz" |
46 |
+S=${WORKDIR}/python-diskcache-${PV} |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
51 |
+ |
52 |
+distutils_enable_sphinx docs |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ dev-python/django[${PYTHON_USEDEP}] |
58 |
+ )" |
59 |
+ |
60 |
+EPYTEST_DESELECT=( |
61 |
+ # TODO |
62 |
+ tests/test_djangocache.py::DiskCacheTests::test_get_or_set_callable_returning_none |
63 |
+ tests/test_djangocache.py::DiskCacheTests::test_pickle |
64 |
+) |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ # remove dep on pytest-xdist and pytest-cov |
68 |
+ sed -i -e '/-n auto/d' -e '/--cov/d' tox.ini || die |
69 |
+ |
70 |
+ distutils-r1_src_prepare |
71 |
+} |