Subject: [bug#54737] gnu: python-multipart: Update to 0.2.4.

From: Peter Polidoro <[email-masked]>
Date: Tue, 05 Apr 2022 15:34:05 -0400

>From ac80ae77c153ac8d39fa70ceacb6adf332e6f7bf Mon Sep 17 00:00:00 2001
From: Peter Polidoro <[email-masked]>
Date: Tue, 5 Apr 2022 15:33:07 -0400
Subject: [PATCH] gnu: python-multipart: Update to 0.2.4.

* gnu/packages/python-xyz.scm (python-multipart): Update to 0.2.4.
---
 gnu/packages/python-xyz.scm | 33 +++++++++++----------------------
 1 file changed, 11 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30cab6a113..fd25d3b62e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29320,29 +29320,18 @@ (define-public python-stltools
 (define-public python-multipart
   (package
     (name "python-multipart")
-    (version "0.0.5")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "python-multipart" version))
-              (sha256
-               (base32
-                "0hzshd665rl1bkwvaj9va4j3gs8nmb478fbvligx20663xhmzfzp"))))
+    (version "0.2.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "multipart" version))
+        (sha256
+          (base32 "1jr24lm931pkh4x0amr19w5qknrckcg4z3k1zvz9cw5wc19j1fh6"))))
     (build-system python-build-system)
-    (propagated-inputs (list python-six))
-    (native-inputs (list python-pyyaml python-mock python-pytest-cov))
-    (arguments
-     `(#:phases (modify-phases %standard-phases
-                  ;; There is a bug in the test_suit specification.
-                  (add-after 'unpack 'patch-test-suite
-                    (lambda _
-                      (substitute* "setup.py"
-                        (("test_suite = 'multipart.tests.suite'")
-                         "test_suite = 'multipart.tests.test_multipart.suite'")))))))
-    (home-page "https://github.com/andrew-d/python-multipart")
-    (synopsis "Streaming multipart parser for Python")
-    (description
-     "This package provides a streaming multipart parser for Python.")
-    (license license:asl2.0)))
+    (home-page "http://github.com/defnull/multipart")
+    (synopsis "Parser for multipart/form-data.")
+    (description "Parser for multipart/form-data.")
+    (license license:expat)))
 
 (define-public python-aiopg
   (package
-- 
2.35.1