[add] py-graphene-tornado: new recipe, required by py-cylc-uiserver (#39985)

* [add] py-graphene-tornado: new recipe, required by py-cylc-uiserver

* py-graphene-tornado: Taking reviewing into account

* py-graphene-tornado: add type run in dependences py-jinja, py-tornado and py-werkzeug

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: LydDeb <lyderic.debusschere.tgcc@cea.fr>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Lydéric Debusschère 2023-10-14 19:25:02 +02:00 committed by GitHub
parent bc3cd02776
commit b8cb36ce50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,25 @@
# Copyright 2013-2023 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.package import *
class PyGrapheneTornado(PythonPackage):
"""Graphene Tornado integration."""
homepage = "https://github.com/graphql-python/graphene-tornado"
pypi = "graphene-tornado/graphene-tornado-2.6.1.tar.gz"
maintainers("LydDeb")
version("2.6.1", sha256="953bf812267177224ce1ac2a93c669069d85a8fa187a9fac681b76b63dffebc2")
depends_on("py-setuptools", type="build")
depends_on("py-six@1.10.0:", type=("build", "run"))
depends_on("py-graphene@2.1:2", type=("build", "run"))
depends_on("py-jinja2@2.10.1:", type=("build", "run"))
depends_on("py-tornado@5.1.0:", type=("build", "run"))
depends_on("py-werkzeug@0.12.2", type=("build", "run"))
depends_on("py-pytest", type=("build"))