From patchwork Fri Aug 30 14:25:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 15188 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 7B34417369; Fri, 30 Aug 2019 15:51:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 379CE17365 for ; Fri, 30 Aug 2019 15:51:58 +0100 (BST) Received: from localhost ([::1]:33080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3iFn-0000eW-KH for patchwork@mira.cbaines.net; Fri, 30 Aug 2019 10:51:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60471) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3hsy-0003KB-P4 for guix-patches@gnu.org; Fri, 30 Aug 2019 10:28:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3hst-0005uT-FQ for guix-patches@gnu.org; Fri, 30 Aug 2019 10:28:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45853) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i3hrp-0002V8-40 for guix-patches@gnu.org; Fri, 30 Aug 2019 10:28:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i3hro-0003r4-Np for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37234] [PATCH 11/21] gnu: Add python-jsonpickle. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Aug 2019 14:27:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37234@debbugs.gnu.org Received: via spool by 37234-submit@debbugs.gnu.org id=B37234.156717517914608 (code B ref 37234); Fri, 30 Aug 2019 14:27:08 +0000 Received: (at 37234) by debbugs.gnu.org; 30 Aug 2019 14:26:19 +0000 Received: from localhost ([127.0.0.1]:54636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hqz-0003nR-3D for submit@debbugs.gnu.org; Fri, 30 Aug 2019 10:26:17 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:53191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hqm-0003kX-6k for 37234@debbugs.gnu.org; Fri, 30 Aug 2019 10:26:04 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id AD18E50E for <37234@debbugs.gnu.org>; Fri, 30 Aug 2019 10:25:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 30 Aug 2019 10:25:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=gB/dwWEYpcEna Ii40ZOfca8mLksGHORYm8+6PtWFlOA=; b=HwPrmTYG0VmSIRaBM2dA5lNc8eZSQ i2CYHX1X4Wzi7MwSccFoBt/DZ8yjn6+xitKzqBB0Gqi3eEUWxo1abqYsMqyNJvJR NzlRAFy593WCZtBTZYjNPc46+vpfhIFsrWjNXFSAZ5o80mu3HH6TJOMn/6sQNYjg BMugAV8BTO9YRQ8+9yJSBRlCFihGXkBJ1ybRNk1hJaY6KcYFHqlUVwF0aJSv+H9a 29ejlxCClFLRrUz8xx3BnAwpkHtoXQDS6XD98bvaW65oPPGIpQm3ENpLwj+M1m7Y xVEI8UnKftq3s0gPveWVMiaA2WWIPAuDCWN5hC9RQInTTRMPEyOzJtQDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=gB/dwWEYpcEnaIi40ZOfca8mLksGHORYm8+6PtWFlOA=; b=GWdc9d2r ej9696wUpxd2ujL375B5pjV+kgzDrBhJKFdCAIt3X7xSgLAbLklx7HBnKK3s1jPb yaHn63Fl52ZD//bkpuuTvuu5/yL/vES/rrltnwdsskqFtsa4Nc1JN4KPuiOHrvMb Y7nXvXyJdStTsm5dzSev48MJ699mP1wbnmYy065+ZeiPJRRHHIESInDoqSO3gUPq poEOf20KWTqO1Qx6opAUjxGyxxUQLgwgdsQwiLxO04roTfb5lepqMLq+cZWNUcSO gwS4zf5MzBlMAzkFNT1bfhxmxcbdR9WUj2eVYP2V37nnTBPhJK5BY+/tpIER4ork +GwLqSAs9bx4Aw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudeigedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucffohhmrg hinhepghhithhhuhgsrdhiohenucfkphepiedvrdduiedrudelvddrudehtdenucfrrghr rghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id CC8AC8005A for <37234@debbugs.gnu.org>; Fri, 30 Aug 2019 10:25:57 -0400 (EDT) From: Marius Bakke Date: Fri, 30 Aug 2019 16:25:29 +0200 Message-Id: <20190830142539.28376-11-mbakke@fastmail.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830142539.28376-1-mbakke@fastmail.com> References: <20190830142539.28376-1-mbakke@fastmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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-web.scm (python-jsonpickle): New public variable. --- gnu/packages/python-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7454fe8793..d5b0c26f46 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -325,6 +325,37 @@ Swartz.") (define-public python2-html2text (package-with-python2 python-html2text)) +(define-public python-jsonpickle + (package + (name "python-jsonpickle") + (version "1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "jsonpickle" version)) + (sha256 + (base32 + "16xj4r31pnd90slax5mmd5wps5s73wp9mn6sy9nhkl5ih7bj5sfk")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append "./build/lib:" + (getenv "PYTHONPATH"))) + (invoke "pytest" "-vv")))))) + (native-inputs + `(;; For tests. + ("python-numpy" ,python-numpy) + ("python-pandas" ,python-pandas) + ("python-pytest" ,python-pytest))) + (home-page "https://jsonpickle.github.io/") + (synopsis "Serialize object graphs into JSON") + (description + "This package provides a Python library for serializing any arbitrary +object graph to and from JSON.") + (license license:bsd-3))) + (define-public python-mechanicalsoup (package (name "python-mechanicalsoup")