From patchwork Wed Oct 27 18:44:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 34121 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 DF4FE27BBE1; Wed, 27 Oct 2021 20:22:46 +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 661AA27BBE3 for ; Wed, 27 Oct 2021 20:22:46 +0100 (BST) Received: from localhost ([::1]:47406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfoVZ-0005ut-7a for patchwork@mira.cbaines.net; Wed, 27 Oct 2021 15:22:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfnv5-0003Sj-RC for guix-patches@gnu.org; Wed, 27 Oct 2021 14:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfnv4-0000TK-4k for guix-patches@gnu.org; Wed, 27 Oct 2021 14:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfnv4-0000VB-2u for guix-patches@gnu.org; Wed, 27 Oct 2021 14:45: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 18:45: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.16353602741875 (code B ref 51432); Wed, 27 Oct 2021 18:45:02 +0000 Received: (at 51432) by debbugs.gnu.org; 27 Oct 2021 18:44:34 +0000 Received: from localhost ([127.0.0.1]:50549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfnuc-0000UB-Eg for submit@debbugs.gnu.org; Wed, 27 Oct 2021 14:44:34 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:43492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfnuY-0000Ts-SJ for 51432@debbugs.gnu.org; Wed, 27 Oct 2021 14:44:33 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id D02892705F81 for <51432@debbugs.gnu.org>; Wed, 27 Oct 2021 20:44:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1635360262; bh=KVF2gFSMZfQZicqmmz3z2gpkiWaTWpVXGvXs8MdyBLU=; h=Date:From:To:Subject:In-Reply-To:References; b=nxKDWiLqx78nrLt97RBKMMD+APmS1uEHFznfV5scNDi8Abeqpp9JFFsWuC6hjNRvB maLU3LP72WvZOiyFrRklbaHFa8CZFqqF3cNZYoaifZdCpICGS+7oEaSkEyX8f5RgF9 U/bi/HT1rulymKolLmQkTAbVEdYhDYfb2V6Ljs7V5HJeRb2aiQKAOSXmdbP/ZreGIe 6sjG7hU4VLcsaKrSEdhUuyW0iqPtwozWCDaUZYA6Fv74lRxkLq/pyXrLnx9as2lag/ nXaXQbTUTrORX2FZZCf+LryjNJuYvFffT7SFBQ/bD9nhUSYXcWVQVoBmw/lImFFDgg 6VF6ccq0jL++w== X-Fuglu-Suspect: 9664a59514ca4d38888683264811a2a9 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 20:44:16 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 27 Oct 2021 20:44:16 +0200 From: david larsson In-Reply-To: <9fbd923745c213a3e86cb9701aa8af9e@selfhosted.xyz> References: <9fbd923745c213a3e86cb9701aa8af9e@selfhosted.xyz> Message-ID: 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 13:02, david larsson wrote: > 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. Version 2 of this patch, fixing the synopsis according to coding standards max 80 chars. From 4397008d2bdc559a072bbb98c99ba8d6d6cf4b87 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 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a38ed5c268..55561f7b47 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6249,3 +6249,39 @@ 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 quickly create a REST web api using JSON:API 1.0 spec") + (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