diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-31 23:36:28 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-07 18:33:35 +0100 |
| commit | 77faad4aa2461bb3c8ae811288b0a852788d20e5 (patch) | |
| tree | 6a4c1e03f11a618555d5dc9dce60b610e1cc2e97 /gnu | |
| parent | 2f1dd4f3265c7a831a41851e988ea9eb9232d969 (diff) | |
gnu: python-pyte: Switch to pyproject.
* gnu/packages/terminals.scm (python-pyte):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools, python-wheel. Remove
python-pytest-runner.
Change-Id: I6467cc03b9d71de5a5b70f39def7f409a64bdfce
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/terminals.scm | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 4d14c334aeb..b771e4505d9 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1074,25 +1074,16 @@ usable with any list--including files, command history, processes and more.") (version "0.8.1") (source (origin - (method url-fetch) - (uri (pypi-uri "pyte" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/selectel/pyte") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1c4pn2qijk6q8q25klfq365gbvlkrh8c0lz5lrr7b7kmh6vx3gxr")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-failing-test - ;; TODO: Reenable when the `captured` files required by this test - ;; are included in the archive. - (lambda _ - (delete-file "tests/test_input_output.py") - #t))))) - (propagated-inputs - (list python-wcwidth)) - (native-inputs - (list python-pytest-runner python-pytest)) + (base32 "0wvg16y79az9ingfdkrvr649bggsaxvyjlrcyjmb3s9fi9dyrfw0")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-wcwidth)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://pyte.readthedocs.io/") (synopsis "Simple VTXXX-compatible terminal emulator") (description "@code{pyte} is an in-memory VTxxx-compatible terminal |
