From patchwork Wed Oct 27 10:56:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 34101 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 7FDBC27BBE3; Wed, 27 Oct 2021 11:58:12 +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 426E927BBE1 for ; Wed, 27 Oct 2021 11:58:12 +0100 (BST) Received: from localhost ([::1]:36874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfgdH-0004Au-Dj for patchwork@mira.cbaines.net; Wed, 27 Oct 2021 06:58:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfgd9-00046B-2J for guix-patches@gnu.org; Wed, 27 Oct 2021 06:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfgd8-0004kK-J8 for guix-patches@gnu.org; Wed, 27 Oct 2021 06:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfgd8-0006xq-GU for guix-patches@gnu.org; Wed, 27 Oct 2021 06:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51432] [PATCH 1/4] gnu: Add sqlalchemy-1.3 Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 10:58:02 +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 Received: via spool by 51432-submit@debbugs.gnu.org id=B51432.163533222226694 (code B ref 51432); Wed, 27 Oct 2021 10:58:02 +0000 Received: (at 51432) by debbugs.gnu.org; 27 Oct 2021 10:57:02 +0000 Received: from localhost ([127.0.0.1]:48490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgcA-0006wK-8q for submit@debbugs.gnu.org; Wed, 27 Oct 2021 06:57:02 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:33166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgc8-0006vz-2Z for 51432@debbugs.gnu.org; Wed, 27 Oct 2021 06:57:01 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id 215EB2705363 for <51432@debbugs.gnu.org>; Wed, 27 Oct 2021 12:56:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1635332213; bh=kKGDtr83aq/DzkMDqeb42R7GBHXAoUL030wjrEISTWQ=; h=Date:From:To:Subject:In-Reply-To:References; b=uj4yeSI97Og8jmk+kKRWDJSpp7EEbgWEt+bLSNgnrHbbc4X1ZPkxyII2Zk3klA++r rdJ+ub+/AkE4Nm0bxYXw8daNN9tPUD/FWfNK3dM/cq3aXSELm2mOaJPj3A9+4tJk6Q htDkrhpog1Qfk64Ln8VGw28SbPs4WxwIW86gDWHdjvZo6PSL9D666/KHZ0u4qcUFyu hM9T1UYbO7GNn7fCxzzeDgvTKjNIkQMJ+My5fXK6iow6LYc4A/EudywHVhKhkNyVIu FHp5+3wExHnIqJ2pPs8T99ou7NAotoRyczr0t8pysQpHUYYCwm09Tnj1sXNuQm32Od lDV8/MjBfJcrg== X-Fuglu-Suspect: a475bec81060418c805ea49d2b15a4f0 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 <51432@debbugs.gnu.org>; Wed, 27 Oct 2021 12:56:39 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 27 Oct 2021 12:56:38 +0200 From: david larsson In-Reply-To: References: Message-ID: <98ab18241bb0ad6493ee361c723890a3@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 sqlalchemy-1.3 because flask-combo-jsonapi requires less than version 1.4. From 5f49c1f0cb150199d485eb886e329bd05dc7383d Mon Sep 17 00:00:00 2001 From: David Larsson Date: Tue, 26 Oct 2021 19:39:37 +0200 Subject: [PATCH 1/4] gnu: Add sqlalchemy-1.3. * gnu/packages/databases.scm (python-sqlalchemy-1.3): New variable. --- gnu/packages/databases.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 0da6c2d1be..ef3b407ae4 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3006,6 +3006,38 @@ designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language.") (license license:x11))) +(define-public python-sqlalchemy-1.3 + (package + (name "python-sqlalchemy") + (version "1.3.20") + (source + (origin + (method url-fetch) + (uri (pypi-uri "SQLAlchemy" version)) + (sha256 + (base32 "18b9am7bsqc4nj3d2h5r93i002apczxfvpfpcqbd6f0385zmrwnj")))) + (build-system python-build-system) + (native-inputs + `(("python-cython" ,python-cython) ; for C extensions + ("python-pytest" ,python-pytest) + ("python-mock" ,python-mock))) ; for tests + ;; (propagated-inputs + ;; `(("python-greenlet" ,python-greenlet))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ (invoke "py.test")))))) + (home-page "https://www.sqlalchemy.org") + (synopsis "Database abstraction library") + (description + "SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that +gives application developers the full power and flexibility of SQL. It +provides a full suite of well known enterprise-level persistence patterns, +designed for efficient and high-performing database access, adapted into a +simple and Pythonic domain language.") + (license license:x11))) + (define-public python2-sqlalchemy (package-with-python2 python-sqlalchemy)) -- 2.31.0 From patchwork Wed Oct 27 10:59:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 34102 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 223D227BBE3; Wed, 27 Oct 2021 12:00:36 +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 D6AB227BBE1 for ; Wed, 27 Oct 2021 12:00:35 +0100 (BST) Received: from localhost ([::1]:38224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfgfb-00059d-0g for patchwork@mira.cbaines.net; Wed, 27 Oct 2021 07:00:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfgf5-00059E-LU for guix-patches@gnu.org; Wed, 27 Oct 2021 07:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfgf4-0004uw-Bk for guix-patches@gnu.org; Wed, 27 Oct 2021 07:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfgf4-00071F-Ao for guix-patches@gnu.org; Wed, 27 Oct 2021 07:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51432] [PATCH 2/4] gnu: Add marshmallow 3.2 Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 11:00:02 +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 Received: via spool by 51432-submit@debbugs.gnu.org id=B51432.163533239326935 (code B ref 51432); Wed, 27 Oct 2021 11:00:02 +0000 Received: (at 51432) by debbugs.gnu.org; 27 Oct 2021 10:59:53 +0000 Received: from localhost ([127.0.0.1]:48495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgeu-00070L-Ow for submit@debbugs.gnu.org; Wed, 27 Oct 2021 06:59:52 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:34408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfger-000707-0S for 51432@debbugs.gnu.org; Wed, 27 Oct 2021 06:59:50 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id CF99827053DC for <51432@debbugs.gnu.org>; Wed, 27 Oct 2021 12:59:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1635332382; bh=xKXTfQjubUDZ9zHyM8deBN6+ARQGldvSM9VHLpJBn5Y=; h=Date:From:To:Subject:In-Reply-To:References; b=f8j5/JTp8z/uzGlCD+oZ04xippsxzDJUJmrZ3uh9+PqL5zj8fDXGJV7sqzUIwXLnD aXLMlXS1EHl81Db7DBrQJXdQow156V1Orn5ti5IVL86zFeE5v/oZ40SgIYvgJI2Dpi K+/T6N/QXrfUx9o+afKvllJ4iCBq/cjucmVfhvyP0M267JsD85afyR4PfSJlH8sZez qKsDeCtriHPTibax/EJNy/y5KNH5h6lFNdhd6C93qCFWqzjtB6k4HxBSwWxjUPpSc5 8hCCsvjLuL7uNlr2SaYvq5HZXDAYYNKZc7RfHBG15RH8kLYpQdZsRGxX33k8hu5rG6 j74Ao1om0qpbw== X-Fuglu-Suspect: 5f288c1b93c54b5d994f3b44e9aece12 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 <51432@debbugs.gnu.org>; Wed, 27 Oct 2021 12:59:36 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 27 Oct 2021 12:59:36 +0200 From: david larsson In-Reply-To: References: Message-ID: <2cd5b21bb5273bf4f76414276c52ef13@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 flask-combo-jsonapi needs a marshmallow that is at version 3.2. From 1467067415f940c410c95b7426a4d996173811cd Mon Sep 17 00:00:00 2001 From: David Larsson Date: Tue, 26 Oct 2021 19:44:35 +0200 Subject: [PATCH 2/4] gnu: Add marshmallow-3.2. * gnu/packages/python-xyz.scm (python-marshmallow-3.2): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a7b1e0efe2..9ca075e941 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19165,6 +19165,31 @@ Python datatypes.") complex datatypes to and from native Python datatypes.") (license license:expat))) +(define-public python-marshmallow-3.2 + (package + (name "python-marshmallow") + (version "3.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "marshmallow" version)) + (sha256 + (base32 + "1w18klwj0z9bqxj252qpj1hz8l46nl27sbc89rkajc7mln73wbws")))) + (build-system python-build-system) + (propagated-inputs + `(("python-dateutil" ,python-dateutil) + ("python-simplejson" ,python-simplejson))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytz" ,python-pytz))) + (home-page "https://github.com/marshmallow-code/marshmallow") + (synopsis "Convert complex datatypes to and from native +Python datatypes") + (description "@code{marshmallow} provides a library for converting +complex datatypes to and from native Python datatypes.") + (license license:expat))) ; MIT license + (define-public python-apispec (package (name "python-apispec") -- 2.31.0 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 From patchwork Wed Oct 27 11:02:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 34104 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 BEBE627BBE3; Wed, 27 Oct 2021 12:03:23 +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 4E2AF27BBE1 for ; Wed, 27 Oct 2021 12:03:23 +0100 (BST) Received: from localhost ([::1]:38712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfgiH-0005nu-T3 for patchwork@mira.cbaines.net; Wed, 27 Oct 2021 07:03:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfghy-0005nM-HT for guix-patches@gnu.org; Wed, 27 Oct 2021 07:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36959) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfghy-0005Yd-9b for guix-patches@gnu.org; Wed, 27 Oct 2021 07:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfghy-00077E-6b for guix-patches@gnu.org; Wed, 27 Oct 2021 07:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51432] [PATCH 4/4] gnu: Add flask-combo-jsonapi Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 11:03:02 +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.163533255627315 (code B ref 51432); Wed, 27 Oct 2021 11:03:02 +0000 Received: (at 51432) by debbugs.gnu.org; 27 Oct 2021 11:02:36 +0000 Received: from localhost ([127.0.0.1]:48505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfghY-00076U-Gp for submit@debbugs.gnu.org; Wed, 27 Oct 2021 07:02:36 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:35472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfghX-00076H-At for 51432@debbugs.gnu.org; Wed, 27 Oct 2021 07:02:35 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id DCB372705488; Wed, 27 Oct 2021 13:02:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1635332549; bh=pFvEwOb2ORFolsbMl5eYK7Ft0dxMswZaboO9JBIuEaE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=aebM2NvM83t26znjrnlyeOrNuy0USJLWNxS+HSQ9BhJbfR3Kij5NTKXKlHl/CuIYU zq170SczfI1c5eNg8I9aYq3xA6l+BdrfZnG0lbXdfKurUKP6YUd2YqDaQflcgTDQR8 ceKyWe2YNWZb1GvJ245maZQnMOEui1bxewLik3US68krOYG9oCZFcKy5dcILxT7hgR FV3rUpvuU59MYePsspcAoTp4/jqedyxRyI0BWGgxdExGGfErbrgcrABONPw7HBwWwB oVAbqX+pF6ZTAwDtJq7XHmStDMubOGG8rZ2ubXrGjd5+K4+63xLADPv2mLRrnvfJ2g pzczIv6d+W2Dw== X-Fuglu-Suspect: 98ce171410d0496390fd74c6ea665773 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:02:23 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 27 Oct 2021 13:02:23 +0200 From: david larsson In-Reply-To: References: Message-ID: <9fbd923745c213a3e86cb9701aa8af9e@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 Finally, adds the package flask-combo-jsonapi. From 6fbec5bdd04c5661b805cf958f36478cfc7883f8 Mon Sep 17 00:00:00 2001 From: David Larsson Date: Wed, 27 Oct 2021 09:04:40 +0200 Subject: [PATCH 4/4] gnu: Add flask-combo-jsonapi. * gnu/packages/python-web.scm (python-flask-combo-jsonapi): New variable. --- gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a38ed5c268..0d173aa09d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6249,3 +6249,37 @@ communicate with Microsoft Azure Storage services.") comments, or tags from HTML snippets, extract base url from HTML snippets, translate entities on HTML strings, among other things.") (license license:bsd-3))) + +(define-public python-flask-combo-jsonapi + (package + (name "python-flask-combo-jsonapi") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/AdCombo/flask-combo-jsonapi/archive/" + version ".tar.gz")) + (sha256 + (base32 + "1sygp9rx7zb1dbjxhb11mpas0c0px4md7mvi9pwbh1s1rr1glm3m")))) + (build-system python-build-system) + (propagated-inputs + `(("python-flask" ,python-flask) + ("python-marshmallow" ,python-marshmallow-3.2) + ("python-marshmallow-jsonapi" ,python-marshmallow-jsonapi) + ("python-simplejson" ,python-simplejson) + ("python-sqlalchemy" ,python-sqlalchemy-1.3) + ("python-apispec" ,python-apispec) + ("python-simplejson" ,python-simplejson) + ("python-six" ,python-six))) + (native-inputs `(("python-coverage" ,python-coverage) + ("python-coveralls" ,python-coveralls) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (home-page "https://github.com/AdCombo/flask-combo-jsonapi") + (synopsis + "Flask extension to create REST web api according to JSON:API 1.0 specification with Flask, Marshmallow and data provider of your choice (SQLAlchemy, MongoDB, ...)") + (description + "Flask extension to create REST web api according to JSON:API 1.0 specification with Flask, Marshmallow and data provider of your choice (SQLAlchemy, MongoDB, ...)") + (license license:expat))) -- 2.31.0