[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: |
Wed, 11 May 2022 18:03:19 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit eff5be329c753eba05901e67ec0cbce6db79618b
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")
- 136/242: gnu: Add python-openapi-schema-validator., (continued)
- 136/242: gnu: Add python-openapi-schema-validator., guix-commits, 2022/05/11
- 140/242: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/05/11
- 146/242: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/05/11
- 149/242: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/05/11
- 144/242: gnu: Add python-socksio., guix-commits, 2022/05/11
- 137/242: gnu: Add python-openapi-spec-validator., guix-commits, 2022/05/11
- 145/242: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/05/11
- 141/242: gnu: Add python-httpx-bootstrap., guix-commits, 2022/05/11
- 150/242: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/05/11
- 152/242: gnu: Add python-openapi-core., guix-commits, 2022/05/11
- 147/242: gnu: Add python-pecan.,
guix-commits <=
- 157/242: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/05/11
- 158/242: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/05/11
- 162/242: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/05/11
- 167/242: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/05/11
- 177/242: gnu: python-can: Update to 4.0.0., guix-commits, 2022/05/11
- 170/242: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/05/11
- 171/242: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/05/11
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/11
- 168/242: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/05/11
- 183/242: gnu: Add python-toolrack., guix-commits, 2022/05/11