summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-graphql-relay/package.py
blob: a95c9b5e497aed4c64979bc57175501ed9462d19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 PyGraphqlRelay(PythonPackage):
    """Relay library for graphql-core."""

    homepage = "https://github.com/graphql-python/graphql-relay-py"
    pypi = "graphql-relay/graphql-relay-2.0.1.tar.gz"

    maintainers("LydDeb")

    license("MIT")

    version("2.0.1", sha256="870b6b5304123a38a0b215a79eace021acce5a466bf40cd39fa18cb8528afabb")

    depends_on("py-setuptools", type="build")
    depends_on("py-graphql-core@2.2:2", type=("build", "run"), when="@2")
    depends_on("py-six@1.12:", type=("build", "run"), when="@2")
    depends_on("py-promise@2.2:2", type=("build", "run"), when="@2")