summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/logbook/Manifest1
-rw-r--r--dev-python/logbook/logbook-1.8.1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/logbook/Manifest b/dev-python/logbook/Manifest
index a428cd9d9447..923a154efdb3 100644
--- a/dev-python/logbook/Manifest
+++ b/dev-python/logbook/Manifest
@@ -1 +1,2 @@
DIST logbook-1.8.0.gh.tar.gz 364862 BLAKE2B 1b245223ab9d3b026967b626e1cba2fed3d03b5abc745be238f76c2ddebf8e0909597acdad3a3e70738b8c9b9e6350f4d23d5e02c8f1b1d8ff6ec5f6509d2b9f SHA512 73e4d9170af6c4db6eadf27e84419927136658c786b173e5eae91dc9499d3c374fe5a4a7e8f7bc463194b19648aee23aceba0cce9a63fd25a6ee0a53b1dbe8f9
+DIST logbook-1.8.1.gh.tar.gz 364883 BLAKE2B 1a200a5dddbd6e414c17e294e412737ab5bdebd18acf707be08aef47fd16d445f6b3d726614f67142c05a6136541d6f86b0e9893a5c9980b9545406c77e4b82f SHA512 3a7960a34c30cf14319dbb01d12dbfb3bf87d624b75d692e417a95ee5357c92b1fa46678f3c546d0e539f60367a13a19bfb0f83c27d151cb972e0cf4fb278105
diff --git a/dev-python/logbook/logbook-1.8.1.ebuild b/dev-python/logbook/logbook-1.8.1.ebuild
new file mode 100644
index 000000000000..f90410687d6a
--- /dev/null
+++ b/dev-python/logbook/logbook-1.8.1.ebuild
@@ -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_{10..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
+}