gnu: python-pyowm: Update to 3.3.0.

* gnu/packages/python-web.scm (python-pyowm): Update to 3.3.0.
[build-system]: Use pyproject build system.
[arguments]: Run unit tests.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-geojson-for-pyowm.

Change-Id: Ifde514f971cf3821905d9f1beb491a53e7799325
This commit is contained in:
jgart 2024-07-16 10:28:05 -05:00
parent 79b1f40176
commit 325fed4c15
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35

View File

@ -6997,15 +6997,24 @@ changed the process is restarted.")
(define-public python-pyowm (define-public python-pyowm
(package (package
(name "python-pyowm") (name "python-pyowm")
(version "3.2.0") (version "3.3.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "pyowm" version)) (uri (git-reference
(url "https://github.com/csparpa/pyowm")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1pm8w6phr4m3xayndfndid366vhf1fpvdgjsp2zicxarmgc0pm53")))) (base32
(build-system python-build-system) "1ha4pp96y3jk33qnyir5851cnj4dc06q6wqn1b0w54l3fsds28vi"))))
(propagated-inputs (list python-geojson python-pysocks python-requests)) (build-system pyproject-build-system)
(arguments (list #:test-flags #~(list "tests/unit")))
(native-inputs (list python-pytest))
(propagated-inputs
(list python-geojson-for-pyowm
python-pysocks
python-requests))
(home-page "https://github.com/csparpa/pyowm") (home-page "https://github.com/csparpa/pyowm")
(synopsis "Python wrapper around OpenWeatherMap web APIs") (synopsis "Python wrapper around OpenWeatherMap web APIs")
(description (description