[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/131: gnu: python-websockets: Fix Python package name.
From: |
guix-commits |
Subject: |
12/131: gnu: python-websockets: Fix Python package name. |
Date: |
Fri, 29 Jan 2021 09:21:44 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit bd078e64df9d16728bcb6921c35c5099960cd841
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Jan 7 13:49:01 2021 +0100
gnu: python-websockets: Fix Python package name.
* gnu/packages/python-web.scm (python-websockets) [arguments]: Add new
phase to fix package name.
---
gnu/packages/python-web.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2bb999e..7ba073d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5087,7 +5087,15 @@ Plus all the standard features of requests:
(base32
"03s3ml6sbki24aajllf8aily0xzrn929zxi84p50zkkbikdd4raw"))))
(build-system python-build-system)
- (arguments '(#:tests? #f)) ; Tests not included in release tarball.
+ (arguments
+ '(#:tests? #f ; Tests not included in release tarball.
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-websockets-package-name-requirement
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Python package names use dot as separator.
+ (substitute* "setup.py"
+ (("websockets/extensions") "websockets.extensions")))))))
(home-page "https://github.com/aaugustin/websockets")
(synopsis
"Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
- 01/131: gnu: python: Replace PYTHONPATH by GUIX_PYTHONPATH., (continued)
- 01/131: gnu: python: Replace PYTHONPATH by GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 02/131: build/python: Replace PYTHONPATH by GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 03/131: build/python: Always add the install prefix to the Guix PYTHONPATH., guix-commits, 2021/01/29
- 04/131: build/python: Add the installation bin directory to PATH., guix-commits, 2021/01/29
- 05/131: build/python: Adjust wrap phase to use the new GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 06/131: build/python: Add a sanity check phase., guix-commits, 2021/01/29
- 08/131: gnu: python-fixtures-bootstrap: Do not sanity check., guix-commits, 2021/01/29
- 10/131: gnu: python-pyfakefs: Disable unreliable test, guix-commits, 2021/01/29
- 09/131: gnu: python-pytest-pep8: Fix package., guix-commits, 2021/01/29
- 11/131: gnu: python-slugify: Add missing input., guix-commits, 2021/01/29
- 12/131: gnu: python-websockets: Fix Python package name.,
guix-commits <=
- 14/131: gnu: python-traitlets: Add missing input., guix-commits, 2021/01/29
- 15/131: gnu: python-idna-ssl: Add missing input., guix-commits, 2021/01/29
- 17/131: gnu: python-automat: Remove broken console script., guix-commits, 2021/01/29
- 07/131: gnu: python-pytest-xdist: Add missing input, relax pytest requirement., guix-commits, 2021/01/29
- 16/131: gnu: python-twisted: Remove broken console scripts., guix-commits, 2021/01/29
- 22/131: gnu: solaar: Do not read PYTHONPATH from environment., guix-commits, 2021/01/29
- 21/131: gnu: python2-virtualenv: Fix build., guix-commits, 2021/01/29
- 25/131: gnu: python-pysam: Adjust following Python build system changes., guix-commits, 2021/01/29
- 27/131: gnu: python-screed: Adjust following Python build system changes., guix-commits, 2021/01/29
- 30/131: gnu: python-xmlschema: Do not set PYTHONPATH., guix-commits, 2021/01/29