summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-28 22:07:36 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 17:11:49 +0000
commitfdd6de5c4b4dd7bb6700cf663b5a8a5f2b85fce6 (patch)
tree9981ed945cdc3f09dcdf89026fd61a764c3268b9 /gnu
parent78a9398975fcf576fd0648a8a28151d4b4e15cfe (diff)
gnu: pproxy: Update to 2.7.9.
* gnu/packages/networking.scm (pproxy): Update to 2.7.9. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Improve style. [native-inputs]: Add python-setuptools. Change-Id: Ie0142017f57ab06ad3f28983131a590d5b52522b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/networking.scm41
1 files changed, 22 insertions, 19 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index a2e1202a934..f884896350a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1296,26 +1296,29 @@ useful for making transparent firewalls.")
1296(define-public pproxy 1296(define-public pproxy
1297 (package 1297 (package
1298 (name "pproxy") 1298 (name "pproxy")
1299 (version "2.7.8") 1299 (version "2.7.9")
1300 (source (origin 1300 (source
1301 (method url-fetch) 1301 (origin
1302 (uri (pypi-uri "pproxy" version)) 1302 (method git-fetch)
1303 (sha256 1303 (uri (git-reference (url "https://github.com/qwj/python-proxy")
1304 (base32 1304 (commit version)))
1305 "1j4nv72i77i2j5nl9ymzpk4m98qih3naihfrqjghrc9b7g0krdzs")))) 1305 (file-name (git-file-name name version))
1306 (build-system python-build-system) 1306 (sha256 (base32 "0crr6b9v5fvy2js1fqjngj3axr962p1yayrxsnf3fpzdc99mnv0d"))))
1307 (build-system pyproject-build-system)
1307 (arguments 1308 (arguments
1308 (list #:phases 1309 (list
1309 #~(modify-phases %standard-phases 1310 #:phases
1310 (replace 'check 1311 #~(modify-phases %standard-phases
1311 (lambda* (#:key tests? #:allow-other-keys) 1312 (replace 'check
1312 (when tests? 1313 (lambda* (#:key tests? #:allow-other-keys)
1313 (with-directory-excursion "tests" 1314 (when tests?
1314 (for-each (lambda (file) 1315 (with-directory-excursion "tests"
1315 (invoke "python" file)) 1316 (for-each (lambda (file)
1316 ;; XXX: The api_ tests require network access 1317 (invoke "python" file))
1317 ;; so we only run the cipher tests for now. 1318 ;; XXX: The api_ tests require network access
1318 (find-files "." "^cipher_.*\\.py$"))))))))) 1319 ;; so we only run the cipher tests for now.
1320 (find-files "." "^cipher_.*\\.py$")))))))))
1321 (native-inputs (list python-setuptools))
1319 (inputs 1322 (inputs
1320 (list python-asyncssh 1323 (list python-asyncssh
1321 python-daemon 1324 python-daemon