sharlatan pushed a commit to branch python-team
in repository guix.
commit 370d3cbcc6f9c873814b8356708fd1286f85e713
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Nov 7 00:10:47 2024 +0000
gnu: hangups: Fix build.
* gnu/packages/messaging.scm (hangups): Fix build.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default check phase.
[native-inputs]: Add nss-certs-for-test, python-setuptools, and
python-wheel.
Change-Id: I00861c594156ef41b34892250b898f1ed585ae48
---
gnu/packages/messaging.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index e331b9a47f..14e6a2b398 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2617,7 +2617,7 @@ QMatrixClient project.")
(uri (pypi-uri "hangups" version))
(sha256
(base32 "12mq22lygh6vz2h5dpvyjk18hx3jphb4kkavqsy298c7hw60hn7l"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -2626,11 +2626,13 @@ QMatrixClient project.")
(lambda _
(substitute* "setup.py"
(("==") ">=")
- ((",<.*'") "'"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "hangups")))))))
+ ((",<.*'") "'")))))))
+ (native-inputs
+ (list nss-certs-for-test
+ python-httpretty
+ python-pytest
+ python-setuptools
+ python-wheel))
(propagated-inputs
(list python-aiohttp
python-appdirs
@@ -2642,8 +2644,6 @@ QMatrixClient project.")
python-reparser
python-requests
python-urwid))
- (native-inputs
- (list python-httpretty python-pytest))
(home-page "https://hangups.readthedocs.io/")
(synopsis "Instant messaging client for Google Hangouts")
(description