From patchwork Sat Sep 12 14:28:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 24073 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 0AB0E27BBE9; Sat, 12 Sep 2020 15:33:28 +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 9DEAF27BBE7 for ; Sat, 12 Sep 2020 15:33:27 +0100 (BST) Received: from localhost ([::1]:58192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6ak-00081p-QM for patchwork@mira.cbaines.net; Sat, 12 Sep 2020 10:33:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH6aP-0007MY-Se for guix-patches@gnu.org; Sat, 12 Sep 2020 10:33:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kH6aP-0005rD-Gg for guix-patches@gnu.org; Sat, 12 Sep 2020 10:33:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kH6aP-00048t-EY for guix-patches@gnu.org; Sat, 12 Sep 2020 10:33:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43354] [PATCH 42/55] gnu: Add python-jsonplus. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Sep 2020 14:33:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43354 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43354@debbugs.gnu.org Received: via spool by 43354-submit@debbugs.gnu.org id=B43354.159992117615820 (code B ref 43354); Sat, 12 Sep 2020 14:33:05 +0000 Received: (at 43354) by debbugs.gnu.org; 12 Sep 2020 14:32:56 +0000 Received: from localhost ([127.0.0.1]:48735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6aG-000475-Ef for submit@debbugs.gnu.org; Sat, 12 Sep 2020 10:32:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6aE-00046e-7H for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:32:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36422) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6a8-0005ok-Uo for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:32:48 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:53502 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kH6a5-0007ng-O0 for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:32:46 -0400 From: Marius Bakke Date: Sat, 12 Sep 2020 16:28:58 +0200 Message-Id: <20200912142911.6231-42-marius@gnu.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200912142911.6231-1-marius@gnu.org> References: <20200912142911.6231-1-marius@gnu.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-jsonplus): New public variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ab67f8e731..c4b3a2e335 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19878,6 +19878,31 @@ hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests.") (license license:lgpl3+))) +(define-public python-jsonplus + (package + (name "python-jsonplus") + (version "0.8.0") + (home-page "https://github.com/randomir/jsonplus") + (source (origin + (method url-fetch) + (uri (pypi-uri "jsonplus" version)) + (sha256 + (base32 + "05yv3dw813zwas9snz124k2hki49y268b3mx0gj9w7v1nrjmglq1")))) + (build-system python-build-system) + ;; XXX: No tests on PyPI, and the repository has no tags. + (arguments '(#:tests? #f)) + (propagated-inputs + `(("python-dateutil" ,python-dateutil) + ("python-simplejson" ,python-simplejson) + ("python-sortedcontainers" ,python-sortedcontainers))) + (synopsis "Serialize Python types to/from JSON") + (description + "This package provides functionality to serialize arbitrary data types +to and from JSON. Common data types are implemented and it is easy to +register custom encoders and decoders.") + (license license:expat))) + (define-public python-ujson (package (name "python-ujson")