dev-python/reflink: Replace virtual/python-cffi dep

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-06-11 11:17:08 +02:00
parent 5dae13489d
commit 0a421aee75

View File

@@ -4,20 +4,30 @@
EAPI=8
DISTUTILS_IN_SOURCE_BUILD=1
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="Python wrapper around the reflink system calls"
HOMEPAGE="https://gitlab.com/rubdos/pyreflink"
HOMEPAGE="
https://gitlab.com/rubdos/pyreflink/
https://pypi.org/project/reflink/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~ppc64 ~x86"
RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}
RDEPEND="
$(python_gen_cond_dep '
dev-python/cffi[${PYTHON_USEDEP}]
' 'python*')
"
DEPEND="
${RDEPEND}
"
BDEPEND="
${RDEPEND}
test? ( sys-fs/btrfs-progs )
"