summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-isoduration/package.py
blob: d26c0a426845d96bbaf226804e175840376d4ec7 (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 PyIsoduration(PythonPackage):
    """Operations with ISO 8601 durations."""

    homepage = "https://github.com/bolsote/isoduration"
    pypi = "isoduration/isoduration-20.11.0.tar.gz"

    license("0BSD")

    version("20.11.0", sha256="ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9")

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

    depends_on("py-arrow@0.15.0:", type=("build", "run"))