summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-29 18:31:37 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-04 21:03:15 +0000
commit04b6a95b9c2426b9a50f2e6de354877cb56ac8da (patch)
tree4fbf72c9f83ad5f5e08549df567f7b91ad9367e7 /gnu/packages/python-web.scm
parentcc7cb3bb3dcedeb16cae503c923e41aec9f0eb71 (diff)
gnu: python-sockjs-tornado: Switch to pyproject.
* gnu/packages/python-web.scm (python-sockjs-tornado): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: Ic2a9dd162b1854d629dad7179dc9e377bbb1d6fe Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e751f2a94b7..67d714cffda 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3816,18 +3816,19 @@ threads.")
(version "1.0.6")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "sockjs-tornado" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mrjoes/sockjs-tornado/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "15dgv6hw6c7h3m310alw1h6p5443lrm9pyqhcv2smc13fz1v04pc"))))
- (build-system python-build-system)
+ (base32 "1y4wjca1776nvd0b79pz4d52i312xsyb2vahb883qmrw6s56mynk"))))
+ (build-system pyproject-build-system)
(arguments
- `(;; There are no tests, and running the test phase requires missing
- ;; dependencies
- #:tests? #f))
- (propagated-inputs
- (list python-tornado))
+ (list
+ #:tests? #f)) ;The only test in examples/test/test.py runs a server.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-tornado))
(home-page "https://github.com/mrjoes/sockjs-tornado/")
(synopsis
"SockJS Python server implementation on top of the Tornado framework")