[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
141/166: gnu: Add python-pecan.
From: |
guix-commits |
Subject: |
141/166: gnu: Add python-pecan. |
Date: |
Tue, 19 Apr 2022 09:18:10 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 9131573e72aafcbe2662e2b8f46bd672627acefe
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 01:35:21 2022 -0400
gnu: Add python-pecan.
* gnu/packages/python-web.scm (python-pecan): New variable.
---
gnu/packages/python-web.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 97765e71aa..0ac8612cf7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5900,6 +5900,53 @@ Swagger.")
"Manuel lets you mix and match traditional doctests with custom test
syntax.")
(license license:asl2.0)))
+(define-public python-pecan
+ (package
+ (name "python-pecan")
+ (version "1.4.1")
+ (source
+ (origin
+ (method git-fetch) ;no tests in pypi release
+ (uri (git-reference
+ (url "https://github.com/pecan/pecan")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10lz0cqafx3j24m52vv9ph0bxrzyx6wv2dgz7g9kfm60lhaskqkh"))))
+ (build-system python-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")))))))
+ (native-inputs
+ (list gunicorn
+ python-genshi
+ python-jinja2
+ python-pytest
+ python-sqlalchemy
+ uwsgi))
+ (propagated-inputs
+ (list python-logutils
+ python-mako
+ python-six
+ python-webob
+ python-webtest))
+ (home-page "http://github.com/pecan/pecan")
+ (synopsis "WSGI object-dispatching web framework")
+ (description "This package provides a WSGI object-dispatching web
+framework, designed to be lean and fast, with few dependencies.")
+ (license license:bsd-3)))
+
(define-public python-persistent
(package
(name "python-persistent")
- 124/166: gnu: texlive-fontspec: Add missing propagated inputs., (continued)
- 124/166: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/19
- 125/166: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/19
- 126/166: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/04/19
- 129/166: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/19
- 134/166: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/19
- 133/166: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/04/19
- 136/166: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/04/19
- 137/166: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/19
- 138/166: gnu: Add python-socksio., guix-commits, 2022/04/19
- 140/166: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/19
- 141/166: gnu: Add python-pecan.,
guix-commits <=
- 142/166: gnu: Add python-aioredis., guix-commits, 2022/04/19
- 143/166: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/19
- 144/166: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/19
- 145/166: gnu: Add python-dictpath., guix-commits, 2022/04/19
- 146/166: gnu: Add python-openapi-core., guix-commits, 2022/04/19
- 149/166: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/19
- 150/166: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/04/19
- 151/166: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/19
- 154/166: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/19
- 157/166: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/19