py-flask-restful: add new package (#24875)

This commit is contained in:
Manuela Kuhn 2021-07-21 03:38:17 +02:00 committed by GitHub
parent c543b86e81
commit 5ec52fc3f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))