[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python-aiohttp: Remove cythonized files.
From: |
guix-commits |
Subject: |
02/02: gnu: python-aiohttp: Remove cythonized files. |
Date: |
Thu, 14 Apr 2022 17:00:37 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit ac5f070631e7a569952759884ba8b2aeb01d5cbb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Apr 14 23:30:27 2022 +0300
gnu: python-aiohttp: Remove cythonized files.
* gnu/packages/python-web.scm (python-aiohttp)[source]: Add snippet to
remove cythonized files.
---
gnu/packages/python-web.scm | 14 +++++++++-----
1 file 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