From 5ec52fc3f8ffde94803c9b31d47d037741e37871 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Wed, 21 Jul 2021 03:38:17 +0200 Subject: [PATCH] py-flask-restful: add new package (#24875) --- .../packages/py-flask-restful/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-flask-restful/package.py diff --git a/var/spack/repos/builtin/packages/py-flask-restful/package.py b/var/spack/repos/builtin/packages/py-flask-restful/package.py new file mode 100644 index 0000000000..0a56189471 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-flask-restful/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyFlaskRestful(PythonPackage): + """Simple framework for creating REST APIs""" + + homepage = "https://www.github.com/flask-restful/flask-restful/" + pypi = "Flask-RESTful/Flask-RESTful-0.3.8.tar.gz" + + version('0.3.9', sha256='ccec650b835d48192138c85329ae03735e6ced58e9b2d9c2146d6c84c06fa53e') + + depends_on('py-setuptools', type='build') + depends_on('py-aniso8601@0.82:', type=('build', 'run')) + depends_on('py-flask@0.8:', type=('build', 'run')) + depends_on('py-six@1.3.0:', type=('build', 'run')) + depends_on('py-pytz', type=('build', 'run'))