summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2023-04-05 13:05:20 -0400
committerGitHub <noreply@github.com>2023-04-05 12:05:20 -0500
commitf28219cddaca3e84784ee2f4551482d9e3e8edbe (patch)
treed4901314a7c74b026ed42ecb5f7830e3b68f2c23
parent4206478f5e79fcf9f275bf8e2b2d98b3394c9dc5 (diff)
downloadspack-f28219cddaca3e84784ee2f4551482d9e3e8edbe.tar.gz
spack-f28219cddaca3e84784ee2f4551482d9e3e8edbe.tar.bz2
spack-f28219cddaca3e84784ee2f4551482d9e3e8edbe.tar.xz
spack-f28219cddaca3e84784ee2f4551482d9e3e8edbe.zip
[py-backports-zoneinfo] New package (#36499)
* [py-backports-zoneinfo] New package * [py-backports-zoneinfo] removed references to python 3.6
-rw-r--r--var/spack/repos/builtin/packages/py-backports-zoneinfo/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-backports-zoneinfo/package.py b/var/spack/repos/builtin/packages/py-backports-zoneinfo/package.py
new file mode 100644
index 0000000000..48f9520662
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-backports-zoneinfo/package.py
@@ -0,0 +1,17 @@
+# 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"
+
+ version("0.2.1", sha256="fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2")
+
+ depends_on("py-setuptools@40.8.0:", type="build")