diff mbox series

[bug#47934] gnu: Add python-logutils.

Message ID fc87faf3-2934-7632-3256-d00ca4a8d2c8@gnu.org
State Accepted
Headers show
Series [bug#47934] gnu: Add python-logutils. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Roel Janssen April 21, 2021, 1:48 p.m. UTC
Hi Guix,

Here's a patch for python-logutils.

Kind regards,
Roel Janssen

Comments

Roel Janssen May 28, 2021, 8:50 a.m. UTC | #1
On Wed, 2021-04-21 at 15:48 +0200, Roel Janssen wrote:
> Hi Guix,
> 
> Here's a patch for python-logutils.
> 
> Kind regards,
> Roel Janssen
> 

Pushed in 0b31e45b49af76d02ad760162ffe69d6c3cb854f.
diff mbox series

Patch

From ba331d53537c6d8a693361316adf76477656e310 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 21 Apr 2021 15:45:56 +0200
Subject: [PATCH] gnu: Add python-logutils.

* gnu/packages/python-xyz.scm (python-logutils): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5cf0b61c68..45d4594d31 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -693,6 +693,27 @@  module and then similar looking characters are removed.")
 and function call return values in a human-readable way.")
     (license license:asl2.0)))
 
+(define-public python-logutils
+  (package
+  (name "python-logutils")
+  (version "0.3.5")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "logutils" version))
+      (sha256
+        (base32
+          "10lsi5wv5ysnvf9ya4ncbix6mmipnv5067sf2cglc2f2sljql1dw"))))
+  (build-system python-build-system)
+  (home-page "https://bitbucket.org/vinay.sajip/logutils/")
+  (synopsis "Logging utilities for Python")
+  (description "This package provides a set of handlers for the Python
+standard library's logging package.  Some of these handlers are
+out-of-scope for the standard library, and so they are packaged here.
+Others are updated versions which have appeared in recent Python releases,
+but are usable with older versions of Python and so are packaged here.")
+  (license license:bsd-3)))
+
 (define-public python2-shapely
   (package-with-python2 python-shapely))
 
-- 
2.31.1