summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-expecttest/package.py
blob: 60857d5a9bdb8a4a282be33f6e765b82e6830615 (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 PyExpecttest(PythonPackage):
    """This library implements expect tests (also known as "golden" tests)."""

    homepage = "https://github.com/ezyang/expecttest"
    pypi = "expecttest/expecttest-0.1.6.tar.gz"

    version("0.1.6", sha256="fd49563b6703b9c060a0bc946dfafc62bad74898867432192927eb1e5f9d8952")

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