[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
147/242: gnu: Add python-pecan.
From: |
guix-commits |
Subject: |
147/242: gnu: Add python-pecan. |
Date: |
Thu, 12 May 2022 14:14:22 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 0d585039704e9c6848d92f4f85a90dec49049a97
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 0e837c8180..9e8ae40382 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5901,6 +5901,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")
- 219/242: gnu: python-sphinxcontrib-programoutput: Update to 0.17 and enable tests., (continued)
- 219/242: gnu: python-sphinxcontrib-programoutput: Update to 0.17 and enable tests., guix-commits, 2022/05/12
- 241/242: gnu: Add python-sanic-testing., guix-commits, 2022/05/12
- 204/242: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/12
- 238/242: gnu: python-multidict: Update to 5.2.0., guix-commits, 2022/05/12
- 07/242: gnu: python-traitlets: Update to 5.1.1., guix-commits, 2022/05/12
- 39/242: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/05/12
- 60/242: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/05/12
- 133/242: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/05/12
- 132/242: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/05/12
- 124/242: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/05/12
- 147/242: gnu: Add python-pecan.,
guix-commits <=
- 149/242: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/05/12
- 152/242: gnu: Add python-openapi-core., guix-commits, 2022/05/12
- 153/242: gnu: Add python-jupyterlab-server., guix-commits, 2022/05/12
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/05/12
- 158/242: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/05/12
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/12
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/12
- 166/242: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/05/12
- 169/242: gnu: xeus: Update to 2.4.1., guix-commits, 2022/05/12
- 173/242: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/05/12