gnu: python-traitlets: Update to 4.3.2.
* gnu/packages/python.scm (python-traitlets): Update to 4.3.2. [native-inputs]: Remove PYTHON-NOSE and PYTHON-MOCK. Add PYTHON-PYTEST. [arguments]: Adjust check phase accordingly. [properties]: New field. (python2-traitlets)[propagated-inputs]: Add PYTHON2-ENUM34.
This commit is contained in:
parent
9fc445b1a5
commit
b8d165b18a
|
@ -4518,25 +4518,25 @@ away.")
|
||||||
(define-public python-traitlets
|
(define-public python-traitlets
|
||||||
(package
|
(package
|
||||||
(name "python-traitlets")
|
(name "python-traitlets")
|
||||||
(version "4.2.0")
|
(version "4.3.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "traitlets" version))
|
(uri (pypi-uri "traitlets" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1afy08sa5n9gnkvh3da49c16zkyv598vchv0p1hp7zzjy8895hz4"))))
|
"0dbq7sx26xqz5ixs711k5nc88p8a0nqyz6162pwks5dpcz9d4jww"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check (lambda _ (zero? (system* "nosetests")))))))
|
(replace 'check (lambda _ (invoke "pytest" "-vv" "traitlets"))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-ipython-genutils" ,python-ipython-genutils)
|
`(("python-ipython-genutils" ,python-ipython-genutils)
|
||||||
("python-decorator" ,python-decorator)))
|
("python-decorator" ,python-decorator))) ;not needed for >4.3.2
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-mock" ,python-mock)
|
`(("python-pytest" ,python-pytest)))
|
||||||
("python-nose" ,python-nose)))
|
(properties `((python2-variant . ,(delay python2-traitlets))))
|
||||||
(home-page "https://ipython.org")
|
(home-page "https://ipython.org")
|
||||||
(synopsis "Configuration system for Python applications")
|
(synopsis "Configuration system for Python applications")
|
||||||
(description
|
(description
|
||||||
|
@ -4549,7 +4549,12 @@ without using the configuration machinery.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-traitlets
|
(define-public python2-traitlets
|
||||||
(package-with-python2 python-traitlets))
|
(let ((traitlets (package-with-python2 (strip-python2-variant python-traitlets))))
|
||||||
|
(package
|
||||||
|
(inherit traitlets)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python2-enum34" ,python2-enum34)
|
||||||
|
,@(package-propagated-inputs traitlets))))))
|
||||||
|
|
||||||
(define-public python-jupyter-core
|
(define-public python-jupyter-core
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in New Issue