diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-08-30 12:43:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-30 12:43:55 -0500 |
commit | 81a514c2e66154e7d660ed7ba5fe50d342ab2349 (patch) | |
tree | 3b2595a3c130311c3d5fddaacad240e3f35ed7e0 | |
parent | cdcf814003694b86df6abee8f24af9b8609ea9a6 (diff) | |
download | spack-81a514c2e66154e7d660ed7ba5fe50d342ab2349.tar.gz spack-81a514c2e66154e7d660ed7ba5fe50d342ab2349.tar.bz2 spack-81a514c2e66154e7d660ed7ba5fe50d342ab2349.tar.xz spack-81a514c2e66154e7d660ed7ba5fe50d342ab2349.zip |
Add py-importlib-metadata package (#12657)
-rw-r--r-- | var/spack/repos/builtin/packages/py-importlib-metadata/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-importlib-metadata/package.py b/var/spack/repos/builtin/packages/py-importlib-metadata/package.py new file mode 100644 index 0000000000..ccc268763a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-importlib-metadata/package.py @@ -0,0 +1,23 @@ +# 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 PyImportlibMetadata(PythonPackage): + """Read metadata from Python packages.""" + + homepage = "http://importlib-metadata.readthedocs.io/" + url = "https://pypi.io/packages/source/i/importlib_metadata/importlib_metadata-0.19.tar.gz" + + version('0.19', sha256='23d3d873e008a513952355379d93cbcab874c58f4f034ff657c7a87422fa64e8') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm', type='build') + depends_on('py-zipp@0.5:', type=('build', 'run')) + depends_on('py-pathlib2', when='^python@:3.3', type=('build', 'run')) + depends_on('py-contextlib2', when='^python@:2.8', type=('build', 'run')) + depends_on('py-configparser@3.5:', when='^python@:2.8', type=('build', 'run')) |