gnu: python-google: Switch to pyproject.

* gnu/packages/python-web.scm (python-google):
[source, description, arguments]: Improve style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools-next.

Change-Id: Ibdf9cd90e052dabfe644da99566f3973c865f12d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-06 15:14:26 +02:00 committed by Sharlatan Hellseher
parent 4dce53f2d7
commit 657f8e490c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7453,21 +7453,21 @@ users, gradebooks, and more.")
(package (package
(name "python-google") (name "python-google")
(version "3.0.0") (version "3.0.0")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "google" version)) (method url-fetch)
(sha256 (uri (pypi-uri "google" version))
(base32 (sha256
"1gncv3l11za0mpxvmpaf5n5j3jzp282rz62yml4ha4z55q930d8l")))) (base32 "1gncv3l11za0mpxvmpaf5n5j3jzp282rz62yml4ha4z55q930d8l"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments (list #:tests? #f)) ;There are no tests.
`(#:tests? #f)) ; There are no tests. (native-inputs (list python-setuptools-next))
(propagated-inputs (propagated-inputs (list python-beautifulsoup4))
(list python-beautifulsoup4))
(home-page "https://breakingcode.wordpress.com/") (home-page "https://breakingcode.wordpress.com/")
(synopsis "Python bindings to the Google search engine") (synopsis "Python bindings to the Google search engine")
(description "This package provides Python bindings for using the (description
Google search engine. Its module is called @code{googlesearch}.") "This package provides Python bindings for using the Google search
engine. Its module is called @code{googlesearch}.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-google-api-client (define-public python-google-api-client