diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-05-13 06:18:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 13:18:18 +0200 |
commit | 91b58112f1c83048511fdab09f9aad58351eb991 (patch) | |
tree | 2f2128a5e5db769294c9bf596139be4b0f7a2166 | |
parent | 9a71bd38935445513f014dbfa04fd3154598861b (diff) | |
download | spack-91b58112f1c83048511fdab09f9aad58351eb991.tar.gz spack-91b58112f1c83048511fdab09f9aad58351eb991.tar.bz2 spack-91b58112f1c83048511fdab09f9aad58351eb991.tar.xz spack-91b58112f1c83048511fdab09f9aad58351eb991.zip |
py-cocotools: add new package (#23573)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pycocotools/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycocotools/package.py b/var/spack/repos/builtin/packages/py-pycocotools/package.py new file mode 100644 index 0000000000..1fa3413f8f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pycocotools/package.py @@ -0,0 +1,21 @@ +# 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 PyPycocotools(PythonPackage): + """Official APIs for the MS-COCO dataset.""" + + homepage = "https://github.com/cocodataset/cocoapi" + pypi = "pycocotools/pycocotools-2.0.2.tar.gz" + + version('2.0.2', sha256='24717a12799b4471c2e54aa210d642e6cd4028826a1d49fcc2b0e3497e041f1a') + + depends_on('python', type=('build', 'link', 'run')) + depends_on('py-setuptools@18.0:', type='build') + depends_on('py-cython@0.27.3:', type='build') + depends_on('py-numpy', type=('build', 'link', 'run')) + depends_on('py-matplotlib@2.1.0:', type=('build', 'run')) |