summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-neotime/package.py
blob: 0b7bcd3921673430a3fc57a1ef5912aa5bc4b2ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyNeotime(PythonPackage):
    """Nanosecond resolution temporal types"""

    homepage = "https://github.com/neo4j-drivers/neotime"
    pypi = "neotime/neotime-1.7.4.tar.gz"

    license("Apache-2.0")

    version("1.7.4", sha256="4e0477ba0f24e004de2fa79a3236de2bd941f20de0b5db8d976c52a86d7363eb")

    depends_on("python@2.7:2.8,3.4:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-pytz", type=("build", "run"))
    depends_on("py-six", type=("build", "run"))