[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/91: gnu: python-pypujs: Improve package style.
From: |
guix-commits |
Subject: |
29/91: gnu: python-pypujs: Improve package style. |
Date: |
Thu, 23 May 2024 17:17:30 -0400 (EDT) |
ngz pushed a commit to branch python-team
in repository guix.
commit d78fef8ae58dbb312e0344230f254a3cdab667a0
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:24 2024 +0200
gnu: python-pypujs: Improve package style.
* gnu/packages/python-xyz.scm (python-pypujs): Improve package style.
[arguments]<#:test-flags>: Use it in place of check phase
replacement.
<#:phases>: Clarify phase disable-pyramid.
Change-Id: If8073cc4e9a8a86003000e7157985fe382de7b4f
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-xyz.scm | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3a4ea6f54e..a22c45ef59 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6455,18 +6455,13 @@ templates. A format string can be provided to control
the output.")
(build-system pyproject-build-system)
(arguments
(list
+ #:test-flags '(list "pypugjs/testsuite/")
#:phases #~(modify-phases %standard-phases
- ;; Our pyramid is outdated and pyramid-mako is not packaged.
(add-after 'unpack 'disable-pyramid
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "setup.py"
- (("'pyramid")
- "#'pyramid"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "pytest" "-v"
- "pypugjs/testsuite/")))))))
+ (lambda _
+ ;; pyramid is outdated and pyramid-mako is unpackaged.
+ (substitute* "setup.cfg"
+ (("'(pyramid|pyramid-mako)[^']*',") "")))))))
(native-inputs (list python-coverage
python-django
python-jinja2
- 05/91: gnu: python-codespell: Improve package style., (continued)
- 05/91: gnu: python-codespell: Improve package style., guix-commits, 2024/05/23
- 09/91: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/05/23
- 15/91: gnu: python-xcffib: Move to (gnu packages xorg)., guix-commits, 2024/05/23
- 17/91: gnu: qtile: Improve package style., guix-commits, 2024/05/23
- 27/91: gnu: dynaconf: Improve package style., guix-commits, 2024/05/23
- 23/91: gnu: python-conda-package-handling: Move to pyproject-build-system., guix-commits, 2024/05/23
- 38/91: gnu: behave: Move to pyproject-build-system., guix-commits, 2024/05/23
- 43/91: gnu: python-cbor: Update home-page., guix-commits, 2024/05/23
- 32/91: gnu: python-asdf-astropy: Fix build., guix-commits, 2024/05/23
- 54/91: gnu: python-jaraco-functools: Move to pyproject-build-system., guix-commits, 2024/05/23
- 29/91: gnu: python-pypujs: Improve package style.,
guix-commits <=
- 51/91: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/05/23
- 31/91: gnu: python-nbval: Move to pyproject-build-system., guix-commits, 2024/05/23
- 42/91: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/05/23
- 45/91: gnu: abjad: Update to 3.19., guix-commits, 2024/05/23
- 36/91: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/05/23
- 26/91: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/05/23
- 57/91: gnu: python-nbstripout: Move to pyproject-build-system., guix-commits, 2024/05/23
- 59/91: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/05/23
- 61/91: gnu: python-pint: Disable benchmark tests., guix-commits, 2024/05/23
- 65/91: gnu: python-shtab: Move to pyproject-build-system., guix-commits, 2024/05/23