commit:     999c2878cab88050826832db9f214607ce708191
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 31 07:55:01 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 31 08:13:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=999c2878

dev-python/diskcache: Bump to 5.4.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/diskcache/Manifest               |  1 +
 dev-python/diskcache/diskcache-5.4.0.ebuild | 36 +++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest
index c2ea80f79d8c..eeaacea48547 100644
--- a/dev-python/diskcache/Manifest
+++ b/dev-python/diskcache/Manifest
@@ -1,2 +1,3 @@
 DIST diskcache-5.2.1.gh.tar.gz 652769 BLAKE2B 
25fcdcf51c8be7a6e2a9de645258f776647789a7f06c70c8564ad28bd003a745167095b11a54d435e733d9f5181a1443be2510fe2d901cc208ea426d3359c0ba
 SHA512 
6e55bada12145d931f4a465092decc3f2cfed2e618d1ea271ad6daa6caf7c3abfd6ae5de11072efdf898ebf272acd39136136b58d7b5e735092963bdd46af52e
 DIST diskcache-5.3.0.gh.tar.gz 653506 BLAKE2B 
250420da434fa8a02cf58ed552072cb62a6d10dfa3801cf187db327a687763ab7f010c19f5e10b9ba71b2fd6830ba902750ca273c8be08c6f7987aa0923afcff
 SHA512 
106c8eb8320153e42e076927d51fa75d30b92156e17a75756e0392028cb6b5054af9af66b93aa69b7a7105012f0b92fe942ee447a75e53e005b56eb0b067dc38
+DIST diskcache-5.4.0.gh.tar.gz 653968 BLAKE2B 
765f0d8d9c4b3a8bf9e4c52b3b931867dc0b92aa7b891d6d64cbfe9e7ff491662a1fa2f0af776f9b3dcc4b441f50b68dc009a29e9b0d37f99add9033f4fb94d8
 SHA512 
cc15ff0b06b2a5708692f50e185699bd53e60408cef25053bcb5aaffec2795dd53c3bfe4b131a47f68c43388927ecc034c43233c38494cb2f6e40636344270fc

diff --git a/dev-python/diskcache/diskcache-5.4.0.ebuild 
b/dev-python/diskcache/diskcache-5.4.0.ebuild
new file mode 100644
index 000000000000..25ca9058d762
--- /dev/null
+++ b/dev-python/diskcache/diskcache-5.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+HOMEPAGE="http://www.grantjenks.com/docs/diskcache/
+       https://github.com/grantjenks/python-diskcache/";
+DESCRIPTION="Disk and file backed cache"
+SRC_URI="
+       https://github.com/grantjenks/python-diskcache/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+S=${WORKDIR}/python-diskcache-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+       test? (
+               >=dev-python/django-3.2[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+src_prepare() {
+       # remove dep on pytest-xdist and pytest-cov
+       sed -i -e '/-n auto/d' -e '/--cov/d' tox.ini || die
+
+       distutils-r1_src_prepare
+}

Reply via email to