From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fusNi-00084w-Aq for guix-patches@gnu.org; Wed, 29 Aug 2018 00:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fusE2-00067L-4C for guix-patches@gnu.org; Wed, 29 Aug 2018 00:37:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fusE1-00066M-TS for guix-patches@gnu.org; Wed, 29 Aug 2018 00:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fusE1-0004MZ-KS for guix-patches@gnu.org; Wed, 29 Aug 2018 00:37:01 -0400 Subject: [bug#32565] [PATCH] Add python-falcon-cors. Resent-Message-ID: From: Maxim Cournoyer References: <87va7tak4m.fsf@apteryx.i-did-not-set--mail-host-address--so-tickle-me> Date: Wed, 29 Aug 2018 00:36:41 -0400 In-Reply-To: (GNU bug Tracking System's message of "Wed, 29 Aug 2018 04:11:02 +0000") Message-ID: <87r2ihaiw6.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 32565@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi again, I'm adding this python-falcon-cors package here as well, since it depends on the previous python-falcon patch. Maxim --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-Add-python-falcon-cors.patch >From a2021511ee502bf4a29df7eb0ac657bd339e6bdc Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 29 Aug 2018 00:33:17 -0400 Subject: [PATCH] gnu: Add python-falcon-cors. * gnu/packages/web.scm (python-falcon-cors): New variable. --- gnu/packages/web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 2912c94f8..8e43aad83 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3834,6 +3834,29 @@ high-performance microservices, app backends, and higher-level frameworks.") (define-public python2-falcon (package-with-python2 python-falcon)) +(define-public python-falcon-cors + (package + (name "python-falcon-cors") + (version "1.1.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "falcon-cors" version)) + (sha256 + (base32 + "12pym7hwsbd8b0c1azn95nas8gm3f1qpr6lpyx0958xm65ffr20p")))) + (build-system python-build-system) + (native-inputs + `(("python-falcon" ,python-falcon))) + (home-page + "https://github.com/lwcolton/falcon-cors") + (synopsis "Falcon CORS middlware") + (description "This middleware provides CORS support for Falcon.") + (license l:asl2.0))) + +(define-public python2-falcon-cors + (package-with-python2 python-falcon-cors)) + (define-public python-feedparser (package (name "python-feedparser") -- 2.18.0 --=-=-=--