Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/diskcache/
Date: Sat, 23 Jan 2021 08:55:38
Message-Id: 1611391421.b46a3330bac5dca2b73adb3a1f9d34bc083580b0.mgorny@gentoo
1 commit: b46a3330bac5dca2b73adb3a1f9d34bc083580b0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 23 08:43:41 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 23 08:43:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46a3330
7
8 dev-python/diskcache: Bump to 5.2.1
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.2.1.ebuild | 37 +++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest
17 index 3f469d16493..dda7430889b 100644
18 --- a/dev-python/diskcache/Manifest
19 +++ b/dev-python/diskcache/Manifest
20 @@ -1 +1,2 @@
21 DIST diskcache-5.1.0.gh.tar.gz 656930 BLAKE2B 19ec1e16e33315248f28e1937a94bb29d641f31c263a3a2fc4d24b58082f7c9c522c74f38d07ece51dce066040538ef47348c50e8d591a749674ab6d6f2ce5f1 SHA512 33437899221051ef3dafd0eeddfec72bef00d5a6b189046cb919495b322b534445a39e5d23a1c85484867d9d07efb7de36fe5f2d3dad79357086a3dcfa3c8b0c
22 +DIST diskcache-5.2.1.gh.tar.gz 652769 BLAKE2B 25fcdcf51c8be7a6e2a9de645258f776647789a7f06c70c8564ad28bd003a745167095b11a54d435e733d9f5181a1443be2510fe2d901cc208ea426d3359c0ba SHA512 6e55bada12145d931f4a465092decc3f2cfed2e618d1ea271ad6daa6caf7c3abfd6ae5de11072efdf898ebf272acd39136136b58d7b5e735092963bdd46af52e
23
24 diff --git a/dev-python/diskcache/diskcache-5.2.1.ebuild b/dev-python/diskcache/diskcache-5.2.1.ebuild
25 new file mode 100644
26 index 00000000000..21ddebd65a8
27 --- /dev/null
28 +++ b/dev-python/diskcache/diskcache-5.2.1.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} )
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="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
51 +
52 +BDEPEND="
53 + test? (
54 + >=dev-python/django-2.2[${PYTHON_USEDEP}]
55 + )
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 +}