From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34378) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTWFp-0006Om-3q for guix-patches@gnu.org; Tue, 28 Apr 2020 15:51:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTWF2-0005gV-5F for guix-patches@gnu.org; Tue, 28 Apr 2020 15:50:52 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTWF0-0005gI-PU for guix-patches@gnu.org; Tue, 28 Apr 2020 15:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTWF0-0002LO-O3 for guix-patches@gnu.org; Tue, 28 Apr 2020 15:50:02 -0400 Subject: [bug#40511] [PATCH 8/10] gnu: Add python-cheroot. Resent-Message-ID: References: <87d08h51lw.fsf@dustycloud.org> <87d07rtmvt.fsf@dustycloud.org> From: Christopher Lemmer Webber In-reply-to: <87d07rtmvt.fsf@dustycloud.org> Date: Tue, 28 Apr 2020 15:49:44 -0400 Message-ID: <87368ntmp3.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40511@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0008-gnu-Add-python-cheroot.patch Content-Transfer-Encoding: quoted-printable From=203621878476cbfd083a39921bf1e090cb22b08d43 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber 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. =2D-- 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 =2D-- 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-arc= hive))) + (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))) =2D-=20 2.26.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUQqGKOKndniPjHCcS8Alkl/49NMFAl6oiNgACgkQS8Alkl/4 9NOmxA/9HGZ8gZR7MZlu7kTpM7slbZKFbsj/YmOIDS7kVSqaW0/Lk7fNAkF6nZ8B O0IMCESaQ9UV3CWf4xTRf54lMja+OZs8YGQCVImlngKEv6Ux6LaqE1T4vrJ9vG2I mvVeQrhHkcTYkb67AvzeMLOtZXtCjt8YNxb8s42EsYW6Yhe26/X1d5mhNw+UpF8+ jf30OkI5Hz3JxDgA9INqXc1SXoWPwZd8bvBKdt6BnQfIMR0EleVCyglAuOlR6lbH HCl8yJtz3O0x9QSHMnCFJgI4l/+3sJ4APTVI++AjHXU3Y6zmvU71aoIcCxpNeuF9 8Apl7BQFCvATIJy0U/8xeth/4EFK2+6SIURlDOiG6xJ5WCXDuUWZLE55Zum1D64l /Yn9JUhEk94JhDnp6fkrE3TA3QMyq2IeVBlbma3VYBTkP+4f9ZiFYz6NpsGDKmZs eoEeF9tLlZw7BIVtMlc1oH/I7SvtoDMc7aRraMCjvWjPz3diW8vzcw7CEjE1YSMn MCcWIP0FsewUoEa4xdUa6IsXf+Qs5k/SUg2Suhe/r5URB8inT7HTkBs70rsgku0U tBY6pGsDb8mQHRuhj0c4OsU0DioPIcT8ktiTgaaV4iUdMmCR0wBbAVnO5LFuVuvw xf6TsU5XyobDtGIc5gf1kdZnkzTbTcse2HDmXgSPlGhXWwpf1s4= =/9gc -----END PGP SIGNATURE----- --==-=-=--