32 lines
649 B
Bash
32 lines
649 B
Bash
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||
|
inherit distutils-r1
|
||
|
|
||
|
DESCRIPTION="Cache results of operations on heavy file trees"
|
||
|
HOMEPAGE="https://github.com/con/fscacher"
|
||
|
SRC_URI="https://github.com/con/fscacher/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
SLOT="0"
|
||
|
LICENSE="MIT"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-python/appdirs[${PYTHON_USEDEP}]
|
||
|
dev-python/joblib[${PYTHON_USEDEP}]
|
||
|
"
|
||
|
DEPEND="
|
||
|
test? (
|
||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||
|
)
|
||
|
"
|
||
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-0.1.4-coverage.patch"
|
||
|
)
|
||
|
|
||
|
distutils_enable_tests pytest
|