From patchwork Sun Apr 18 06:56:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 28640 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 0F48627BC77; Sun, 18 Apr 2021 07:57:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 913BC27BC6C for ; Sun, 18 Apr 2021 07:57:18 +0100 (BST) Received: from localhost ([::1]:36332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY1Mr-00015d-QE for patchwork@mira.cbaines.net; Sun, 18 Apr 2021 02:57:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY1Mc-00015R-2P for guix-patches@gnu.org; Sun, 18 Apr 2021 02:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lY1Mb-0001XB-R8 for guix-patches@gnu.org; Sun, 18 Apr 2021 02:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lY1Mb-00050x-QE for guix-patches@gnu.org; Sun, 18 Apr 2021 02:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47864] [PATCH 2/3] gnu: Add marshmallow-jsonapi. References: In-Reply-To: Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Apr 2021 06:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47864 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47864@debbugs.gnu.org Received: via spool by 47864-submit@debbugs.gnu.org id=B47864.161872901719265 (code B ref 47864); Sun, 18 Apr 2021 06:57:01 +0000 Received: (at 47864) by debbugs.gnu.org; 18 Apr 2021 06:56:57 +0000 Received: from localhost ([127.0.0.1]:45163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1MX-00050e-9I for submit@debbugs.gnu.org; Sun, 18 Apr 2021 02:56:57 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:58844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1MU-00050P-KN for 47864@debbugs.gnu.org; Sun, 18 Apr 2021 02:56:55 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id B2BCE1D36ED8 for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:56:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1618729007; bh=rlmm96t8jTgrN3eB0wUrwVkLcOmX+1JJXCytpeXb0TM=; h=Date:From:To:Subject; b=ATcfdnN4myB3wJuLuFeQVx5KMHofRi+/yRWsxL9LDXren8JOqwQ/TZpHkdy6hvT53 x0X3U03Piq2gVGu1KsciHkNyadXi0z8utgfUeShaaBcGk3gpP+9UohUmAv24DKNZ3/ RhIZeQOuCZ+32LFH6eqncRBtEvZSjMGaU2GSe+BTjiZ2H2xtqyzcpY8eNJ+MeTU0L1 Y5X+evaDJOrQ6YRL6MRLDuSSTP4C5rF17UTp4Brk0A0/zhVKbEq7J3jbjfEABQtF9D QTtFWqDbX1VmSMBUoIa+lX40jguO5AcXOq+74JTposp5mLDuRMyb9Bb5bIcugKVihB N/G2zO8jMSKvA== X-Fuglu-Suspect: e7bd6eb3eaf04d60be2b7cf48e1a4e96 X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:56:41 +0200 (CEST) MIME-Version: 1.0 Date: Sun, 18 Apr 2021 08:56:41 +0200 From: david larsson Message-ID: <929826b34b04cecaf70403290b2019e8@selfhosted.xyz> X-Sender: david.larsson@selfhosted.xyz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 This patch adds marshmallow-jsonapi locked at version 0.22 since flask-combo-jsonapi needs it locked to this version. From 76d533d57337702ddd1576783fa9fabb0fbf3127 Mon Sep 17 00:00:00 2001 From: methuselah-0 Date: Wed, 31 Mar 2021 17:34:00 +0200 Subject: [PATCH 2/3] gnu: Add marshmallow-jsonapi. * gnu/packages/python-xyz.scm (python-marshmallow-jsonapi-0.22): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 872ba4b281..ae91affd13 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17148,6 +17148,37 @@ Python datatypes") complex datatypes to and from native Python datatypes.") (license license:expat))) ; MIT license +(define-public python-marshmallow-jsonapi-0.22 + (package + (name "python-marshmallow-jsonapi") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "marshmallow-jsonapi" version)) + (sha256 + (base32 + "0rfnagv76f0pwvdcc0604r78nphi7a7b6d5fjga2va522lydah27")))) + (build-system python-build-system) + (propagated-inputs + `(("python-marshmallow" ,python-marshmallow-3.2))) + (native-inputs + `(("python-faker" ,python-faker) + ("python-flake8" ,python-flake8) + ("python-flake8-bugbear" ,python-flake8-bugbear) + ("python-flask" ,python-flask) + ("python-mock" ,python-mock) + ("python-pre-commit" ,python-pre-commit) + ("python-pytest" ,python-pytest) + ("python-tox" ,python-tox))) + (home-page + "https://github.com/marshmallow-code/marshmallow-jsonapi") + (synopsis + "JSON API 1.0 (https://jsonapi.org) formatting with marshmallow") + (description + "JSON API 1.0 (https://jsonapi.org) formatting with marshmallow") + (license license:expat))) ; MIT license + (define-public python-apispec (package (name "python-apispec") -- 2.30.2