guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 328aef1fe8102b6b44fa8957a9a02d26d4efb43b Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Jul 29 17:23:58 2025 +0100
gnu: python-pytz: Switch to pypproject-build-system. * gnu/packages/time.scm (python-pytz): [build-system]: Use pypproject. [arguments] <test-backend>: Use 'unittest. [native-inputs]: Add python-setuptools. Change-Id: Iad65c9a0a37306093c0b0364192aaa9d6ce0d011 --- gnu/packages/time.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index db1b0bf3fa..4aca28b688 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -289,7 +289,12 @@ you will remove support for the pytz-specific interface.") (sha256 (base32 "13hpf2my8mgqkr38ch7s3rym9zz60m6pq87rcn7b46155az45ny2")))) - (build-system python-build-system) + (build-system pyproject-build-system) + (arguments + (list #:test-backend #~'unittest + #:test-flags #~(list "discover" "pytz/tests"))) + (native-inputs + (list python-setuptools)) (home-page "http://pythonhosted.org/pytz") (synopsis "Python timezone library") (description "This library brings the Olson tz database into Python. It