From patchwork Thu Oct 8 12:10:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 24508 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 17EAB27BBE9; Thu, 8 Oct 2020 13:12: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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 AA3CC27BBE8 for ; Thu, 8 Oct 2020 13:12:22 +0100 (BST) Received: from localhost ([::1]:42996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQUmT-0005C7-SQ for patchwork@mira.cbaines.net; Thu, 08 Oct 2020 08:12:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQUmB-0005Aq-07 for guix-patches@gnu.org; Thu, 08 Oct 2020 08:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQUmA-0002fx-Mn for guix-patches@gnu.org; Thu, 08 Oct 2020 08:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQUmA-0003RX-Iu for guix-patches@gnu.org; Thu, 08 Oct 2020 08:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43867] [PATCH 1/2] gnu: Add python-inform. References: <20201008120941.15324-1-tanguy@bioneland.org> In-Reply-To: <20201008120941.15324-1-tanguy@bioneland.org> Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Oct 2020 12:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43867@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 43867-submit@debbugs.gnu.org id=B43867.160215906513148 (code B ref 43867); Thu, 08 Oct 2020 12:12:02 +0000 Received: (at 43867) by debbugs.gnu.org; 8 Oct 2020 12:11:05 +0000 Received: from localhost ([127.0.0.1]:58893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUlE-0003Q0-Mw for submit@debbugs.gnu.org; Thu, 08 Oct 2020 08:11:04 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUlC-0003PT-0m for 43867@debbugs.gnu.org; Thu, 08 Oct 2020 08:11:03 -0400 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id 4B9921BF207; Thu, 8 Oct 2020 12:10:54 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 8 Oct 2020 14:10:49 +0200 Message-Id: <20201008121050.17363-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.28.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-inform): New variable. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 459526941b..622bd31279 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22151,3 +22151,32 @@ CSL 1.0.1 specification. citeproc-py can output styled citations and bibliographies in a number of different output formats. Currently supported are plain text, reStructuredText and HTML.") (license license:bsd-2))) + +(define-public python-inform + (package + (name "python-inform") + (version "1.23.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "inform" version)) + (sha256 + (base32 + "0dvc5klbnbryrvspp45nmlg02g40j7xspcz7lqsm0c0dj0z29zdz")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; PyPI tarball lacks tests + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-runner" ,python-pytest-runner))) + (propagated-inputs + `(("python-arrow" ,python-arrow) + ("python-six" ,python-six))) + (home-page "https://inform.readthedocs.io") + (synopsis "Print & logging utilities for communicating with user") + (description + "Inform is designed to display messages from programs that are typically run from +a console. It provides a collection of ‘print’ functions that allow you to simply and +cleanly print different types of messages.") + (license license:gpl3+))) From patchwork Thu Oct 8 12:10:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 24509 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 EC68E27BBE9; Thu, 8 Oct 2020 13:12: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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 714FC27BBE8 for ; Thu, 8 Oct 2020 13:12:23 +0100 (BST) Received: from localhost ([::1]:43012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQUmU-0005Cl-HQ for patchwork@mira.cbaines.net; Thu, 08 Oct 2020 08:12:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQUmB-0005Az-I2 for guix-patches@gnu.org; Thu, 08 Oct 2020 08:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQUmB-0002g1-7X for guix-patches@gnu.org; Thu, 08 Oct 2020 08:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQUmB-0003Re-09 for guix-patches@gnu.org; Thu, 08 Oct 2020 08:12:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43867] [PATCH 2/2] gnu: Add python-nestedtext. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Oct 2020 12:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43867@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 43867-submit@debbugs.gnu.org id=B43867.160215906913164 (code B ref 43867); Thu, 08 Oct 2020 12:12:02 +0000 Received: (at 43867) by debbugs.gnu.org; 8 Oct 2020 12:11:09 +0000 Received: from localhost ([127.0.0.1]:58896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUlI-0003QG-V1 for submit@debbugs.gnu.org; Thu, 08 Oct 2020 08:11:09 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:42227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUlG-0003PZ-QV for 43867@debbugs.gnu.org; Thu, 08 Oct 2020 08:11:07 -0400 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id EE4B91BF20B; Thu, 8 Oct 2020 12:11:00 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 8 Oct 2020 14:10:50 +0200 Message-Id: <20201008121050.17363-2-tanguy@bioneland.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201008121050.17363-1-tanguy@bioneland.org> References: <20201008121050.17363-1-tanguy@bioneland.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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-nestedtext): New variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 622bd31279..d7ec9cd825 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22180,3 +22180,31 @@ are plain text, reStructuredText and HTML.") a console. It provides a collection of ‘print’ functions that allow you to simply and cleanly print different types of messages.") (license license:gpl3+))) + +(define-public python-nestedtext + (package + (name "python-nestedtext") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nestedtext" version)) + (sha256 + (base32 + "0xjx863n7yd1xmkwhy48lhmqrmlzgbx3civhk386hvrzyq4sx148")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; PyPI tarball lacks tests + (propagated-inputs + `(("python-inform" ,python-inform))) + (home-page "https://nestedtext.org") + (synopsis "Human readable and writable data interchange format") + (description + "NestedText is a file format for holding data that is to be entered, edited, or +viewed by people. It allows data to be organized into a nested collection of +dictionaries, lists, and strings. In this way it is similar to JSON and YAML, but +without the complexity and risk of YAML and without the syntatic clutter of JSON. +NestedText is both simple and natural. Only a small number of concepts and rules must +be kept in mind when creating it. It is easily created, modified, or viewed with +a text editor and easily understood and used by both programmers and non-programmers.") + (license license:expat))) ; MIT license