From patchwork Wed Oct 13 04:53:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 33809 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 A737327BBE3; Wed, 13 Oct 2021 05:54: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 72A6827BBE1 for ; Wed, 13 Oct 2021 05:54:12 +0100 (BST) Received: from localhost ([::1]:56246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maWHL-00006I-6B for patchwork@mira.cbaines.net; Wed, 13 Oct 2021 00:54:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maWHC-000065-CL for guix-patches@gnu.org; Wed, 13 Oct 2021 00:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maWHC-0006st-49 for guix-patches@gnu.org; Wed, 13 Oct 2021 00:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maWHC-0003YU-3C for guix-patches@gnu.org; Wed, 13 Oct 2021 00:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51175] [PATCH] gnu: Add python-json2html. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Oct 2021 04:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51175 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51175@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163410081213621 (code B ref -1); Wed, 13 Oct 2021 04:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2021 04:53:32 +0000 Received: from localhost ([127.0.0.1]:57295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maWGh-0003Xd-NK for submit@debbugs.gnu.org; Wed, 13 Oct 2021 00:53:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:59652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maWGf-0003XV-RK for submit@debbugs.gnu.org; Wed, 13 Oct 2021 00:53:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maWGf-0008W3-Av for guix-patches@gnu.org; Wed, 13 Oct 2021 00:53:29 -0400 Received: from mx1.dismail.de ([78.46.223.134]:48062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maWGd-0006Nl-3R for guix-patches@gnu.org; Wed, 13 Oct 2021 00:53:29 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c0cf2f03 for ; Wed, 13 Oct 2021 06:53:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=7SD9eFunehQ4vTOgpU89fD+e0xVR3OeIlsBWSwIcSXg=; b= tIiOSmXSd/hkRGNIedLy9IlzHRKQbL4ZblPgazXZ7UOZ0TNuYxNiFpZyOHHStNg4 kwSqTXhFxCYbYj8Zd9kc/jML6sbTFEz3u/SwnakOsBPCrJ0o+W1hfTbt8z4dluoV h/NyfJw1YstBjAUDpGmt+OP5TclLtJ6QO18bdetoXwb4a42leXMJSIvYzItQrtMh X3oeHNQ282ANjW1h8BqsbAcCm/wsAgoFiJ3hoDcCHZdwWAvICV+e+1J7RltdTpVq akhJ+uPFZrN773+Gsr1NsttU7z90UHZP6wyI17FZY+gxodVH+Hv9SqxGopP40vFh v5KtRjyN2nmVUReT1ZlEUg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 7caa992b for ; Wed, 13 Oct 2021 06:53:23 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id f29063f5 for ; Wed, 13 Oct 2021 06:53:23 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 117c8c5d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 13 Oct 2021 06:53:17 +0200 (CEST) Date: Wed, 13 Oct 2021 00:53:06 -0400 Message-Id: <20211013045306.13449-1-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-json2html): 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 dc0f12ed91..1cb4f37fe5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27197,6 +27197,35 @@ location. This small Python module determines the appropriate platform-specific directories, e.g. the ``user data dir''.") (license license:expat))) +(define-public python-json2html + (package + (name "python-json2html") + (version "1.3.0") + (source ; There are no tests in the PyPI tarball. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/softvar/json2html") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ncypljnl5y8lsxy6ibcqy412kx3mzxl4ajg67568hvq98kv1sb3")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "test/run_tests.py"))))))) + (home-page "https://github.com/softvar/json2html") + (synopsis "JSON to HTML Table Representation") + (description +"Python module to convert JSON into a human readable HTML Table + representation.") + (license license:expat))) + (define-public python-face (package (name "python-face")