1 |
commit: 999c2878cab88050826832db9f214607ce708191 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 31 07:55:01 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 31 08:13:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=999c2878 |
7 |
|
8 |
dev-python/diskcache: Bump to 5.4.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.4.0.ebuild | 36 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest |
17 |
index c2ea80f79d8c..eeaacea48547 100644 |
18 |
--- a/dev-python/diskcache/Manifest |
19 |
+++ b/dev-python/diskcache/Manifest |
20 |
@@ -1,2 +1,3 @@ |
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 |
+DIST diskcache-5.4.0.gh.tar.gz 653968 BLAKE2B 765f0d8d9c4b3a8bf9e4c52b3b931867dc0b92aa7b891d6d64cbfe9e7ff491662a1fa2f0af776f9b3dcc4b441f50b68dc009a29e9b0d37f99add9033f4fb94d8 SHA512 cc15ff0b06b2a5708692f50e185699bd53e60408cef25053bcb5aaffec2795dd53c3bfe4b131a47f68c43388927ecc034c43233c38494cb2f6e40636344270fc |
24 |
|
25 |
diff --git a/dev-python/diskcache/diskcache-5.4.0.ebuild b/dev-python/diskcache/diskcache-5.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..25ca9058d762 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/diskcache/diskcache-5.4.0.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+PYTHON_REQ_USE="sqlite" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+HOMEPAGE="http://www.grantjenks.com/docs/diskcache/ |
42 |
+ https://github.com/grantjenks/python-diskcache/" |
43 |
+DESCRIPTION="Disk and file backed cache" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/grantjenks/python-diskcache/archive/v${PV}.tar.gz |
46 |
+ -> ${P}.gh.tar.gz" |
47 |
+S=${WORKDIR}/python-diskcache-${PV} |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ test? ( |
55 |
+ >=dev-python/django-3.2[${PYTHON_USEDEP}] |
56 |
+ )" |
57 |
+ |
58 |
+distutils_enable_sphinx docs |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ # remove dep on pytest-xdist and pytest-cov |
63 |
+ sed -i -e '/-n auto/d' -e '/--cov/d' tox.ini || die |
64 |
+ |
65 |
+ distutils-r1_src_prepare |
66 |
+} |