gnu: python-websockets: Adjust inputs.

* gnu/packages/python-web.scm (python-websockets): Adjust inputs.
[build-system]: Use PYPROJECT-BUILD-SYSTEM.
[native-inputs]: Add PYTHON-SETUPTOOLS and PYTHON-WHEEL.

Change-Id: I03cf0233ceb9a2767fb1086bd6a6615cdcd2e78c
This commit is contained in:
Nicolas Goaziou 2024-05-24 20:03:25 +02:00 committed by Sharlatan Hellseher
parent 3c2943b621
commit 1615b5a21c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24,7 +24,7 @@
;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org> ;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2017 Mark Meyer <mark@ofosos.org> ;;; Copyright © 2017 Mark Meyer <mark@ofosos.org>
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org> ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
;;; Copyright © 2018, 2019, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2018, 2019, 2021, 2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2018, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2018, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org> ;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
@ -7074,13 +7074,16 @@ files.")
(sha256 (sha256
(base32 (base32
"1brnaf1c4r9377p2npxpkik9ggqzmymvnnazdhw6s2wzfhlln8vv")))) "1brnaf1c4r9377p2npxpkik9ggqzmymvnnazdhw6s2wzfhlln8vv"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list #:phases (list #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'check 'extend-test-timeout (add-before 'check 'extend-test-timeout
(lambda _ (lambda _
(setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10")))))) (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))
(native-inputs
(list python-setuptools
python-wheel))
(home-page "https://github.com/aaugustin/websockets") (home-page "https://github.com/aaugustin/websockets")
(synopsis (synopsis
"Python implementation of the WebSocket Protocol (RFC 6455 & 7692)") "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")