[add] py-graphene: new recipe, required by py-cylc-flow (#39988)

This commit is contained in:
Lydéric Debusschère 2023-10-03 19:21:36 +02:00 committed by GitHub
parent f0260c84b4
commit 3b32a9918c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,23 @@
# 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 PyGraphene(PythonPackage):
"""GraphQL Framework for Python."""
homepage = "https://github.com/graphql-python/graphene"
pypi = "graphene/graphene-3.3.tar.gz"
maintainers("LydDeb")
version("2.1.9", sha256="b9f2850e064eebfee9a3ef4a1f8aa0742848d97652173ab44c82cc8a62b9ed93")
depends_on("py-setuptools", type="build")
depends_on("py-graphql-core@2.1:2", type=("build", "run"))
depends_on("py-graphql-relay@2", type=("build", "run"))
depends_on("py-aniso8601@3:7", type=("build", "run"))
depends_on("py-six@1.10.0:1", type=("build", "run"))