gnu: python-schedule: Update to 1.2.2.

* gnu/packages/python-xyz.scm (python-schedule): Update to 1.2.2.
[source]: Remove unnecessary snippet.
[build-system]: Use pyproject-build-system.
[native-inputs]: Remove python-mock. Add python-setuptools,
python-wheel.

Change-Id: Ib5276ba608bff46d20171b121cb2d667c03954f8
This commit is contained in:
Vinicius Monego 2025-06-25 19:32:31 -03:00
parent 7d57257b09
commit 5b3ac6e413
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -5509,22 +5509,17 @@ in the current session, Python, and the OS.")
(define-public python-schedule
(package
(name "python-schedule")
(version "0.4.3")
(version "1.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "schedule" version))
(sha256
(base32
"0vplyjcbfrq50sphlwya749z8p2pcyi2nycw3518i0qpd9a6189i"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "schedule/__init__.py"
(("collections\\.Hashable")
"collections.abc.Hashable"))))))
(build-system python-build-system)
"1dzhwpnpbvv90z6lavx4z7whh1a2y47cq69zgxibknazzrsrrzhm"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest python-mock))
(list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/dbader/schedule")
(synopsis "Schedule periodic function calls in Python")
(description