dev-python/filelock - 4.0.11 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/filelock-4.0.11

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/filelock-4.0.11

Or alternatively:

emerge --autounmask-write -a =dev-python/filelock-4.0.11

Package Information

Description:
A platform independent file lock for Python
Homepage:
https://github.com/tox-dev/filelock/ https://pypi.org/project/filelock/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
4.0.11 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos 0
View Raw Ebuild
# 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
)

Inherited Eclasses

Dependencies

BDEPEND

	dev-python/hatch-vcs[]
	test? (
		dev-python/virtualenv[]
	)