diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-19 11:57:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-19 11:57:35 +0100 |
commit | 6031cee8b35a5f0d7a1fee157d2cefcc05649608 (patch) | |
tree | 5c0c42caeec5e4a3c894667d689aad19aaf7ba1f /dev-python/diskcache/diskcache-5.6.1.ebuild | |
parent | 59f8187afe529efeffdc2f967c451b159da44d5c (diff) |
gentoo auto-resync : 19:04:2023 - 11:57:35
Diffstat (limited to 'dev-python/diskcache/diskcache-5.6.1.ebuild')
-rw-r--r-- | dev-python/diskcache/diskcache-5.6.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
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 +} |