diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-24 13:49:48 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-24 15:27:36 +0100 |
| commit | 7dfeb312987c8b7d6e2d5a7a8beb1b7e6e3886ad (patch) | |
| tree | 31343459abb45f965211f2bc50376374264d2b1d /gnu/packages/python-xyz.scm | |
| parent | 079da33c52bf36450ce2db75c2ad0c5e8bcc00cf (diff) | |
gnu: python-termstyle: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-termstyle)[build-system]: Switch
to pyproject-build-system.
[arguments] <test-backend, test-flags>: Use custom.
<phases>: Use default 'check.
[native-inputs]: Add python-setuptools.
Change-Id: I3be88871b4e25ad1a1174353197f114ace148274
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bdc7fdcc2a4..8037dfbd4bc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24841,19 +24841,17 @@ JPEG2000 and GIF files in pure Python.") (name "python-termstyle") (version "0.1.11") (source - (origin - (method url-fetch) - (uri (pypi-uri "termstyle" version)) - (sha256 - (base32 - "17wzkkcqy5zc0g68xlad3kcv66iw14d2pwqc0h9420gak0vbhx7g")))) - (build-system python-build-system) + (origin + (method url-fetch) + (uri (pypi-uri "termstyle" version)) + (sha256 + (base32 "17wzkkcqy5zc0g68xlad3kcv66iw14d2pwqc0h9420gak0vbhx7g")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "python" "test3.py")))))) + (list #:test-backend #~'custom + #:test-flags #~(list "test3.py"))) + (native-inputs + (list python-setuptools)) (home-page "https://github.com/gfxmonk/termstyle") (synopsis "Console text coloring for Python") (description "This package provides console text coloring for Python.") |
