gnu: python-xenon: Update to 0.5.4.

* gnu/packages/python.scm (python-xenon): Update to 0.5.4.
[arguments]: Remove part of custom 'patch-test-requirements phase.
This commit is contained in:
Efraim Flashner 2018-07-14 23:19:26 +03:00
parent 5743ba4979
commit 6c10675928
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -14,7 +14,7 @@
;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com> ;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com>
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2017 Kyle Meyer <kyle@kyleam.com> ;;; Copyright © 2015, 2017 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org> ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
@ -12242,14 +12242,14 @@ (define-public python2-rencode
(define-public python-xenon (define-public python-xenon
(package (package
(name "python-xenon") (name "python-xenon")
(version "0.5.1") (version "0.5.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "xenon" version)) (uri (pypi-uri "xenon" version))
(sha256 (sha256
(base32 (base32
"14kby2y48vp3sgwxqlm5d5789yibqwb1qli5fwcmdqg3iayrbklc")))) "029cbhysg2vr5n4jz8gpg2793f8wkwnqpr1qgv6c1dn685vy31mc"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("python-pyyaml" ,python-pyyaml) `(("python-pyyaml" ,python-pyyaml)
@ -12261,12 +12261,7 @@ (define-public python-xenon
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'patch-test-requirements (add-before 'build 'patch-test-requirements
(lambda* (#:key inputs #:allow-other-keys) (lambda _
;; Update requirements from dependency==version to
;; dependency>=version.
(substitute* "requirements.txt"
(("==") ">=")
((",<1.5.0") ""))
;; Remove httpretty dependency for tests. ;; Remove httpretty dependency for tests.
(substitute* "setup.py" (substitute* "setup.py"
(("httpretty") "")) (("httpretty") ""))