[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
162/474: gnu: python-pypujs: Improve package style.
From: |
guix-commits |
Subject: |
162/474: gnu: python-pypujs: Improve package style. |
Date: |
Sat, 30 Nov 2024 18:20:11 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit f42045cad2d37a0cdad4e57bf6cf8a474963bd85
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 b9a18f9ac0..69e50d2512 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6748,18 +6748,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
- 166/474: gnu: gunicorn: Update to 21.2.0., (continued)
- 166/474: gnu: gunicorn: Update to 21.2.0., guix-commits, 2024/11/30
- 167/474: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/11/30
- 169/474: gnu: python-tinycss: Move to pyproject-build-system., guix-commits, 2024/11/30
- 159/474: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/11/30
- 180/474: gnu: python-pytest-toolbox: Move to pyproject-build-system., guix-commits, 2024/11/30
- 164/474: gnu: python-nbval: Move to pyproject-build-system., guix-commits, 2024/11/30
- 170/474: gnu: behave: Move to pyproject-build-system., guix-commits, 2024/11/30
- 173/474: gnu: python-parse-type: Move to pyproject-build-system., guix-commits, 2024/11/30
- 171/474: gnu: python-cucumber-tag-expressions: Move to pyproject-build-system., guix-commits, 2024/11/30
- 181/474: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/30
- 162/474: gnu: python-pypujs: Improve package style.,
guix-commits <=
- 184/474: gnu: python-jaraco-context: Move to pyproject-build-system., guix-commits, 2024/11/30
- 183/474: gnu: python-jaraco-classes: Move to pyproject-build-system., guix-commits, 2024/11/30
- 190/474: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/11/30
- 191/474: gnu: python-pytest-enabler: Break dependency cycle., guix-commits, 2024/11/30
- 197/474: gnu: python-xmltodict: Move to pyproject-build-system., guix-commits, 2024/11/30
- 199/474: gnu: python-cmd2: Move to pyproject-build-system., guix-commits, 2024/11/30
- 211/474: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/11/30
- 207/474: gnu: borgmatic: Move to pyproject-build-system., guix-commits, 2024/11/30
- 231/474: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/30
- 212/474: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/30