[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
147/232: gnu: Add python-pecan.
From: |
guix-commits |
Subject: |
147/232: gnu: Add python-pecan. |
Date: |
Sun, 24 Apr 2022 23:59:03 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 00e0e37d7bf665129df0a9d42512d39e7cee68e1
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")
- 116/232: gnu: python-send2trash: Update to 1.8.0 and update home page., (continued)
- 116/232: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/24
- 122/232: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/24
- 123/232: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/24
- 125/232: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/24
- 124/232: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/24
- 127/232: gnu: Add texlive-cbfonts., guix-commits, 2022/04/24
- 129/232: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/04/24
- 132/232: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/04/24
- 135/232: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/24
- 137/232: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/24
- 147/232: gnu: Add python-pecan.,
guix-commits <=
- 142/232: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/04/24
- 143/232: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/24
- 149/232: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/24
- 152/232: gnu: Add python-openapi-core., guix-commits, 2022/04/24
- 153/232: gnu: Add python-jupyterlab-server., guix-commits, 2022/04/24
- 156/232: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/04/24
- 158/232: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/24
- 159/232: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/04/24
- 160/232: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/24
- 164/232: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/04/24