py-datalad-webapp: add new package (#26226)

This commit is contained in:
Manuela Kuhn 2021-09-26 09:50:01 +02:00 committed by GitHub
parent 3b323d6c90
commit d627026910
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 PyDataladWebapp(PythonPackage):
"""DataLad extension for exposing commands via a web request API"""
homepage = "https://github.com/datalad/datalad-webapp"
pypi = "datalad_webapp/datalad_webapp-0.3.tar.gz"
version('0.3', sha256='7bbb2ce58a7e0e6d1a7a2f33d7e50fe7e73cd764380e70fdc2d9f651c3d0e312')
depends_on('py-setuptools', type='build')
depends_on('py-datalad@0.12.5:', type=('build', 'run'))
depends_on('py-flask@1.0:', type=('build', 'run'))
depends_on('py-flask-restful', type=('build', 'run'))
depends_on('py-pytest-cov', type=('build', 'run'))