summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-validators/package.py
blob: b2baef6d013cd216d9b5aff3e25613bc90e8cae2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2024 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 PyValidators(PythonPackage):
    """Python Data Validation for Humans."""

    homepage = "https://github.com/kvesteri/validators"
    pypi = "validators/validators-0.20.0.tar.gz"

    license("MIT")

    version("0.20.0", sha256="24148ce4e64100a2d5e267233e23e7afeb55316b47d30faae7eb6e7292bc226a")

    depends_on("py-setuptools", type="build")
    depends_on("py-decorator@3.4:", type=("build", "run"))