summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 19:52:55 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 21:36:59 +0000
commitacd77f2f2fb5bc4c5ae1660e974da7fbf51b4529 (patch)
treec3ee629f469545d4fee4147c770c900eb563cae4 /gnu/packages
parent2d3a2f50617ddc5299148d190ec9170b9aec3c81 (diff)
gnu: python-siosocks: Switch to pyproject.
* gnu/packages/python-web.scm (python-siosocks): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Drop them. [native-inputs]: Add python-setuptools. Change-Id: Ia158d6c5277672d8a5556a9af67d37bf372d8b18 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm31
1 files changed, 16 insertions, 15 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dee5c5622eb..391d17abbe0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -11610,21 +11610,22 @@ client for Python.")
(package
(name "python-siosocks")
(version "0.3.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "siosocks" version))
- (sha256
- (base32
- "0qqxy8wl5mrmlkblzjq9nsg0cbm5jwgj409mhnhq6gd1ypvbndms"))))
- (build-system python-build-system)
- (arguments
- (list #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vvv")))))))
- (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov
- python-pytest-trio))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pohmelie/siosocks")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zcib4j5bfxlryfa412wmlkk8ivsiwxrfbpij5s7ag839ii2lxa5"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-pytest-asyncio
+ python-pytest-cov
+ python-pytest-trio
+ python-setuptools))
(propagated-inputs (list python-trio))
(home-page "https://github.com/pohmelie/siosocks")
(synopsis "SOCKSv4 & SOCKSv5 TCP proxy protocol implementation in Python")