From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:44060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmvn-0005Q3-Ec for guix-patches@gnu.org; Tue, 28 May 2019 20:59:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmvm-00035G-9h for guix-patches@gnu.org; Tue, 28 May 2019 20:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVmvm-000356-5w for guix-patches@gnu.org; Tue, 28 May 2019 20:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVmvm-0006nH-3p for guix-patches@gnu.org; Tue, 28 May 2019 20:59:02 -0400 Subject: [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors. Resent-Message-ID: Mime-Version: 1.0 Message-Id: <3bc93562-ec2c-4444-b8b0-0d9b8bc6d446@www.fastmail.com> In-Reply-To: <20190528210944.5ad9cd56@scratchpost.org> References: <20190528105743.3749-1-h.nasajpour@pantherx.org> <20190528210944.5ad9cd56@scratchpost.org> Date: Wed, 29 May 2019 05:28:48 +0430 From: "Hamzeh Nasajpour" Content-Type: text/plain 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: Danny Milosavljevic Cc: 35949@debbugs.gnu.org +(define-public python-flask-cors + (package + (name "python-flask-cors") + (version "3.0.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "Flask-Cors" version)) + (sha256 (base32 "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-six" ,python-six) + ("python-flask" ,python-flask))) + (home-page "https://github.com/corydolphin/flask-cors") + (synopsis "A Flask extension adding a decorator for CORS support") + (description + "This package has a simple philosophy, when you want to enable CORS, you wish to enable it for all use cases on a domain. This means no mucking around with different allowed headers, methods, etc. By default, submission of cookies across domains is disabled due to the security implications") + (license license:expat))) + On Tue, May 28, 2019, at 11:39 PM, Danny Milosavljevic wrote: > Hi, > > On Tue, 28 May 2019 15:27:43 +0430 > "h.nasajpour" wrote: > > > + (source (origin > > + (method url-fetch) > > + (uri (pypi-uri "Flask-Cors" version)) > > + (sha256 (base32 "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y")))) > > Strange indentation. > > > + (arguments > > + `(#:tests? #f)) > > Please add a comment with the reason. > > > + (propagated-inputs > > + `(("python-six" ,python-six) > > + ("python-flask" ,python-flask))) > > + (home-page "https://github.com/corydolphin/flask-cors") > > + (synopsis "A Flask extension adding a decorator for CORS support") > > + (description > > + "A Flask extension adding a decorator for CORS support") > > Please add text to the description that describes what CORS is. > Also, the description should be full sentences. >