Files
gentoo/dev-python/filelock/filelock-4.1.0.ebuild
2026-10-10 06:27:06 +02:00

39 lines
995 B
Bash

# Copyright 2018-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/tox-dev/filelock
PYTHON_COMPAT=( pypy3_12 python3_{12..15} python3_{14..15}t )
inherit distutils-r1 pypi
DESCRIPTION="A platform independent file lock for Python"
HOMEPAGE="
https://github.com/tox-dev/filelock/
https://pypi.org/project/filelock/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
dev-python/virtualenv[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-{asyncio,mock,timeout} )
EPYTEST_RERUNS=5
EPYTEST_XDIST=1
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# TODO
tests/soft_rw/test_soft_rw_async.py::test_async_leaked_singleton_is_closed_on_teardown
tests/soft_rw/test_soft_rw_sync.py::test_leaked_acquired_singleton_is_closed_on_teardown
)