M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +11 -1
@@ 32643,7 32643,17 @@ an upload option to send your work back to the platform.")
(sha256
(base32
"1x9myq3rlbw6wh946ncch8px7wyabhzacy2fjji13nmvrivs50vx"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (apply invoke "python" "-m" "unittest" test-flags)))))))
+ (native-inputs
+ (list python-setuptools-next))
(home-page "https://github.com/ppannuto/python-titlecase")
(synopsis "Capitalize strings similar to book titles")
(description