commit: e0db7cc7dde30c86f65a25b05bcf2222cf56c501
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 15 03:01:42 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 03:23:25 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0db7cc7
dev-python/portalocker: Bump to 3.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/portalocker/Manifest | 1 +
dev-python/portalocker/portalocker-3.2.0.ebuild | 51 +++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/portalocker/Manifest b/dev-python/portalocker/Manifest
index 1fbee53fd126..8c8797f53479 100644
--- a/dev-python/portalocker/Manifest
+++ b/dev-python/portalocker/Manifest
@@ -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
diff --git a/dev-python/portalocker/portalocker-3.2.0.ebuild
b/dev-python/portalocker/portalocker-3.2.0.ebuild
new file mode 100644
index 000000000000..0597842ed3a5
--- /dev/null
+++ b/dev-python/portalocker/portalocker-3.2.0.ebuild
@@ -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
+}