summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-22 13:20:33 -0300
committerVinicius Monego <monego@posteo.net>2025-06-22 22:04:17 -0300
commit73b7e4686aa7e216824f28acaeef7b94f3a7c110 (patch)
treef590bad2bb15240c5fcea8249bfedd27b4482e97 /gnu/packages/python-xyz.scm
parent99f85246e199bb9c98a3a0deebe3a257c7ce5ae1 (diff)
gnu: python-logbook: Update to 1.8.2.
* gnu/packages/python-xyz.scm (python-logbook): Update to 1.8.2. [source]: Update URI. [build-system]: Use pyproject-build-system. [arguments]<#:phases>: Delete unnecessary phase 'cythonize-sources'. Do not override the 'check' phase. [native-inputs]: Remove python-cython, python-mock, python-pytest-cov. Add python-cython-3, python-setuptools, python-wheel. Change-Id: I4b4c8ea60bc0ad7fdcb4d5320e5337f3ca38ed6f
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm28
1 files changed, 9 insertions, 19 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 335a9c1f61..ea6fca8908 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1428,30 +1428,20 @@ easy logging and rotating to a console or a file.")
(define-public python-logbook
(package
(name "python-logbook")
- (version "1.5.3")
+ (version "1.8.2")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "Logbook" version))
+ (uri (pypi-uri "logbook" version))
(sha256
- (base32 "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'cythonize-sources
- (lambda _
- (with-directory-excursion "logbook"
- (invoke "cython" "_speedups.pyx"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Check cython build also
- (setenv "CYBUILD" "True")
- (invoke "pytest" "--cov=logbook" "-r" "s" "tests")))))))
+ (base32 "0afk1nmvj9fp3igzmxa4a048fm21sa4aw1z2ix8jzvs62ry7j6bd"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-cython python-mock python-pytest python-pytest-cov
- python-brotli))
+ (list python-brotli
+ python-cython-3
+ python-pytest
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/getlogbook/logbook")
(synopsis "Logbook is a logging replacement for Python")
(description