From 5c029b04730a5bfbf927dd528c56e5f219b21cbe Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 24 Dec 2025 01:39:31 +0100 Subject: [PATCH] gnu: python-googleapis-common-protos: Update to 1.66.0. * gnu/packages/python-web.scm (python-googleapis-common-protos): Update to 1.66.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Drop them. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: Id5cf674c5ca8861e03448166fc17146f6a4e8bfc Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0a7688ca83d96d92152e5b06b41ae72b79cb69b5..3ddb7eb4d90e34d9a6eb6a4320ad2e00ff55ddd9 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -11952,28 +11952,24 @@ and Resumable Uploads.") (define-public python-googleapis-common-protos (package (name "python-googleapis-common-protos") - (version "1.56.4") + (version "1.66.0") (source (origin - (method url-fetch) - (uri (pypi-uri "googleapis-common-protos" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/googleapis/python-api-common-protos") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "05s4dszqd5pjwjh4bdic40v1v447k0a3dynsrgypqf3rfb276n62")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest"))))))) + (base32 "1fb7bcmjngmwwhqrldslli6r5z3s6r2kj4ywjmdjj92d1i51c29r")))) + (build-system pyproject-build-system) (propagated-inputs (list python-protobuf)) - (native-inputs - (list python-pytest)) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/googleapis/python-api-common-protos") (synopsis "Common protobufs used in Google APIs") - (description "This package contains Python classes generated from the -common protos in the @code{googleapis/api-common-protos} repository.") + (description + "This package contains Python classes generated from the common protos in +the @code{googleapis/api-common-protos} repository.") (license license:asl2.0))) (define-public python-google-api-core