GNU bug report logs - #49123
[PATCH 0/24] Add mirage

Previous Next

Package: guix-patches;

Reported by: slg <0x2d <at> disroot.org>

Date: Sun, 20 Jun 2021 00:25:02 UTC

Severity: normal

Tags: patch

Full log


Message #23 received at 49123 <at> debbugs.gnu.org (full text, mbox):

From: slg <0x2d <at> disroot.org>
To: 49123 <at> debbugs.gnu.org
Cc: slg <0x2d <at> disroot.org>
Subject: [PATCH 06/24] gnu: Add python-logbook.
Date: Sat, 19 Jun 2021 22:07:24 -0300
* gnu/packages/python-xyz.scm (python-logbook): New variable.
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6831e2365b..bb3997501b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26034,3 +26034,33 @@ HTML cleaner in lxml to make the result both valid and safe.")
 and MIME type checking the magic numbers signature of a file or buffer.  This
 is a Python port from filetype Go package.")
     (license license:x11)))
+
+(define-public python-logbook
+  (package
+    (name "python-logbook")
+    (version "1.5.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Logbook" version))
+       (sha256
+        (base32
+         "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36"))))
+    (build-system python-build-system) ;; TODO: fix native extension build
+    ;; Fails with gcc trying to compile unexistent file 'logbook/_speedups.c'.
+    ;; Apparently it is generated from logbook/_speedups.pyx, I do not know if
+    ;; an extra build phase is needed to generate this file.
+    (arguments
+     `(#:tests? #f)) ;; Needs native extension, which for some reason will
+                     ;; not be compiled.
+    (propagated-inputs
+     `(("python-jinja2" ,python-jinja2)
+       ("python-sqlalchemy" ,python-sqlalchemy)
+       ("python-redis" ,python-redis)
+       ("python-pyzmq" ,python-pyzmq)
+       ("python-execnet" ,python-execnet)
+       ("python-brotli" ,python-brotli)))
+    (home-page "https://logbook.readthedocs.io/en/stable")
+    (synopsis "Python logging library")
+    (description "An awesome logging implementation that is fun to use.")
+    (license license:bsd-1)))
-- 
2.32.0





This bug report was last modified 3 years and 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.