summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-automat/package.py
blob: 72c9e857480addc53dc005c3c82d707ebc2aa36a (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 PyAutomat(PythonPackage):
    """Self-service finite-state machines for the programmer on the go."""

    homepage = "https://github.com/glyph/Automat"
    pypi = "Automat/Automat-20.2.0.tar.gz"

    license("MIT")

    version("20.2.0", sha256="7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33")

    depends_on("py-setuptools", type="build")
    depends_on("py-setuptools-scm", type="build")
    depends_on("py-m2r", type="build")

    depends_on("py-attrs@19.2.0:", type=("build", "run"))
    depends_on("py-six", type=("build", "run"))