diff options
author | Jen Herting <jen@herting.cc> | 2020-05-11 13:14:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 12:14:22 -0500 |
commit | c220a22b691b264281b4e371a49ae97df94e18f7 (patch) | |
tree | d2bd8f42b7e5c9f3ef8a2a26e38e6456ede46b67 | |
parent | 03d0a7ee1eada90cd6a9fd493bccf48eab0ea468 (diff) | |
download | spack-c220a22b691b264281b4e371a49ae97df94e18f7.tar.gz spack-c220a22b691b264281b4e371a49ae97df94e18f7.tar.bz2 spack-c220a22b691b264281b4e371a49ae97df94e18f7.tar.xz spack-c220a22b691b264281b4e371a49ae97df94e18f7.zip |
New package: py-mmcv (#16536)
* [py-mmcv] Created template
* [py-mmcv] added description and homepage
* [py-mmcv] requires python 3.6+
* [py-mmcv] added dependencies
* [py-mmcv] depends on opencv
* [py-mmcv] cleaned up fixmes
* [py-mmcv] requires numpy >= 1.11.1
-rw-r--r-- | var/spack/repos/builtin/packages/py-mmcv/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mmcv/package.py b/var/spack/repos/builtin/packages/py-mmcv/package.py new file mode 100644 index 0000000000..fbe0fdfe0a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mmcv/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2019 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 import * + + +class PyMmcv(PythonPackage): + """MMCV is a foundational python library for computer + vision research and supports many research projects in + MMLAB, such as MMDetection and MMAction.""" + + homepage = "https://mmcv.readthedocs.io/en/latest/" + url = "https://github.com/open-mmlab/mmcv/archive/v0.5.1.tar.gz" + + version('0.5.1', sha256='7c5ad30d9b61e44019e81ef46c406aa85dd08b5d0ba12ddd5cdc9c445835a55e') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-addict', type=('build', 'run')) + depends_on('py-numpy@1.11.1:', type=('build', 'run')) + depends_on('py-pyyaml', type=('build', 'run')) + depends_on('opencv+python', type=('build', 'run')) + depends_on('py-cython', type='build') |