summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-backports-zoneinfo/package.py
blob: 885575ca1530194904122176df47d64c866a7286 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyBackportsZoneinfo(PythonPackage):
    """Backport of the standard library zoneinfo module"""

    homepage = "https://github.com/pganssle/zoneinfo"
    pypi = "backports.zoneinfo/backports.zoneinfo-0.2.1.tar.gz"

    license("Apache-2.0")

    version("0.2.1", sha256="fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2")

    depends_on("py-setuptools@40.8.0:", type="build")