summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm28
1 files changed, 14 insertions, 14 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6a0710599d..ec5cece767 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24026,22 +24026,22 @@ simple, lightweight implementation.")
(sha256
(base32
"03jkf1ygbwq3akzbcjyjk1akc1hv2sfgx90306pq1nwklbpn80lk"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Tests for lowercase postcodes fail.
- (invoke "pytest" "-vv" "ukpostcodeparser/test/parser.py" "-k"
- (string-append "not test_091 "
- "and not test_097 "
- "and not test_098 "
- "and not test_125 "
- "and not test_131"))))))))
+ (list
+ #:test-flags
+ #~(list
+ ;; Tests for lowercase postcodes fail.
+ "-k" (string-join
+ (list "not test_091 "
+ "test_097 "
+ "test_098 "
+ "test_125 "
+ "test_131")
+ " and not ")
+ "ukpostcodeparser/test/parser.py")))
(native-inputs
- (list python-pytest))
+ (list python-pytest python-setuptools))
(home-page "https://github.com/hamstah/ukpostcodeparser")
(synopsis "UK Postcode parser for Python")
(description