
* Add a CI job to audit all the packages in the built-in repository * flecsi: fixed typo for dependency on legion * py-pythonqwt: fix a typo in variant name * sollve: removed a conflict with a non-existing variant * acts: fixed use of wrong variant in dd4hep Also removed duplicated variant declaration in dd4hep * aoflagger: update variant of a dependency Issues introduced indirectly in #22925 * camellia: removed unused variant Issue introduced indirectly in #26150 * cbtf-*: remove cti variants and dependency on mrnet+cti Issue introduced in #14178 * flecsale: update variants to match flecsi Issue introduced in #11679 * grnboost: fixed issue with non-existing variant in a dependency This package possibly never worked since #8763 * nalu: fixed issue with non-existing variant in a dependency * open-iscsi: fixed issue with non-existing variant in a dependency * openspeedshop-*: remove use of non-existing mrnet+cti variant * percept: fixed issue with non-existing variant in a dependency * phyluce: fixed issue with non-existing variant in a dependency Issue introduced in #12952 * phyluce: fixed issue with non-existing variant in a dependency Issue introduced in #22340
27 lines
1005 B
Python
27 lines
1005 B
Python
# Copyright 2013-2021 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+python3', type=('build', 'run'))
|
|
depends_on('py-cython', type='build')
|
|
|
|
patch('opencv_for0.5.1.patch', when='@0.5.1')
|