1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00

gnu: python-jsonrpclib-pelix: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-jsonrpclib-pelix):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, #:test-flags>: Enable tests.
[native-inputs]: Add python-setuptools.
[home-page, description]: Improve style.

Change-Id: I09d18add499af646e9a2f1aeecaf2379851c705f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-10-05 13:29:29 +02:00
committed by Sharlatan Hellseher
parent 44f7ad2fc6
commit 03ca423612

View File

@@ -27923,21 +27923,25 @@ offset, or using offset reference
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jsonrpclib-pelix" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/tcalmant/jsonrpclib")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0f83z5zi7w32vprhk1dyc94ir1bh4hdd57bjdbwkq9ykng8qilhl"))))
(build-system python-build-system)
(base32 "1mhnqmgcplsxc4zygxy4hm99si7p2rpyl4bpmilzqc51k2r3khzl"))))
(build-system pyproject-build-system)
(arguments
`(#:tests? #f)) ; no tests in PyPI tarball
(home-page "https://github.com/tcalmant/jsonrpclib/")
(list
#:test-backend #~'unittest
#:test-flags #~(list "-k" "not test_multicall_success")))
(native-inputs (list python-setuptools))
(home-page "https://github.com/tcalmant/jsonrpclib")
(synopsis "JSON-RPC 2.0 client library for Python")
(description
"This library implements the JSON-RPC v2.0
specification (backwards-compatible) as a client library for Python. This
version is a fork of jsonrpclib by Josh Marshall, usable with Pelix remote
services.")
"This library implements the JSON-RPC v2.0 specification
(backwards-compatible) as a client library for Python. This version is a fork
of jsonrpclib by Josh Marshall, usable with Pelix remote services.")
(license license:asl2.0)))
(define-public python-setuptools-git