[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/12: gnu: python-jsonschema: Update to 3.0.1.
From: |
guix-commits |
Subject: |
09/12: gnu: python-jsonschema: Update to 3.0.1. |
Date: |
Thu, 18 Apr 2019 19:48:47 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 1adde06e4e70e124229316d7781b0527b64de088
Author: Marius Bakke <address@hidden>
Date: Wed Apr 17 22:19:22 2019 +0200
gnu: python-jsonschema: Update to 3.0.1.
* gnu/packages/python-xyz.scm (python-jsonschema): Update to 3.0.1.
[arguments]: Adjust check phase for Twisted instead of nosetests.
[native-inputs]: Remove PYTHON-NOSE and PYTHON-VCVERSIONER. Add
PYTHON-SETUPTOOLS-SCM and PYTHON-TWISTED.
[propagated-inputs]: Add PYTHON-ATTRS, PYTHON-PYRSISTENT and PYTHON-SIX.
(python2-jsonschema)[native-inputs, propagated-inputs]: Inherit.
---
gnu/packages/python-xyz.scm | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 45bb654..4e0a67a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1923,21 +1923,28 @@ between Julian dates and Gregorian dates.")
(define-public python-jsonschema
(package
(name "python-jsonschema")
- (version "2.6.0")
+ (version "3.0.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "jsonschema" version))
(sha256
(base32
- "00kf3zmpp9ya4sydffpifn0j0mzm342a2vzh82p6r0vh10cg7xbg"))))
+ "03g20i1xfg4qdlk4475pl4pp7y0h37g1fbgs5qhy678q9xb822hc"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
- (replace 'check (lambda _ (invoke "nosetests"))))))
+ (replace 'check
+ (lambda _
+ (setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH")))
+ (invoke "trial" "jsonschema"))))))
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-vcversioner" ,python-vcversioner)))
+ `(("python-setuptools_scm" ,python-setuptools-scm)
+ ("python-twisted" ,python-twisted)))
+ (propagated-inputs
+ `(("python-attrs" ,python-attrs)
+ ("python-pyrsistent" ,python-pyrsistent)
+ ("python-six" ,python-six)))
(home-page "https://github.com/Julian/jsonschema")
(synopsis "Implementation of JSON Schema for Python")
(description
@@ -1949,11 +1956,9 @@ between Julian dates and Gregorian dates.")
(let ((jsonschema (package-with-python2
(strip-python2-variant python-jsonschema))))
(package (inherit jsonschema)
- (native-inputs
- `(("python2-mock" ,python2-mock)
- ,@(package-native-inputs jsonschema)))
(propagated-inputs
- `(("python2-functools32" ,python2-functools32))))))
+ `(("python2-functools32" ,python2-functools32)
+ ,@(package-propagated-inputs jsonschema))))))
(define-public python-schema
(package
- branch master updated (3fdb9a3 -> cbeb891), guix-commits, 2019/04/18
- 12/12: gnu: gpgme: Update to 1.13.0., guix-commits, 2019/04/18
- 08/12: gnu: Add python-pyrsistent., guix-commits, 2019/04/18
- 09/12: gnu: python-jsonschema: Update to 3.0.1.,
guix-commits <=
- 07/12: gnu: python-twisted: Update to 19.2.0., guix-commits, 2019/04/18
- 10/12: gnu: python-service-identity: Update to 18.1.0., guix-commits, 2019/04/18
- 11/12: gnu: python-send2trash: Properly delay python2 variant., guix-commits, 2019/04/18
- 06/12: gnu: python-automat: Update to 0.7.0., guix-commits, 2019/04/18
- 03/12: gnu: python-hyperlink: Update to 19.0.0., guix-commits, 2019/04/18
- 04/12: gnu: python-idna: Update to 2.8., guix-commits, 2019/04/18
- 02/12: gnu: python-zope-interface: Update to 4.6.0., guix-commits, 2019/04/18
- 05/12: gnu: python-m2r: Update to 0.2.1., guix-commits, 2019/04/18
- 01/12: gnu: xmlsec: Update to 1.2.28., guix-commits, 2019/04/18