mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/portalocker: Bump to 3.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST portalocker-3.1.1.gh.tar.gz 36653 BLAKE2B 88fe7b46cf3d2d4b8f6aa2df8b6ac7582eda35965d7af8688e17f9c22c0ff29e671bfe4c74aef91532ce01e957b4777abc2c93bc3c93503f0f7fee995fdfb1ec SHA512 80163a12d8eab1a0e2bc2eb5fd8f4c64f0abb49cbb99faa48d8e7ae4f61996c5c934e661a7a26996000962b68c45d5ab72c41abf03d7e7593dcaa98e69d0478f
|
||||
DIST portalocker-3.2.0.gh.tar.gz 89888 BLAKE2B 94ce9a737cbf19a77045f73d32510b2b1d7ba0bba273aee7cd404136dd919c0290aebbd8982cb0972d360ff05c6009bb958e0d5a4aa875feae785bf2a6914532 SHA512 0777572f34504b8dac8bc009ea32891f88db7c1c82199f444c4caf36a8f71cf1e7626cb0e3a3ce11346b3488c67e60a394ddd9cd28771937962fa35a33767b2d
|
||||
|
||||
51
dev-python/portalocker/portalocker-3.2.0.ebuild
Normal file
51
dev-python/portalocker/portalocker-3.2.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="A library for Python file locking"
|
||||
HOMEPAGE="
|
||||
https://github.com/WoLpH/portalocker/
|
||||
https://portalocker.readthedocs.io/
|
||||
https://pypi.org/project/portalocker/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/WoLpH/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/redis[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-rerunfailures-15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable code coverage in tests.
|
||||
sed -i '/--cov/d' pyproject.toml || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p rerunfailures -p timeout
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "redis support" dev-python/redis
|
||||
}
|
||||
Reference in New Issue
Block a user