summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-isoduration/package.py
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2023-06-05 20:54:20 +0200
committerGitHub <noreply@github.com>2023-06-05 13:54:20 -0500
commita5cf5baa9e5494dde154002ed85368db85f563b1 (patch)
tree3cbc1e022ce267d218855a42653f485a336072a2 /var/spack/repos/builtin/packages/py-isoduration/package.py
parentec8039cc740361800c25aaa9f6d50ff6d82bf597 (diff)
downloadspack-a5cf5baa9e5494dde154002ed85368db85f563b1.tar.gz
spack-a5cf5baa9e5494dde154002ed85368db85f563b1.tar.bz2
spack-a5cf5baa9e5494dde154002ed85368db85f563b1.tar.xz
spack-a5cf5baa9e5494dde154002ed85368db85f563b1.zip
py-jupyterlab: add 4.0.1 incl. new dependencies (#38102)
Diffstat (limited to 'var/spack/repos/builtin/packages/py-isoduration/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-isoduration/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-isoduration/package.py b/var/spack/repos/builtin/packages/py-isoduration/package.py
new file mode 100644
index 0000000000..db47fb0201
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-isoduration/package.py
@@ -0,0 +1,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 PyIsoduration(PythonPackage):
+ """Operations with ISO 8601 durations."""
+
+ homepage = "https://github.com/bolsote/isoduration"
+ pypi = "isoduration/isoduration-20.11.0.tar.gz"
+
+ version("20.11.0", sha256="ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9")
+
+ depends_on("py-setuptools", type="build")
+
+ depends_on("py-arrow@0.15.0:", type=("build", "run"))