all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 68207@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#68207] [PATCH 4/5] gnu: python-rich: Update to 13.7.0.
Date: Tue,  2 Jan 2024 15:05:49 +0000	[thread overview]
Message-ID: <b454c1acbe89b7541bf618b591a64d0bef82a797.1704207105.git.felgru@posteo.net> (raw)
In-Reply-To: <cover.1704207105.git.felgru@posteo.net>

* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py; replace python-pygments
with python-pygments-next.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).

Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
---
 gnu/packages/python-xyz.scm | 49 ++++++++++++-------------------------
 1 file changed, 15 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d0a8f900b3..25f123e904 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18360,42 +18360,23 @@ (define-public python-slugid
 (define-public python-rich
   (package
     (name "python-rich")
-    (version "12.4.1")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "rich" version))
-              (sha256
-               (base32
-                "149vjb4cpf9mz14iig0b6d8065dm8aslp6pc45g9ipmp1wf00ffj"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs tests? #:allow-other-keys)
-             (when tests?
-               (copy-recursively (string-append
-                                  (assoc-ref inputs "tests") "/tests")
-                                 "tests")
-               (invoke "python" "-m" "pytest" "-vv")))))))
+    (version "13.7.0")
+    (source
+      (origin
+        ;; There are no tests in the PyPI tarball.
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/willmcgugan/rich")
+              (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g"))))
+    (build-system pyproject-build-system)
     (propagated-inputs
-     (list python-attrs python-colorama python-commonmark python-pygments
-           python-typing-extensions))
+     (list python-ipywidgets python-markdown-it-py python-pygments-next))
     (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("tests"
-        ;; The release on pypi comes without tests.  We can't build from this
-        ;; checkout, though, because installation requires an invocation of
-        ;; poetry.
-        ,(origin
-           (method git-fetch)
-           (uri (git-reference
-                 (url "https://github.com/willmcgugan/rich")
-                 (commit (string-append "v" version))))
-           (file-name (git-file-name name version))
-           (sha256
-            (base32
-             "17c3gljn8zv32xnpsgd3fqgqn4r7cdfqri41hridcpbhssdgkyp9"))))))
+     (list python-poetry-core python-pytest))
     (home-page "https://github.com/willmcgugan/rich")
     (synopsis "Render rich text and more to the terminal")
     (description
-- 
2.41.0





  parent reply	other threads:[~2024-01-02 15:07 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-02 15:03 [bug#68207] [PATCH 0/5] Update python-textual to 0.46.0 Felix Gruber
2024-01-02 15:05 ` [bug#68207] [PATCH 1/5] gnu: python-markdown-it-py: Update to 3.0.0 Felix Gruber
2024-01-02 15:05 ` [bug#68207] [PATCH 2/5] gnu: python-mdit-py-plugins: Update to 0.4.0 Felix Gruber
2024-01-02 15:05 ` [bug#68207] [PATCH 3/5] gnu: Add python-pygments-next Felix Gruber
2024-01-02 15:05 ` Felix Gruber [this message]
2024-01-02 15:05 ` [bug#68207] [PATCH 5/5] gnu: python-textual: Update to 0.46.0 Felix Gruber
2024-02-12 17:55 ` [bug#68207] [PATCH v2 0/5] Update python-textual to 0.50.1 Felix Gruber
2024-02-12 18:04   ` [bug#68207] [PATCH v3 " Felix Gruber
2024-02-12 18:04     ` [bug#68207] [PATCH v3 1/5] gnu: python-markdown-it-py: Update to 3.0.0 Felix Gruber
2024-02-12 18:04     ` [bug#68207] [PATCH v3 2/5] gnu: python-mdit-py-plugins: Update to 0.4.0 Felix Gruber
2024-02-12 18:04     ` [bug#68207] [PATCH v3 3/5] gnu: Add python-pygments-next Felix Gruber
2024-02-12 18:04     ` [bug#68207] [PATCH v3 4/5] gnu: python-rich: Update to 13.7.0 Felix Gruber
2024-02-12 18:04     ` [bug#68207] [PATCH v3 5/5] gnu: python-textual: Update to 0.50.1 Felix Gruber
2024-02-12 17:55 ` [bug#68207] [PATCH v2 1/5] gnu: python-markdown-it-py: Update to 3.0.0 Felix Gruber
2024-02-12 17:55 ` [bug#68207] [PATCH v2 2/5] gnu: python-mdit-py-plugins: Update to 0.4.0 Felix Gruber
2024-02-12 17:55 ` [bug#68207] [PATCH v2 3/5] gnu: Add python-pygments-next Felix Gruber
2024-02-12 17:55 ` [bug#68207] [PATCH v2 4/5] gnu: python-rich: Update to 13.7.0 Felix Gruber
2024-02-12 17:55 ` [bug#68207] [PATCH v2 5/5] gnu: python-textual: Update to 0.50.1 Felix Gruber
2024-02-13 14:13 ` [bug#68207] [PATCH 0/5] Update python-textual to 0.46.0 Sharlatan Hellseher
2024-02-13 14:15 ` [bug#68207] [PATCH v4 1/8] gnu: python-markdown-it-py: Update to 3.0.0 Sharlatan Hellseher
2024-02-13 14:15   ` [bug#68207] [PATCH v4 2/8] gnu: python-mdit-py-plugins: Update to 0.4.0 Sharlatan Hellseher
2024-02-13 14:15   ` [bug#68207] [PATCH v4 3/8] gnu: Add python-pygments-next Sharlatan Hellseher
2024-02-13 14:15   ` [bug#68207] [PATCH v4 4/8] gnu: python-rich: Update to 13.7.0 Sharlatan Hellseher
2024-02-13 14:15   ` [bug#68207] [PATCH v4 5/8] gnu: python-textual: Update to 0.50.1 Sharlatan Hellseher
2024-02-13 14:15   ` [bug#68207] [PATCH v4 6/8] gnu: python-jupytext: Update to 1.15.0 Sharlatan Hellseher
2024-02-13 14:15   ` [bug#68207] [PATCH v4 7/8] gnu: python-lightning-cloud: Disable tests Sharlatan Hellseher
2024-02-13 14:15   ` [bug#68207] [PATCH v4 8/8] gnu: python-myst-parser: Relax some requirements Sharlatan Hellseher
2024-02-27  9:24 ` bug#68207: [PATCH 0/5] Update python-textual to 0.46.0 Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b454c1acbe89b7541bf618b591a64d0bef82a797.1704207105.git.felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=68207@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.