py-motmetrics: new package (#22023)

* py-motmetrics: new package

* dep updates
This commit is contained in:
Andrew W Elble 2021-03-01 14:03:03 -05:00 committed by GitHub
parent 1abfebb5e9
commit 987b5a5b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,25 @@
# 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)
class PyMotmetrics(PythonPackage):
"""The py-motmetrics library provides a Python implementation of
metrics for benchmarking multiple object trackers (MOT)."""
homepage = "https://github.com/cheind/py-motmetrics"
pypi = "motmetrics/motmetrics-1.2.0.tar.gz"
version('1.2.0', sha256='7328d8468c948400b38fcc212f3e448bc1f2fdfc727e170d85a029e49f1cdbc6')
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.12.1:', type=('build', 'run'))
depends_on('py-pandas@0.23.1:', type=('build', 'run'))
depends_on('py-scipy@0.19.0:', type=('build', 'run'))
depends_on('py-xmltodict@0.12.0:', type=('build', 'run'))
depends_on('py-enum34', when='^python@:2.999', type=('build', 'run'))
depends_on('py-flake8', type=('build', 'run'))
depends_on('py-flake8-import-order', type=('build', 'run'))
depends_on('py-pytest', type=('build', 'run'))
depends_on('py-pytest-benchmark', type=('build', 'run'))