From bf109f3d96b21cfb2cab2176a616f515547d57df Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 29 Jul 2025 17:23:58 +0100 Subject: [PATCH] gnu: python-pytz: Switch to pypproject-build-system. * gnu/packages/time.scm (python-pytz): [build-system]: Use pypproject. [arguments] : 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 db1b0bf3fac0d19d8ea232dd0e52becbd9dcb507..4aca28b688bc8ff8ae3365f3f57e18c382b027ff 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