From patchwork Fri Jul 1 21:33:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 40456 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 DF2CD27BBEB; Fri, 1 Jul 2022 22:34:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 99DB927BBE9 for ; Fri, 1 Jul 2022 22:34:30 +0100 (BST) Received: from localhost ([::1]:55080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7OHV-0007xx-Qy for patchwork@mira.cbaines.net; Fri, 01 Jul 2022 17:34:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7OH5-0007SX-U7 for guix-patches@gnu.org; Fri, 01 Jul 2022 17:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7OH5-00025m-Lq for guix-patches@gnu.org; Fri, 01 Jul 2022 17:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7OH5-0007fu-J1 for guix-patches@gnu.org; Fri, 01 Jul 2022 17:34:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53019] [PATCH 5/6] gnu: Add python-ddlparse. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Jul 2022 21:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53019@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 53019-submit@debbugs.gnu.org id=B53019.165671119829410 (code B ref 53019); Fri, 01 Jul 2022 21:34:03 +0000 Received: (at 53019) by debbugs.gnu.org; 1 Jul 2022 21:33:18 +0000 Received: from localhost ([127.0.0.1]:39223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7OGM-0007e6-Dt for submit@debbugs.gnu.org; Fri, 01 Jul 2022 17:33:18 -0400 Received: from confino.investici.org ([93.190.126.19]:38603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7OGJ-0007dL-Iu for 53019@debbugs.gnu.org; Fri, 01 Jul 2022 17:33:16 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4LZT2g0Ydcz110Y; Fri, 1 Jul 2022 21:33:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1656711195; bh=uKjq7jsXE91JeAkwToLiVgxlb9Qdbkckgd2pgdZab9k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o4/hkNuIBny1g5ESRxqm4dM41luNKRNbyhlSqVm+bsjMrKdHO3SQBgCOQE2ipk2FM 2sP6WH49jYPqqSDEv0kWtoDQBEp++fqzGYQEpvZ35AIrpSNO0evDuF8J651u9hoGNO tOOzZnT4cWQl//OnJzcLiqP6xBkM6p4NvOnAz44g= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4LZT2f5zTjz1109; Fri, 1 Jul 2022 21:33:14 +0000 (UTC) Date: Fri, 1 Jul 2022 23:33:01 +0200 Message-Id: <20220701213302.13234-5-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220701213302.13234-1-goodoldpaul@autistici.org> References: <20220701213302.13234-1-goodoldpaul@autistici.org> MIME-Version: 1.0 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" Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-ddlparse): 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 23195bf86b..71c56d997f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3469,6 +3469,37 @@ (define-public python-jsondiff compare, diff, and patch JSON and JSON-like structures in Python.") (license license:expat))) +(define-public python-ddlparse + (package + (name "python-ddlparse") + (version "1.10.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ddlparse" version)) + (sha256 + (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (native-inputs + (list python-codeclimate-test-reporter + python-codecov + python-coveralls + python-pytest + python-pytest-cov-3.0 + python-tox)) + (propagated-inputs (list python-pyparsing)) + (home-page "https://github.com/shinichi-takii/ddlparse") + (synopsis "Parses and converts DDL to BigQuery JSON schema") + (description "This package provides @{ddlparse}, a Python library to parse +and convert DDL to BigQuery JSON schema.") + (license license:bsd-3))) + (define-public python-jsonschema (package (name "python-jsonschema")