From 25a33a64b9a3b020b5671a06686c6caee30aac95 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Thu, 28 Nov 2024 23:49:08 +0000 Subject: gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3. * gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Update to 1.2.3. [propagated-inputs]: Add go-github-com-muesli-ansi, go-github-com-muesli-cancelreader, go-github-com-charmbracelet-lipgloss, go-github-com-charmbracelet-x-term, go-github-com-charmbracelet-x-ansi, and go-golang-org-x-sync. Sort inputs alphabetically. [arguments] : Fix tests that are failing due to newer version of "go-github-com-charmbracelet-x-ansi" package. Change-Id: Ifdb3074f342b34c07c0e7ab47341b159d1eea0c2 Reviewed-by: Sharlatan Hellseher --- gnu/packages/golang.scm | 47 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 14 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 541ac453d4..95aa1eb8de 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7007,7 +7007,7 @@ parser.") (define-public go-github-com-charmbracelet-bubbletea (package (name "go-github-com-charmbracelet-bubbletea") - (version "0.13.2") + (version "1.2.3") (source (origin (method git-fetch) @@ -7017,28 +7017,47 @@ parser.") (file-name (git-file-name name version)) (sha256 (base32 - "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0")))) + "0ggkl29qixgin5av1mbnwfbb31kmwpczh8pgpjsx9z277fs55mph")))) (build-system go-build-system) (arguments (list #:import-path "github.com/charmbracelet/bubbletea" - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-examples - (lambda* (#:key import-path #:allow-other-keys) - (with-directory-excursion (string-append "src/" import-path) - (for-each delete-file-recursively - '("examples" "tutorials")))))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (for-each delete-file-recursively + '("examples" "tutorials"))))) + (add-before 'check 'fix-tests + (lambda _ + ;; XXX: The package requires + ;; "go-github-com-charmbracelet-x-ansi" version 0.4.5; with the + ;; newer version of "ansi", some "bubbletea" screen tests fail + ;; as "ansi" 0.5.2 handles escape sequences a little bit + ;; differently. + (substitute* "src/github.com/charmbracelet/bubbletea/screen_test.go" + (("x1b\\[0K") + "x1b[K") + (("x1b\\[2;0H") + "x1b[2;H"))))))) (propagated-inputs - (list go-github-com-mattn-go-isatty - go-github-com-muesli-termenv + (list go-github-com-charmbracelet-lipgloss + go-github-com-charmbracelet-x-ansi + go-github-com-charmbracelet-x-term + go-github-com-containerd-console + go-github-com-lucasb-eyer-go-colorful + go-github-com-mattn-go-isatty + go-github-com-mattn-go-isatty go-github-com-mattn-go-runewidth + go-github-com-muesli-ansi + go-github-com-muesli-cancelreader go-github-com-muesli-reflow - go-github-com-lucasb-eyer-go-colorful - go-github-com-containerd-console + go-github-com-muesli-termenv go-golang-org-x-crypto + go-golang-org-x-sync go-golang-org-x-sys - go-golang-org-x-term - go-github-com-mattn-go-isatty)) + go-golang-org-x-term)) (home-page "https://github.com/charmbracelet/bubbletea") (synopsis "Powerful little TUI framework") (description -- cgit v1.2.3 [build-system]: Swap to pyproject-build-system. [arguments]: <#:phases>: Use default 'chck phase. Change-Id: I3bbbacd8694afdfee020f11d37f5c035bdad73f9 Sharlatan Hellseher 2024-07-30gnu: python-pytest-openfiles: Update to 0.6.0....* gnu/packages/python-check.scm (python-pytest-openfiles): Update to 0.6.0. Change-Id: I629c0b1ad56c313a850cbca6f58e66bb1d9920d7 Sharlatan Hellseher 2024-07-16gnu: python-pytest-trio: Move to pyproject-build-system....* gnu/packages/python-check.scm (python-pytest-trio): [build-system]: Move to pyproject-build-system. [arguments]: Move from <#:phases> to <#test-flags>. Change-Id: I7653110fc299d0757f7e01c2c1c29d599cb206bf Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Signed-off-by: jgart <jgart@dismail.de> Nicolas Graves 2024-07-03gnu: python-pytest-sanic: Further relax the websockets version requirements....* gnu/packages/python-check.scm (python-pytest-sanic)[arguments]: Accept PYTHON-WEBSOCKETS 12.0 in the custom 'relax-requirements' phase. Change-Id: I279d7f98ff2f1fe3be46ffd4f06bbc3005c453b5 Leo Famulari 2024-06-26gnu: Add python-pytest-subprocess....* gnu/packages/python-check.scm (python-pytest-subprocess): New variable. Change-Id: Id651d945836879e71eb30f51bc392f3027bcad6e Signed-off-by: jgart <jgart@dismail.de> Vinicius Monego 2024-06-18gnu: Add python-pytest-rerunfailures-13....* gnu/packages/python-check.scm (python-pytest-rerunfailures-13): New variable. David Elsing 2024-06-18gnu: Add python-expecttest....* gnu/packages/python-check.scm (python-expecttest): New variable. David Elsing 2024-06-18gnu: Add python-pytest-shard....* gnu/packages/python-check.scm (python-pytest-shard): New variable. David Elsing 2024-06-18gnu: Add python-pytest-flakefinder....* gnu/packages/python-check.scm (python-pytest-flakefinder): New variable. David Elsing 2024-05-05gnu: python-pytest-shutil: Disable a test....* gnu/packages/python-check.scm (python-pytest-shutil)[build-system]: Use pyproject-build-system. [arguments]: Disable test_pretty_formatter. Change-Id: I862320feab5b3c6e375bf652deced6a631dfc575 Ricardo Wurmus 2024-05-05gnu: Add python-nbmake....* gnu/packages/python-check.scm (python-nbmake): New variable. Change-Id: If062d0e34329e99b5bb87588e7ddf149c65bfdfb Ricardo Wurmus 2024-04-30gnu: Add python-assay....* gnu/packages/python-check.scm (python-assay): New variable. Change-Id: I0ec910d8c37000ff08119a33e3f42af2269fa494 Sharlatan Hellseher 2024-04-30gnu: python-pytest-socket: Update to 0.7.0....* gnu/packages/python-check.scm (python-pytest-socket): Update to 0.7.0. Change-Id: I879064eba2f4d93d2e2b519ebdf613685d5b5df9 Sharlatan Hellseher 2024-03-29gnu: python-pytest-filter-subpackage: Update to 0.2.0....* gnu/packages/python-check.scm (python-pytest-filter-subpackage): Update to 0.2.0. Change-Id: I04f000b3a75f671340fbd351b06265b99acb3856 Sharlatan Hellseher 2024-03-29gnu: python-pytest-arraydiff: Enable tests....* gnu/packages/python-check.scm (python-pytest-arraydiff): Enable tests. [build-system]: Swap to pyproject-build-system. [arguments] <#:test-flags>: Disable tests requiring python-astropy to break dependencies cycle. Change-Id: I0e4b6681d106a999c6fc12c3fd8c8f084762a92e Sharlatan Hellseher 2024-03-29gnu: python-pytest-arraydiff: Update to 0.6.1....* gnu/packages/python-check.scm (python-pytest-arraydiff): Update to 0.6.1. Change-Id: I6dd911eb38597790f66756a77f6086112329a156 Sharlatan Hellseher 2024-03-29gnu: python-pytest-doctestplus: Update to 1.2.0....* gnu/packages/python-check.scm (python-pytest-doctestplus): Update to 1.2.0. [arguments] <#:test-flags>: Disable one more failing test. [home-page]: Update accordingly with lint warning. Change-Id: I353a671741cf887c348d627d9e071e3fedcc4edc Sharlatan Hellseher 2024-03-28gnu: Add python-pytest-testmon....* gnu/packages/python-check.scm (python-pytest-testmon): New variable. Change-Id: Ia2e6034781898c04bd766145e0352060a975d479 Signed-off-by: Ricardo Wurmus <rekado@elephly.net> nafkhamdc 2024-02-11gnu: python-pytest-socket: Simplify package, enable tests....* gnu/packages/python-check.scm (python-pytest-socket) [build-system]: Swap to pyproject-build-system. [arguments] <#:test-flags>: Disable tests requiring network access. <#:phases>: Use standard phases. Change-Id: Ib7fe0b3dab4e269c00856a10b8ca23acc8c8e180 Sharlatan Hellseher 2024-02-11gnu: python-pyinstrument: Enable tests....* gnu/packages/python-check.scm (python-pyinstrument) [build-system]: Swap to pyproject-build-system. [native-inputs]: Add python-greenlet. Change-Id: I1cd0c3e906fbbdc561e66bae9fe35333f61801cf Sharlatan Hellseher 2024-02-11gnu: python-pyinstrument: Update to 4.6.2....* gnu/packages/python-check.scm (python-pyinstrument): Update to 4.6.2. Change-Id: I28e147272f273c04f7221f6d4f70677aee9a3747 Sharlatan Hellseher 2024-02-11gnu: python-pytest-csv: Simplify package....* gnu/packages/python-check.scm (python-pytest-csv) [build-system]: Swap to pyproejct-build-system. [arguments]: Use standard 'check phase. Change-Id: Iae04747b117bf5b5f9fb3c8b57cd40b8822edd77 Sharlatan Hellseher 2024-02-11gnu: python-beartype: Simplify package....* gnu/packages/python-check.scm (python-beartype) [build-system]: Swap to pyproject-build-system. [arguments]: Use standard 'check phase and <#:test-flags>. Change-Id: I372c5be3b142f0e25d15fd2bac20fc9cd4d8030c Sharlatan Hellseher 2024-02-11gnu: Add python-pandas-vet....* gnu/packages/python-xyz.scm (python-pandas-vet): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Troy Figiel 2024-01-11gnu: python-pytest-sanic: Relax requirement on websockets....* gnu/packages/python-check.scm (python-pytest-sanic)[arguments]: Use plain list; add 'relax-requirements phase. [description]: Use complete sentence. Change-Id: I3c21380b4aa208da8a92270b6748b620a4a2dcc0 Ricardo Wurmus 2023-12-28gnu: Add python-pytest-cookies....* gnu/packages/python-check.scm (python-pytest-cookies): New variable. Change-Id: I0b085d345bf1bce5fc9c03315da06954cf2125cb Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Troy Figiel 2023-11-05gnu: python-pytest-astropy: Update to 0.11.0....* gnu/packages/python-check (python-pytest-astropy): Update to 0.11.0. Signed-off-by: Christopher Baines <mail@cbaines.net> Sharlatan Hellseher 2023-11-05gnu: python-pytest-doctestplus: Update to 1.0.0....* gnu/packages/python-check (python-pytest-doctestplus): Update to 1.0.0. Signed-off-by: Christopher Baines <mail@cbaines.net> Sharlatan Hellseher 2023-11-05gnu: python-pytest-remotedata: Update to 0.4.1....* gnu/packages/python-check (python-pytest-remotedata): Update to 0.4.1. Signed-off-by: Christopher Baines <mail@cbaines.net> Sharlatan Hellseher 2023-10-25gnu: Add python-assertpy....* gnu/packages/python-check.scm (python-assertpy): New variable. Change-Id: Ia17d256361eebe977a7d663b473e6c907ffe4ec2 Ricardo Wurmus 2023-09-22gnu: Add python-slotscheck....* gnu/packages/python-check.scm (python-slotscheck): New variable. Marius Bakke 2023-09-15gnu: python-mypy: Update to 1.4.1....* gnu/packages/python-check.scm (python-mypy): Update to 1.4.1. [origin]: Switch to PyPI. [arguments]: Don't skip the testImports test. Signed-off-by: Christopher Baines <mail@cbaines.net> Vincent Prat