From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH2Sp-0001nB-3M for guix-patches@gnu.org; Sat, 03 Jun 2017 02:23:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dH2So-0004Lp-3t for guix-patches@gnu.org; Sat, 03 Jun 2017 02:23:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dH2So-0004LR-1P for guix-patches@gnu.org; Sat, 03 Jun 2017 02:23:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dH2Sn-0001zg-Ql for guix-patches@gnu.org; Sat, 03 Jun 2017 02:23:05 -0400 Subject: bug#27071: [PATCH v2 7/8] gnu: Add python-apispec. Resent-Message-ID: From: Danny Milosavljevic Date: Sat, 3 Jun 2017 08:22:15 +0200 Message-Id: <20170603062216.13375-8-dannym@scratchpost.org> In-Reply-To: <20170603062216.13375-1-dannym@scratchpost.org> References: <20170527155446.1b8c0f14@scratchpost.org> <20170603062216.13375-1-dannym@scratchpost.org> 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: 27071@debbugs.gnu.org * gnu/packages/python.scm (python-apispec, python2-apispec): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cbc8650b4..243637881 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15066,3 +15066,34 @@ complex datatypes to and from native Python datatypes.") (define-public python2-bottle (package-with-python2 python-bottle)) + +(define-public python-apispec + (package + (name "python-apispec") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "apispec" version)) + (sha256 + (base32 + "0y3jxmgp2d24am3hxl40f5rw9abb0r8037sagax3dv64h4n1azwq")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyyaml" ,python-pyyaml))) + (native-inputs + `(("python-pytest-3.0" ,python-pytest-3.0) + ("python-flask" ,python-flask) + ("python-marshmallow" ,python-marshmallow) + ("python-tornado" ,python-tornado) + ("python-bottle" ,python-bottle) + ("python-mock" ,python-mock))) + (home-page "https://github.com/marshmallow-code/apispec") + (synopsis "Swagger 2.0 API specification generator") + (description "@code{python-apispec} is a pluggable API specification +generator. Currently supports the OpenAPI specification (f.k.a. +Swagger 2.0).") + (license license:expat))) + +(define-public python2-apispec + (package-with-python2 python-apispec))