summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-29 17:23:58 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:45 +0100
commitbf109f3d96b21cfb2cab2176a616f515547d57df (patch)
tree2959546564dbafccb8be47bd15e303bdb33044d2
parentb3f184ee297d7cf56af43405500acf4643d2a095 (diff)
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
-rw-r--r--gnu/packages/time.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index db1b0bf3fac..4aca28b688b 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