summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rfc3339-validator/package.py
blob: 2aa63284580c67841768eb3a92a39bac3b47aae4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyRfc3339Validator(PythonPackage):
    """A pure python RFC3339 validator."""

    homepage = "https://github.com/naimetti/rfc3339-validator"
    pypi = "rfc3339_validator/rfc3339_validator-0.1.4.tar.gz"

    license("MIT")

    version("0.1.4", sha256="138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b")

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

    depends_on("py-six", type=("build", "run"))