summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-14 23:30:27 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-14 23:30:27 +0300
commitac5f070631e7a569952759884ba8b2aeb01d5cbb (patch)
tree5727c44cc1930264b3a9e1c12ffdfd001887a015
parent802c94034cf8900987855c205fcb0ae37af985c7 (diff)
gnu: python-aiohttp: Remove cythonized files.
* gnu/packages/python-web.scm (python-aiohttp)[source]: Add snippet to remove cythonized files.
-rw-r--r--gnu/packages/python-web.scm14
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f1990b2b0b..28c934e896 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -232,11 +232,15 @@ for adding, removing and dropping callbacks.")
(uri (pypi-uri "aiohttp" version))
(sha256
(base32 "0y3m1dzl4h6frg8vys0fc3m83ijd1plfpihv3kvmxqadlphp2m7w"))
- ;; TODO: Unbundle the llhttp sources.
- ;; (modules '((guix build utils)))
- ;; (snippet
- ;; '((delete-file-recursively "vendor")))
- ))
+ (snippet
+ #~(begin
+ (use-modules ((guix build utils)))
+ ;; TODO: Unbundle the llhttp sources.
+ ;; (delete-file-recursively "vendor")
+ (delete-file "aiohttp/_helpers.c")
+ (delete-file "aiohttp/_http_parser.c")
+ (delete-file "aiohttp/_http_writer.c")
+ (delete-file "aiohttp/_websocket.c")))))
(build-system python-build-system)
(arguments
'(#:phases