Subject: [bug#58868] [PATCH 3/4] python-better-exceptions: New package

From: Jacob Hrbek <[email-masked]>
Date: Sat, 29 Oct 2022 17:08:52 +0000

---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6818b50d8e..d9abe8b1d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9696,6 +9696,25 @@ (define-public python-beautifulsoup4
 converts incoming documents to Unicode and outgoing documents to UTF-8.")
     (license license:expat)))

+(define-public python-better-exceptions
+  (package
+    (name "python-better-exceptions")
+    (version "0.3.3")
+    (synopsis "Pretty and helpful exceptions, automatically")
+    (description "Pretty and helpful exceptions, automatically")
+    (home-page "https://github.com/qix-/better-exceptions")
+    (license license:expat)
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "better_exceptions" version))
+              (sha256
+               (base32
+                "0fs5nfg7xdbx5hb1h1148kax68g9wn0h7cclx3k08psd8hcbrrp4"))))
+    (build-system python-build-system)
+    (arguments
+     ;; FIXME: python-build-system needs update for the check to work: 'Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox'
+     `(#:tests? #f))))
+
 (define-public python-soupsieve
   (package
     (name "python-soupsieve")
--
2.37.3