GNU bug report logs - #54466
[PATCH] gnu: Add python-textwrap3.

Previous Next

Package: guix-patches;

Reported by: Pradana Adrinusa AUMARS <paumars <at> courrier.dev>

Date: Sat, 19 Mar 2022 14:10:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 54466 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#54466; Package guix-patches. (Sat, 19 Mar 2022 14:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pradana Adrinusa AUMARS <paumars <at> courrier.dev>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 19 Mar 2022 14:10:02 GMT) Full text and rfc822 format available.

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

From: Pradana Adrinusa AUMARS <paumars <at> courrier.dev>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-textwrap3.
Date: Sat, 19 Mar 2022 15:09:15 +0100
From d2e058e8dea50ba5335da1821c0eac2b7a8984e9 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars <at> courrier.dev>
Date: Sat, 19 Mar 2022 15:07:44 +0100
Subject: [PATCH] gnu: Add python-textwrap3.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ed6de5a2b..d0aeefd02d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29181,3 +29181,27 @@ (define-public python-multipart
     (description
      "This package provides a streaming multipart parser for Python.")
     (license license:asl2.0)))
+
+(define-public python-textwrap3
+  (package
+   (name "python-textwrap3")
+   (version "0.9.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "textwrap3" version ".zip"))
+              (sha256
+               (base32
+                "051l1h7f8xdwfjx55n8iflczcmfkasw1i3ynvh1n6vr3vgmyw22h"))))
+   (build-system python-build-system)
+   (native-inputs
+    (list unzip
+	  python-pytest
+	  python-tox
+	  python-pytest-cov))
+   (home-page "https://github.com/jonathaneunice/textwrap3")
+   (synopsis "Compatibility back-port of Python 3.6’s textwrap module.")
+   (description
+    "This package makes a few new APIs such as shorten and the max_lines
+parameter available in a compatible way to all Python versions typically
+in current use.")
+   (license license:psfl)))
-- 
2.34.0






This bug report was last modified 2 years and 10 days ago.

Previous Next


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