diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-11-23 16:01:21 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-11-23 16:01:21 +0100 |
commit | 936ea3d664b3c9f87824f145ef8649c07287863d (patch) | |
tree | db46eb3059a5586bebc88539fd57162349ee4e95 | |
parent | 72ffb5123159ab403b2882d6b6b90609fa49136b (diff) | |
download | guix-936ea3d664b3c9f87824f145ef8649c07287863d.tar.gz |
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.
-rw-r--r-- | gnu/packages/python.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3b6259c48a..01b1d352c6 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9108,13 +9108,13 @@ graphviz.") (define-public python-gevent (package (name "python-gevent") - (version "1.2.2") + (version "1.3.7") (source (origin (method url-fetch) (uri (pypi-uri "gevent" version)) (sha256 (base32 - "0bbbjvi423y9k9xagrcsimnayaqymg6f2dj76m9z3mjpkjpci4a7")) + "0b0fr04qdk1p4sniv87fh8z5psac60x01pv054kpgi94520g81iz")) (modules '((guix build utils))) (snippet '(begin @@ -9146,11 +9146,14 @@ graphviz.") (find-files "src/greentest" "\\.py$")) #t)) (add-before 'build 'do-not-use-bundled-sources - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (setenv "CONFIG_SHELL" (which "bash")) (setenv "LIBEV_EMBED" "false") (setenv "CARES_EMBED" "false") (setenv "EMBED" "false") + (setenv "CPATH" + (string-append (assoc-ref inputs "python-greenlet") + "/include/python3.7m")) #t)) (replace 'check (lambda _ @@ -9171,7 +9174,8 @@ graphviz.") (make-regexp "test_+(subprocess|core)") <>))))))))) (propagated-inputs - `(("python-greenlet" ,python-greenlet))) + `(("python-greenlet" ,python-greenlet) + ("python-objgraph" ,python-objgraph))) (native-inputs `(("libev-source" ,(package-source libev)) ("python-six" ,python-six))) |