[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
109/150: gnu: python-rich: Build using poetry.
From: |
guix-commits |
Subject: |
109/150: gnu: python-rich: Build using poetry. |
Date: |
Sun, 24 Apr 2022 05:12:30 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 0877e6eb92ce091b67fda641c00bbf2210ad576e
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Jan 7 13:51:47 2022 +0100
gnu: python-rich: Build using poetry.
* gnu/packages/python-xyz.scm (python-rich)[source]: Use git-fetch.
[arguments]: Remove custom 'check phase.
[native-inputs]: Add python-poetry-core, remove git-fetch origin for tests.
---
gnu/packages/python-xyz.scm | 35 ++++++++---------------------------
1 file changed, 8 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dab82c119f..f5cdb40739 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15577,33 +15577,8 @@ is made as zipfile like as possible.")
(package
(name "python-rich")
(version "10.2.2")
+ ;; PyPi tarball has no tests.
(source (origin
- (method url-fetch)
- (uri (pypi-uri "rich" version))
- (sha256
- (base32
- "1z5m5brcdf3vndpavcqj5nl35xby4x5rfj48klhwqycfqf3g9cqp"))))
- (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")))))))
- (propagated-inputs
- (list python-attrs python-colorama python-commonmark python-pygments
- python-typing-extensions))
- (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")
@@ -15611,7 +15586,13 @@ is made as zipfile like as possible.")
(file-name (git-file-name name version))
(sha256
(base32
- "19f4svb363sn5708qkpa6lakmiwzyb25h8kmh7bqrsbbrvi9hr70"))))))
+ "19f4svb363sn5708qkpa6lakmiwzyb25h8kmh7bqrsbbrvi9hr70"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-attrs python-colorama python-commonmark python-pygments
+ python-typing-extensions))
+ (native-inputs
+ (list python-pytest python-poetry-core))
(home-page "https://github.com/willmcgugan/rich")
(synopsis "Render rich text and more to the terminal")
(description
- 84/150: gnu: python-eliot: Remove redundant input., (continued)
- 84/150: gnu: python-eliot: Remove redundant input., guix-commits, 2022/04/24
- 88/150: gnu: python-cairocffi: Disable tests., guix-commits, 2022/04/24
- 78/150: gnu: python-apipkg: Disable tests., guix-commits, 2022/04/24
- 80/150: gnu: python-isort: Remove custom build phases., guix-commits, 2022/04/24
- 93/150: gnu: python-dnaio: Disable tests., guix-commits, 2022/04/24
- 91/150: gnu: python-progressbar2: Disable tests., guix-commits, 2022/04/24
- 65/150: gnu: scons: Remove obsolete argument., guix-commits, 2022/04/24
- 100/150: gnu: Remove remaining uses of #:test-target for python-build-system., guix-commits, 2022/04/24
- 107/150: gnu: python-capablerobot-usbhub: Build using python-poetry-core., guix-commits, 2022/04/24
- 115/150: gnu: python-clikit: Add missing build input., guix-commits, 2022/04/24
- 109/150: gnu: python-rich: Build using poetry.,
guix-commits <=
- 112/150: gnu: python-yaspin: Add missing build input., guix-commits, 2022/04/24
- 18/150: gnu: python-multivolumefile: Remove unused inputs., guix-commits, 2022/04/24
- 20/150: gnu: gusb-minimal: Add explicit dependency on setuptools., guix-commits, 2022/04/24
- 30/150: gnu: python-tomlkit: Add missing build system input., guix-commits, 2022/04/24
- 36/150: gnu: python-apsw: Remove custom 'build phase., guix-commits, 2022/04/24
- 24/150: gnu: python-folium: Disable tests., guix-commits, 2022/04/24
- 12/150: gnu: python-charset-normalizer: Add missing input., guix-commits, 2022/04/24
- 32/150: gnu: python-eradicate: Disable missing tests., guix-commits, 2022/04/24
- 05/150: gnu: Use python2-toolchain-for-build instead of python-2., guix-commits, 2022/04/24
- 26/150: gnu: python-django-pipeline: Disable tests., guix-commits, 2022/04/24