From patchwork Wed Oct 27 11:01:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 34103 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 EF8B927BBE3; Wed, 27 Oct 2021 12:02:18 +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_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED 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 AA6EC27BBE1 for ; Wed, 27 Oct 2021 12:02:18 +0100 (BST) Received: from localhost ([::1]:38476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfghF-0005Xk-MG for patchwork@mira.cbaines.net; Wed, 27 Oct 2021 07:02:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfgh0-0005Xa-8l for guix-patches@gnu.org; Wed, 27 Oct 2021 07:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfggz-0005Pq-Nw for guix-patches@gnu.org; Wed, 27 Oct 2021 07:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfggz-00075Y-Lc for guix-patches@gnu.org; Wed, 27 Oct 2021 07:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51432] [PATCH 3/4] gnu: Add marshmallow-jsonapi Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51432@debbugs.gnu.org Cc: Guix-patches Received: via spool by 51432-submit@debbugs.gnu.org id=B51432.163533249727213 (code B ref 51432); Wed, 27 Oct 2021 11:02:01 +0000 Received: (at 51432) by debbugs.gnu.org; 27 Oct 2021 11:01:37 +0000 Received: from localhost ([127.0.0.1]:48500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfggb-00074r-4N for submit@debbugs.gnu.org; Wed, 27 Oct 2021 07:01:37 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:35112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgga-00074e-03 for 51432@debbugs.gnu.org; Wed, 27 Oct 2021 07:01:36 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id 8C37E270543E; Wed, 27 Oct 2021 13:01:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1635332490; bh=6WV1XQYtOfYPjYqvs+3XZX0WZQFNlL0w4qiutOuG1EU=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=evr5Bxrn9CyT6kld8XvMJ8qCsv4nUOvcp2kom3paLtTOM6GPL4TyHp8UsUvHNjPsl +p29sWACeiGkO6SLngzvlUaQauI73bGoL11Z/1JlkOiZM3aKAfKB5FolbpsduK9w42 FJ7ARjybelhrp029UHnaF3JacV6o1F+8zviyJlS4i3UpIfg2ApVqj3Be0QolMPbUXJ ShnQ9ctosNcYvKmV+1hkIKNkdKPz5ctyEhtF/ya4huLe+1qjxOih+qNntKCTfULMuF qyCgIWMveCC0G8HlrW6khnKv7dcM9jwlLjQcaGsaLlJpi+hz6JkxCsnGVm50fli62P peQ6QLDdbsGdg== X-Fuglu-Suspect: a02ee75968c344a5897024df2d832578 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; Wed, 27 Oct 2021 13:01:24 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 27 Oct 2021 13:01:24 +0200 From: david larsson In-Reply-To: References: Message-ID: <77232ac1914f40ac2d037ef20153d913@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 On 2021-10-27 12:52, david larsson wrote: > Hi! > This patch series is to add python-flask-combo-jsonapi and necessary > dependencies. > > Best regards, > David Adds the dependency on marshmallow-jsonapi. From bce66e910d26e1d9bc6b5156817fa56c57e9f0fa Mon Sep 17 00:00:00 2001 From: David Larsson Date: Tue, 26 Oct 2021 19:51:50 +0200 Subject: [PATCH 3/4] gnu: Add marshmallow-jsonapi. * gnu/packages/python-xyz.scm (python-marshmallow-jsonapi): 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 9ca075e941..ea7ba72a6e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19190,6 +19190,37 @@ Python datatypes") complex datatypes to and from native Python datatypes.") (license license:expat))) ; MIT license +(define-public python-marshmallow-jsonapi + (package + (name "python-marshmallow-jsonapi") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "marshmallow-jsonapi" version)) + (sha256 + (base32 + "1d9pxcgmln4gls99vwj1h24qv0lz7fb2jqmqrsiv1pid1snc125x")))) + (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.31.0