diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2022-07-11 10:48:09 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2022-07-11 13:03:33 +0300 |
| commit | 556a96fe21e6b9d3e878f7cdb49b882646e55890 (patch) | |
| tree | 01a5335afe27926dc9d5a617f3bfe8a1c1ef3263 /gnu | |
| parent | 1b3b653aa0b69daf09535798d93a5acf773e9e69 (diff) | |
gnu: python-gevent: Remove cythonized files.
* gnu/packages/python-xyz.scm (python-gevent)[source]: Adjust snippet to
also remove generated cythonized files.
[native-inputs]: Add python-cython.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3f4867ece01..c28b0675ad8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -16127,7 +16127,27 @@ graphviz.") | |||
| 16127 | (snippet | 16127 | (snippet |
| 16128 | '(begin | 16128 | '(begin |
| 16129 | ;; unbunding libev and c-ares | 16129 | ;; unbunding libev and c-ares |
| 16130 | (delete-file-recursively "deps"))))) | 16130 | (delete-file-recursively "deps") |
| 16131 | ;; Remove cythonized files. | ||
| 16132 | (with-directory-excursion "src/gevent" | ||
| 16133 | (for-each delete-file | ||
| 16134 | (append (list "resolver/cares.c" | ||
| 16135 | "queue.c" | ||
| 16136 | "local.c" | ||
| 16137 | "libev/corecext.h" | ||
| 16138 | "libev/corecext.c" | ||
| 16139 | "greenlet.c" | ||
| 16140 | "event.c" | ||
| 16141 | "_waiter.c" | ||
| 16142 | "_tracer.c" | ||
| 16143 | "_semaphore.c" | ||
| 16144 | "_imap.c" | ||
| 16145 | "_ident.c" | ||
| 16146 | "_hub_primitives.c" | ||
| 16147 | "_hub_local.c" | ||
| 16148 | "_greenlet_primitives.c" | ||
| 16149 | "_abstract_linkable.c") | ||
| 16150 | (find-files "." "\\.html$")))))))) | ||
| 16131 | (build-system python-build-system) | 16151 | (build-system python-build-system) |
| 16132 | (arguments | 16152 | (arguments |
| 16133 | `(#:modules ((ice-9 ftw) | 16153 | `(#:modules ((ice-9 ftw) |
| @@ -16215,8 +16235,9 @@ graphviz.") | |||
| 16215 | (propagated-inputs | 16235 | (propagated-inputs |
| 16216 | (list python-greenlet python-zope-event python-zope-interface)) | 16236 | (list python-greenlet python-zope-event python-zope-interface)) |
| 16217 | (native-inputs | 16237 | (native-inputs |
| 16218 | ;; For tests. | 16238 | (list python-cython |
| 16219 | (list python-dnspython python-psutil python-objgraph)) | 16239 | ;; For tests. |
| 16240 | python-dnspython python-psutil python-objgraph)) | ||
| 16220 | (inputs | 16241 | (inputs |
| 16221 | (list c-ares libev)) | 16242 | (list c-ares libev)) |
| 16222 | (home-page "https://www.gevent.org/") | 16243 | (home-page "https://www.gevent.org/") |
