unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53508] [PATCH] [PATCH] Add the package: python-multipart
@ 2022-01-24 17:34 Pierre-Henry Fröhring
  2022-03-07 20:49 ` bug#53508: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Henry Fröhring @ 2022-01-24 17:34 UTC (permalink / raw)
  To: 53508; +Cc: Pierre-Henry Fröhring

From: Pierre-Henry Fröhring <phf@phf.net>

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8bd5f65..1a47f89 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28768,3 +28768,29 @@ implementation, so that it supports any Galois field higher than 2^3,
 but not binary streams.")
     (license license:public-domain)))
 
+(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"))))
+    (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)))
2.31.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#53508: [PATCH] [PATCH] Add the package: python-multipart
  2022-01-24 17:34 [bug#53508] [PATCH] [PATCH] Add the package: python-multipart Pierre-Henry Fröhring
@ 2022-03-07 20:49 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-03-07 20:49 UTC (permalink / raw)
  To: Pierre-Henry Fröhring; +Cc: Pierre-Henry Fröhring, 53508-done

Hi,

Pierre-Henry Fröhring <contact@phfrohring.com> skribis:

> From: Pierre-Henry Fröhring <phf@phf.net>
>
> ---
>  gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)

I tweaked the commit log as per our conventions and applied it.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-07 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 17:34 [bug#53508] [PATCH] [PATCH] Add the package: python-multipart Pierre-Henry Fröhring
2022-03-07 20:49 ` bug#53508: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).