me
/
guix
Archived
1
0
Fork 0

gnu: python-hy: Move to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-hy)[build-system]: Move to
pyproject-build-system.
[arguments]: Remove custom 'check phase.  Use #:test-flags to skip a failing
test and enable other previously failing tests.

Change-Id: Ic5df4459f192ee79652dc77390d041999e505152
Vinicius Monego 2024-07-13 09:24:27 -03:00
parent 14737ed048
commit 67afc0afa3
No known key found for this signature in database
GPG Key ID: 637B0B138065B68A
1 changed files with 4 additions and 13 deletions

View File

@ -18414,20 +18414,11 @@ with a new public API, and RPython support.")
(file-name (git-file-name name version))
(sha256
(base32 "0fp5x94hyckjfap2pb1rj551a3q70vrljxark7hj9kdhr7prbggi"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "pytest" "-k"
(string-append ; skip some failed tests
"not test_sys_executable"
" and not test_circular_macro_require"
" and not test_macro_require"
" and not test_requires_pollutes_core"))))))))
;; This test expects the hy executable to be called 'hy', but in Guix
;; it's .hy-real.
(list #:test-flags #~(list "-k" "not test_sys_executable")))
(native-inputs
(list python-pytest-next python-wheel))
(propagated-inputs