mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-22 17:16:01 +02:00
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
This commit is contained in:
committed by
Andreas Enge
parent
309373b9a9
commit
cfb0fc85ef
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user