[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
141/204: gnu: Add python-pecan.
From: |
guix-commits |
Subject: |
141/204: gnu: Add python-pecan. |
Date: |
Wed, 20 Apr 2022 02:03:34 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit e10841256419b744250b8b284237a456c4db27a7
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 6ef4223791..a7d61f344c 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")
- 129/204: gnu: Add python-rfc3339-validator., (continued)
- 129/204: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/20
- 134/204: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/20
- 135/204: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/20
- 137/204: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/20
- 149/204: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/20
- 83/204: gnu: Add python-compreffor., guix-commits, 2022/04/20
- 121/204: gnu: Add python-pep621., guix-commits, 2022/04/20
- 130/204: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/20
- 136/204: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/04/20
- 140/204: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/20
- 141/204: gnu: Add python-pecan.,
guix-commits <=
- 142/204: gnu: Add python-aioredis., guix-commits, 2022/04/20
- 152/204: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/20
- 155/204: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/20
- 153/204: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/04/20
- 157/204: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/20
- 158/204: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/04/20
- 159/204: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/20
- 167/204: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/04/20
- 169/204: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/04/20
- 170/204: gnu: Add python-bson., guix-commits, 2022/04/20