summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2023-08-18 13:00:48 -0400
committerGitHub <noreply@github.com>2023-08-18 12:00:48 -0500
commit114e5d47675c8e3f8b29398d0889754f4ec210a4 (patch)
treeaab57a32841b41447aabe90b00832c8b09960af2
parentfd70e7fb31415bf6c136a9b34d2c6dacdc91303b (diff)
downloadspack-114e5d47675c8e3f8b29398d0889754f4ec210a4.tar.gz
spack-114e5d47675c8e3f8b29398d0889754f4ec210a4.tar.bz2
spack-114e5d47675c8e3f8b29398d0889754f4ec210a4.tar.xz
spack-114e5d47675c8e3f8b29398d0889754f4ec210a4.zip
[py-openmim] Beginning work (#39494)
-rw-r--r--var/spack/repos/builtin/packages/py-openmim/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-openmim/package.py b/var/spack/repos/builtin/packages/py-openmim/package.py
new file mode 100644
index 0000000000..e9765051fb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-openmim/package.py
@@ -0,0 +1,26 @@
+# 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 PyOpenmim(PythonPackage):
+ """MIM Installs OpenMMLab packages"""
+
+ homepage = "https://github.com/open-mmlab/mim"
+ pypi = "openmim/openmim-0.3.9.tar.gz"
+
+ version("0.3.9", sha256="b3977b92232b4b8c4d987cbc73e4515826d5543ccd3a66d49fcfc602cc5b3352")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-click", type=("build", "run"))
+ depends_on("py-colorama", type=("build", "run"))
+ depends_on("py-model-index", type=("build", "run"))
+ depends_on("py-opendatalab", type=("build", "run"))
+ depends_on("py-pandas", type=("build", "run"))
+ depends_on("py-pip@19.3:", type=("build", "run"))
+ depends_on("py-requests", type=("build", "run"))
+ depends_on("py-rich", type=("build", "run"))
+ depends_on("py-tabulate", type=("build", "run"))