From patchwork Wed Jan 4 16:08:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 45850 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 7B72C27BBED; Wed, 4 Jan 2023 16:10:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 EA3BE27BBE9 for ; Wed, 4 Jan 2023 16:10:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pD6L9-0003XC-BM; Wed, 04 Jan 2023 11:10:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pD6L6-0003WF-6c for guix-patches@gnu.org; Wed, 04 Jan 2023 11:10:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pD6L5-0003nx-M2 for guix-patches@gnu.org; Wed, 04 Jan 2023 11:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pD6L5-0008Uk-Hd; Wed, 04 Jan 2023 11:10:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53019] [PATCHv2 3/4] gnu: Add python-ddlparse. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Wed, 04 Jan 2023 16:10: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 , lars@6xq.net X-Debbugs-Original-Xcc: lars@6xq.net Received: via spool by 53019-submit@debbugs.gnu.org id=B53019.167284857232569 (code B ref 53019); Wed, 04 Jan 2023 16:10:03 +0000 Received: (at 53019) by debbugs.gnu.org; 4 Jan 2023 16:09:32 +0000 Received: from localhost ([127.0.0.1]:49419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD6Ka-0008T8-CV for submit@debbugs.gnu.org; Wed, 04 Jan 2023 11:09:32 -0500 Received: from confino.investici.org ([93.190.126.19]:36719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD6KU-0008SP-Jo for 53019@debbugs.gnu.org; Wed, 04 Jan 2023 11:09:29 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4NnF0h2fWmz110s; Wed, 4 Jan 2023 16:09:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1672848564; bh=QyiYDQMGKc4OdL+k6zPMZWIohd5H4MPvWaKgQp+Nexs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HfkHk+WZnXln5bL4Kez4FSIUlia0K8BYsseipYOij2T5Wo4U+F/RLVyRmf3BJF6EV L9m+NVM1mmmFTAn8A4e3/Lyv7Fki8/S7VK9DbP6Fg11jHuK52sHnBcbRhplfeZhKCf qwlzS0vDHaZlrvsGD7d3sGaMINjnkIybCGqodMjU= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4NnF0h29Gjz110m; Wed, 4 Jan 2023 16:09:24 +0000 (UTC) Date: Wed, 4 Jan 2023 17:08:54 +0100 Message-Id: <20230104160855.6241-3-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230104160855.6241-1-goodoldpaul@autistici.org> References: <20230104160855.6241-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: , 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 Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-ddlparse): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d0b54443af..dae72728a1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3897,6 +3897,36 @@ (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-codecov + python-coveralls + python-pytest + python-pytest-cov + 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")