diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-19 08:28:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-19 08:34:09 +0200 |
commit | 7c2b7e7762fe21b65b526489fafb5ccf47a41b8d (patch) | |
tree | 14c3e0ae3836d9e76cd8802bbed161be39d3f909 /dev-python/diskcache | |
parent | dev-python/sqlparse: Bump to 0.4.4 (diff) | |
download | gentoo-7c2b7e7762fe21b65b526489fafb5ccf47a41b8d.tar.gz gentoo-7c2b7e7762fe21b65b526489fafb5ccf47a41b8d.tar.bz2 gentoo-7c2b7e7762fe21b65b526489fafb5ccf47a41b8d.zip |
dev-python/diskcache: Bump to 5.6.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/diskcache')
-rw-r--r-- | dev-python/diskcache/Manifest | 1 | ||||
-rw-r--r-- | dev-python/diskcache/diskcache-5.6.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest index 522935baeac6..602afc8d2475 100644 --- a/dev-python/diskcache/Manifest +++ b/dev-python/diskcache/Manifest @@ -1,2 +1,3 @@ DIST diskcache-5.4.0.gh.tar.gz 653968 BLAKE2B 765f0d8d9c4b3a8bf9e4c52b3b931867dc0b92aa7b891d6d64cbfe9e7ff491662a1fa2f0af776f9b3dcc4b441f50b68dc009a29e9b0d37f99add9033f4fb94d8 SHA512 cc15ff0b06b2a5708692f50e185699bd53e60408cef25053bcb5aaffec2795dd53c3bfe4b131a47f68c43388927ecc034c43233c38494cb2f6e40636344270fc DIST diskcache-5.5.1.gh.tar.gz 654928 BLAKE2B ba042de4d02b8d1556b56efbcbb5b5f0de861e61f7dff33c5b65c6c7bbd362e72a18293bfcd146faf4a83f6ac31443bae5cf4de80910a9cd49f63149ab93b5f4 SHA512 f9cfa8bcabc36bcc0d36c8c6912756abb7eb2f40b8cfb2b49302a2bf7287e52a16885768aafb74a0517777d460ed03a16c8af2465b4c7ae56175a6a7462b5fcd +DIST diskcache-5.6.1.gh.tar.gz 655959 BLAKE2B 95ba66a8c701796eec1bedcbb514e9288789d52887401f0687374f43c3bd31a502c7e0e0a1fe4b9df05c41a5a1e4efcda8986840749c170295544787e6fd7112 SHA512 a0a6847121089ffe727ec30bd94716d6ab78e5abd4cc8a3230c6ef034b27776be76ca223c3060af3150d2fceadcda670cbf7851c0f47624264342429b29b4f5d diff --git a/dev-python/diskcache/diskcache-5.6.1.ebuild b/dev-python/diskcache/diskcache-5.6.1.ebuild new file mode 100644 index 000000000000..cb99ca88f78c --- /dev/null +++ b/dev-python/diskcache/diskcache-5.6.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +HOMEPAGE=" + https://grantjenks.com/docs/diskcache/ + https://github.com/grantjenks/python-diskcache/ + https://pypi.org/project/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 ~loong ~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 +} |