From patchwork Mon Jan 24 17:34:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 36787 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5F67E27BBEA; Mon, 24 Jan 2022 18:17:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2CBCF27BBE9 for ; Mon, 24 Jan 2022 18:17:24 +0000 (GMT) Received: from localhost ([::1]:38198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nC3u6-0003ph-UB for patchwork@mira.cbaines.net; Mon, 24 Jan 2022 13:17:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC3H4-0006J3-Hz for guix-patches@gnu.org; Mon, 24 Jan 2022 12:37:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC3H4-0002R9-6a for guix-patches@gnu.org; Mon, 24 Jan 2022 12:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nC3H4-0000Hf-2i for guix-patches@gnu.org; Mon, 24 Jan 2022 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53508] [PATCH] [PATCH] Add the package: python-multipart Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jan 2022 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53508 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53508@debbugs.gnu.org Cc: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16430458101067 (code B ref -1); Mon, 24 Jan 2022 17:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2022 17:36:50 +0000 Received: from localhost ([127.0.0.1]:45645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC3Gr-0000H9-Mt for submit@debbugs.gnu.org; Mon, 24 Jan 2022 12:36:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:40980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC3Gp-0000H1-T7 for submit@debbugs.gnu.org; Mon, 24 Jan 2022 12:36:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC3Gp-0005PX-KY for guix-patches@gnu.org; Mon, 24 Jan 2022 12:36:47 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:48747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC3Gk-0002H9-MG for guix-patches@gnu.org; Mon, 24 Jan 2022 12:36:47 -0500 Received: (Authenticated sender: contact@phfrohring.com) by mail.gandi.net (Postfix) with ESMTPSA id CE27D60002; Mon, 24 Jan 2022 17:35:38 +0000 (UTC) From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Mon, 24 Jan 2022 18:34:33 +0100 Message-Id: <20220124173433.293164-1-contact@phfrohring.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.183.195; envelope-from=contact@phfrohring.com; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 24 Jan 2022 12:43:20 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 2.31.1 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)))