[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40511] [PATCH 8/10] gnu: Add python-cheroot.
From: |
Christopher Lemmer Webber |
Subject: |
[bug#40511] [PATCH 8/10] gnu: Add python-cheroot. |
Date: |
Tue, 28 Apr 2020 15:49:44 -0400 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
From 3621878476cbfd083a39921bf1e090cb22b08d43 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <address@hidden>
Date: Tue, 28 Apr 2020 15:22:40 -0400
Subject: [PATCH 08/10] gnu: Add python-cheroot.
* gnu/packages/python-xyz.scm (python-cheroot): New variable.
---
gnu/packages/python-xyz.scm | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 153463f7bd..60839d646c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19801,3 +19801,56 @@ and watchdog.")
(description
"Provides fake a fake TLS certificate authority for Python unit tests.")
(license #f)))
+
+(define-public python-cheroot
+ (package
+ (name "python-cheroot")
+ (version "8.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cheroot" version))
+ (sha256
+ (base32
+ "0cc9cb5via001zkna0i2qp5s0bn1w327q6k7fba2f5v650gpwmx0"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-jaraco-functools" ,python-jaraco-functools)
+ ("python-more-itertools" ,python-more-itertools)
+ ("python-six" ,python-six)))
+ (arguments
+ ;; needs a newer pytest :\
+ `(#:tests? #f
+ ;; So we're also kicking out the dependency giving us
+ ;; trouble...
+ #:phases
+ (modify-phases %standard-phases
+ ;; Not importing the googleapis package for now
+ (add-after 'unpack 'ignore-googleapis
+ (lambda _
+ (substitute* "setup.py"
+ (("'python-pytest-testmon',") ""))
+ #t)))))
+ (native-inputs
+ `(("python-codecov" ,python-codecov)
+ ("python-colorama" ,python-colorama)
+ ("python-coverage" ,python-coverage)
+ ("python-jaraco-text" ,python-jaraco-text)
+ ("python-pyopenssl" ,python-pyopenssl)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-mock" ,python-pytest-mock)
+ ("python-pytest-sugar" ,python-pytest-sugar)
+ ("python-pytest-watch" ,python-pytest-watch)
+ ("python-pytest-xdist" ,python-pytest-xdist)
+ ("python-requests-unixsocket"
+ ,python-requests-unixsocket)
+ ("python-trustme" ,python-trustme)
+ ("python-urllib3" ,python-urllib3)
+ ("python-setuptools-scm-git-archive"
,python-setuptools-scm-git-archive)))
+ (home-page "https://cheroot.cherrypy.org")
+ (synopsis
+ "Pure-python HTTP server with an emphasis on performance")
+ (description
+ "Cheroot is the pure-Python HTTP server used by CherryPy.")
+ (license #f)))
--
2.26.0
signature.asc
Description: PGP signature
- [bug#40511] [PATCH 3/10] gnu: Add python-jarco-text., (continued)
- [bug#40511] [PATCH 3/10] gnu: Add python-jarco-text., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 4/10] gnu: Add python-pytest-testmon., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 5/10] gnu: Add python-pytest-watch., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 6/10] gnu: Add python-requests-unixsocket., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 7/10] gnu: Add python-trustme., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 8/10] gnu: Add python-cheroot.,
Christopher Lemmer Webber <=
- [bug#40511] [PATCH 9/10] gnu: Add python-markdown2., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [REDO 1] [PATCH 9/10] gnu: Add python-markdown2., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [REDO 1] [PATCH 1/10] gnu: Add python-jarco-classes., Christopher Lemmer Webber, 2020/04/28