diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 17:27:46 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-06 22:08:09 +0100 |
| commit | 1fdf3c2f60305a8ec0da5d4dceef68890da8926e (patch) | |
| tree | 6ac154a6c4ac61cab3b7d50819ec8c11b0e1b7ac /gnu/packages/python-xyz.scm | |
| parent | bcdf37a0a6845edd11117c73d63bd52afd2054dc (diff) | |
gnu: pyzo: Switch to pyproject.
* gnu/packages/python-xyz.scm (pyzo):
[build-system]: Switch to pyproject-build-system.
[arguments]: Enable <#:tests?>, replace <#:phases> with <#:test-flags>.
[native-inputs]: Add python-pytest and python-setuptools-next.
Change-Id: Ia163f37bb64282cc8f9e9f10600dd40125915aa0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a6f500d8e7..2b47b0f19f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33589,24 +33589,17 @@ dictionaries.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "0agq171cz7y10cknjypwrvsvikja3w9d28hlr3kw5k2sdvfqnpam")))) - (build-system python-build-system) + (base32 "0agq171cz7y10cknjypwrvsvikja3w9d28hlr3kw5k2sdvfqnpam")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'fix-home-directory - (lambda _ - ;; Tests fail with "Permission denied: '/homeless-shelter'". - (setenv "HOME" "/tmp")))) - ;; Tests fail with "Uncaught Python exception: python: undefined - ;; symbol: objc_getClass". - #:tests? #f)) - (propagated-inputs - (list python-pyqt)) + (list + #:test-flags + #~(list "--ignore-glob=pyzo/yoton/tests/*" ; XXX: yoton is outdated. + "--ignore=pyzo/codeeditor/_test.py"))) ; XXX: cannot import qt. + (native-inputs (list python-pytest python-setuptools-next)) + (propagated-inputs (list python-pyqt)) (home-page "https://pyzo.org") - (synopsis - "Python IDE for scientific computing") + (synopsis "Python IDE for scientific computing") (description "Pyzo is a Python IDE focused on interactivity and introspection, which makes it very suitable for scientific computing. Its practical |
