dev-python/logbook: Bump to 1.8.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-15 04:58:50 +02:00
parent 5afa127ef1
commit 37ebeebb02
2 changed files with 53 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST logbook-1.8.1.gh.tar.gz 364883 BLAKE2B 1a200a5dddbd6e414c17e294e412737ab5bdebd18acf707be08aef47fd16d445f6b3d726614f67142c05a6136541d6f86b0e9893a5c9980b9545406c77e4b82f SHA512 3a7960a34c30cf14319dbb01d12dbfb3bf87d624b75d692e417a95ee5357c92b1fa46678f3c546d0e539f60367a13a19bfb0f83c27d151cb972e0cf4fb278105
DIST logbook-1.8.2.gh.tar.gz 364904 BLAKE2B 1430d8f017279c4ebd5f4338da8ff43b3a0ba2227001a34c7cc4f67f5088ecd0796baa45845bf1cfe84da117ad8110bc6fea0691e778aa0e4dec8f81ff29fed4 SHA512 87d7e1617a5a41832ae2d837cd435d8a2ef1378bc10e321dffe7e793a843910788d53a6c9ff9396223bf3e002b4fef4e339805e088ce1542da147ff773f198d0

View File

@@ -0,0 +1,52 @@
# 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..13} )
inherit distutils-r1
DESCRIPTION="A logging replacement for Python"
HOMEPAGE="
https://logbook.readthedocs.io/en/stable/
https://github.com/getlogbook/logbook/
https://pypi.org/project/Logbook/
"
SRC_URI="
https://github.com/getlogbook/logbook/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
BDEPEND="
test? (
app-arch/brotli[${PYTHON_USEDEP},python]
>=dev-python/execnet-1.0.9[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/pip[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
dev-python/pyzmq[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs
python_configure_all() {
export DISABLE_LOGBOOK_CEXT=1
}
python_test() {
local EPYTEST_DESELECT=(
# Delete test file requiring local connection to redis server
tests/test_queues.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p rerunfailures
}