gnu: python-hy: Update to 0.18.0.

* gnu/packages/python-xyz.scm (python-hy): Update to 0.18.0.
[arguments]: Make all phases return #t.
[propagated-inputs]: Remove python-clint, python-fastentrypoints. Add
python-colorama.
(python2-hy): Remove variable.
This commit is contained in:
Efraim Flashner 2020-04-16 22:36:16 +03:00
parent 626874eb3f
commit be02a4cb81
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -9447,20 +9447,20 @@ (define-public python2-rply
(define-public python-hy (define-public python-hy
(package (package
(name "python-hy") (name "python-hy")
(version "0.17.0") (version "0.18.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "hy" version)) (uri (pypi-uri "hy" version))
(sha256 (sha256
(base32 (base32
"1gdbqsirsdxj320wnp7my5awzs1kfs6m4fqmkzbd1zd47qzj0zfi")))) "04dfwm336gw61fmgwikvh0cnxk682p19b4w555wl5d7mlym4rwj2"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'install 'set-HOME (add-before 'install 'set-HOME
(lambda _ (lambda _
(setenv "HOME" "/tmp"))) (setenv "HOME" "/tmp") #t))
(replace 'check (replace 'check
(lambda _ (lambda _
;; Tests require write access to HOME. ;; Tests require write access to HOME.
@ -9471,10 +9471,8 @@ (define-public python-hy
("python-nose" ,python-nose))) ("python-nose" ,python-nose)))
(propagated-inputs (propagated-inputs
`(("python-astor" ,python-astor) `(("python-astor" ,python-astor)
("python-clint" ,python-clint) ("python-colorama" ,python-colorama)
("python-rply" ,python-rply) ("python-rply" ,python-rply)
("python-fastentrypoints"
,python-fastentrypoints)
("python-funcparserlib" ("python-funcparserlib"
,python-funcparserlib))) ,python-funcparserlib)))
(home-page "http://hylang.org/") (home-page "http://hylang.org/")
@ -9485,9 +9483,6 @@ (define-public python-hy
Python at your fingertips, in Lisp form.") Python at your fingertips, in Lisp form.")
(license license:expat))) (license license:expat)))
(define-public python2-hy
(package-with-python2 python-hy))
(define-public python2-functools32 (define-public python2-functools32
(package (package
(name "python2-functools32") (name "python2-functools32")