summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-graphlib-backport/package.py
blob: e177b4da96c9a7e11dda18e7410c5a6c63cb29bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 PyGraphlibBackport(PythonPackage):
    """Backport of the Python 3.9 graphlib module for Python 3.6+."""

    homepage = "https://github.com/mariushelf/graphlib_backport"
    pypi = "graphlib_backport/graphlib_backport-1.0.3.tar.gz"

    version("1.0.3", sha256="7bb8fc7757b8ae4e6d8000a26cd49e9232aaa9a3aa57edb478474b8424bfaae2")

    depends_on("python@3.6:3", type=("build", "run"))
    depends_on("py-poetry@1:", type="build")