[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/23: gnu: Add python-jsonpickle.
From: |
guix-commits |
Subject: |
14/23: gnu: Add python-jsonpickle. |
Date: |
Fri, 20 Nov 2020 19:23:13 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 484459fa478da3f5cf5e4db1fd949f4070de022a
Author: Marius Bakke <mbakke@fastmail.com>
AuthorDate: Fri Aug 16 15:42:36 2019 +0200
gnu: Add python-jsonpickle.
* gnu/packages/python-web.scm (python-jsonpickle): New public variable.
---
gnu/packages/python-web.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 66e45aa..444561a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -76,6 +76,7 @@
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-compression)
#:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
@@ -497,6 +498,43 @@ Swartz.")
(base32
"0ppgjplg06kmv9sj0x8p7acczcq2mcfgk1jdjwm4w5w40b0vj5pm")))))))
+(define-public python-jsonpickle
+ (package
+ (name "python-jsonpickle")
+ (version "1.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "jsonpickle" version))
+ (sha256
+ (base32
+ "1fn86z468hamw8njh2grw2xdhsm7g48dyxs3lw0n10nn1g6vgm78"))))
+ (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"
+ ;; Prevent running the flake8 and black
+ ;; pytest plugins, which only tests style
+ ;; and frequently causes harmless failures.
+ "-o" "addopts=''"))))))
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-toml" ,python-toml) ;XXX: for setuptools_scm[toml]
+ ;; 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")
- 02/23: gnu: awscli, python-botocore: Add comment about compatibility., (continued)
- 02/23: gnu: awscli, python-botocore: Add comment about compatibility., guix-commits, 2020/11/20
- 08/23: gnu: Add python-gorilla., guix-commits, 2020/11/20
- 10/23: gnu: Add python-minio., guix-commits, 2020/11/20
- 01/23: gnu: cheese: Remove obsolete input., guix-commits, 2020/11/20
- 04/23: gnu: python-botocore: Update to 1.19.22., guix-commits, 2020/11/20
- 05/23: gnu: awscli: Update to 1.18.183., guix-commits, 2020/11/20
- 06/23: gnu: python-s3transfer: Update to 0.3.3., guix-commits, 2020/11/20
- 07/23: gnu: Add python-databricks-cli., guix-commits, 2020/11/20
- 09/23: gnu: Add python-querystring-parser., guix-commits, 2020/11/20
- 11/23: gnu: python-docker: Propagate runtime dependency., guix-commits, 2020/11/20
- 14/23: gnu: Add python-jsonpickle.,
guix-commits <=
- 16/23: gnu: Add python-jose., guix-commits, 2020/11/20
- 19/23: gnu: python-jsonpatch: Propagate required input., guix-commits, 2020/11/20
- 20/23: gnu: Add python-cfn-lint., guix-commits, 2020/11/20
- 13/23: gnu: Add python-sshpubkeys., guix-commits, 2020/11/20
- 12/23: gnu: Add python-boto3., guix-commits, 2020/11/20
- 17/23: gnu: Add python-boto., guix-commits, 2020/11/20
- 21/23: gnu: Add python-junit-xml., guix-commits, 2020/11/20
- 15/23: gnu: Add python-aws-xray-sdk., guix-commits, 2020/11/20
- 18/23: gnu: Add python-aws-sam-translator., guix-commits, 2020/11/20
- 23/23: gnu: Add python-moto., guix-commits, 2020/11/20