gnu: python-gevent: Update to 1.3.7.
* gnu/packages/python.scm (python-gevent): Update to 1.3.7. [arguments]: Find headers for greenlet in phase "do-not-use-bundled-sources". [propagated-inputs]: Add python-objgraph.
This commit is contained in:
parent
72ffb51231
commit
936ea3d664
|
@ -9108,13 +9108,13 @@ graphviz.")
|
||||||
(define-public python-gevent
|
(define-public python-gevent
|
||||||
(package
|
(package
|
||||||
(name "python-gevent")
|
(name "python-gevent")
|
||||||
(version "1.2.2")
|
(version "1.3.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "gevent" version))
|
(uri (pypi-uri "gevent" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0bbbjvi423y9k9xagrcsimnayaqymg6f2dj76m9z3mjpkjpci4a7"))
|
"0b0fr04qdk1p4sniv87fh8z5psac60x01pv054kpgi94520g81iz"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -9146,11 +9146,14 @@ graphviz.")
|
||||||
(find-files "src/greentest" "\\.py$"))
|
(find-files "src/greentest" "\\.py$"))
|
||||||
#t))
|
#t))
|
||||||
(add-before 'build 'do-not-use-bundled-sources
|
(add-before 'build 'do-not-use-bundled-sources
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(setenv "CONFIG_SHELL" (which "bash"))
|
(setenv "CONFIG_SHELL" (which "bash"))
|
||||||
(setenv "LIBEV_EMBED" "false")
|
(setenv "LIBEV_EMBED" "false")
|
||||||
(setenv "CARES_EMBED" "false")
|
(setenv "CARES_EMBED" "false")
|
||||||
(setenv "EMBED" "false")
|
(setenv "EMBED" "false")
|
||||||
|
(setenv "CPATH"
|
||||||
|
(string-append (assoc-ref inputs "python-greenlet")
|
||||||
|
"/include/python3.7m"))
|
||||||
#t))
|
#t))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -9171,7 +9174,8 @@ graphviz.")
|
||||||
(make-regexp "test_+(subprocess|core)")
|
(make-regexp "test_+(subprocess|core)")
|
||||||
<>)))))))))
|
<>)))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-greenlet" ,python-greenlet)))
|
`(("python-greenlet" ,python-greenlet)
|
||||||
|
("python-objgraph" ,python-objgraph)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("libev-source" ,(package-source libev))
|
`(("libev-source" ,(package-source libev))
|
||||||
("python-six" ,python-six)))
|
("python-six" ,python-six)))
|
||||||
|
|
Loading…
Reference in New Issue