summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-03-18 16:41:05 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:17 +0200
commitcfb0fc85ef9e2203ec323a8ebdc3d480872cc2a9 (patch)
tree1cf3f46b469f7edaaca670fd2958df100761f537 /gnu/packages/python-web.scm
parent309373b9a91f6d219f089acfa5ff3921f0daa953 (diff)
gnu: python-pecan: Update to 1.6.1.
* gnu/packages/python-web.scm (python-pecan): Update to 1.6.1. [build-system]: Use pyproject-build-system. [native-inputs]: Remove uwsgi. [arguments]: Remove 'relax-requirements phase and custom 'check phase. Change-Id: I94a09a56fa2f353d8df3a96cb38a5bd73d5b0c0b
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm21
1 files changed, 5 insertions, 16 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fdfd8975a4..eb54450d06 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8440,7 +8440,7 @@ Swagger.")
(define-public python-pecan
(package
(name "python-pecan")
- (version "1.4.1")
+ (version "1.6.1")
(source
(origin
(method git-fetch) ;no tests in pypi release
@@ -8450,28 +8450,17 @@ Swagger.")
(file-name (git-file-name name version))
(sha256
(base32
- "10lz0cqafx3j24m52vv9ph0bxrzyx6wv2dgz7g9kfm60lhaskqkh"))))
- (build-system python-build-system)
+ "1ybjvpws741bvxd7aq5hh8gv5sk9836hb9afgalqsm0lxsq0li3a"))))
+ (build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "test-requirements.txt"
- ;; Drop extraneous virtualenv requirement.
- ((".*virtualenv.*") ""))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv" "pecan")))))))
+ #:test-flags '(list "--pyargs" "pecan")))
(native-inputs
(list gunicorn
python-genshi
python-jinja2
python-pytest
- python-sqlalchemy
- uwsgi))
+ python-sqlalchemy))
(propagated-inputs
(list python-logutils
python-mako