diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 22:50:10 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:54 +0100 |
| commit | ad72f70de1757e5753823ab998d0484ff8b40f1c (patch) | |
| tree | ee4fd9af48f0b587ea238fc60d007b2553d192b2 | |
| parent | 8ce96a0ff8356fd45ec9e2bff6b83d43ec8140b2 (diff) | |
gnu: python-grpcio: Disable tests.
* gnu/packages/rpc.scm (python-grpcio)
[source]<snippet>: Improve style, importing srfi-26 in <modules>.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Replace python-cython by python-cython-0, remove
python-wheel.
[description]: Improve style.
Change-Id: Ifbf801ee9e54b90cefab17af3cf07f5a11992a46
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/rpc.scm | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm index 0bb28b1670..e75d97b120 100644 --- a/gnu/packages/rpc.scm +++ b/gnu/packages/rpc.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2021 Greg Hogan <code@greghogan.com> ;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2022, 2024 Maxim Cournoyer <maxim@guixotic.coop> +;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -169,7 +170,7 @@ type information of gRPC.") (uri (pypi-uri "grpcio" version)) (sha256 (base32 "1nsgm8q4yahzdab4m3irffdw9zklq4kb7f8hki1ayfgw54ysim55")) - (modules '((guix build utils) (ice-9 ftw))) + (modules '((guix build utils) (ice-9 ftw) (srfi srfi-26))) (snippet '(begin ;; Delete this generated file. @@ -178,16 +179,14 @@ type information of gRPC.") ;; Delete the bundled source code of libraries that are possible ;; to provide as inputs. (for-each delete-file-recursively - (scandir "." - (lambda (file) - (not (member file - '("." ".." - "address_sorting" - "upb" - "xxhash"))))))))))) + (scandir "." (negate (cut member <> '("." ".." + "address_sorting" + "upb" + "xxhash")))))))))) (build-system pyproject-build-system) (arguments (list + #:tests? #f ; There seems to be no tests. #:phases #~(modify-phases %standard-phases (add-before 'build 'use-system-libraries @@ -212,16 +211,13 @@ type information of gRPC.") (lambda _ (substitute* '("setup.py" "src/python/grpcio/commands.py") (("'cc'") "'gcc'"))))))) - (inputs - (list abseil-cpp-cxxstd11 c-ares grpc openssl re2 zlib)) - (native-inputs - (list python-cython python-setuptools python-wheel)) - (propagated-inputs - (list python-six)) + (inputs (list abseil-cpp-cxxstd11 c-ares grpc openssl re2 zlib)) + (native-inputs (list python-cython-0 python-setuptools)) (home-page "https://grpc.io") (synopsis "HTTP/2-based RPC framework") - (description "This package provides a Python library for communicating -with the HTTP/2-based RPC framework gRPC.") + (description + "This package provides a Python library for communicating with the +HTTP/2-based RPC framework gRPC.") (license license:asl2.0))) (define-public python-grpcio-tools |
