diff options
author | Oliver Breitwieser <oliver.breitwieser@kip.uni-heidelberg.de> | 2019-10-06 16:15:29 +0200 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-06 09:15:29 -0500 |
commit | f34162a5b88569b6c5dd0ee2865503860c5a4957 (patch) | |
tree | 13b875aa83e6cd1e95a50f2320e299f21c885c1e /var | |
parent | 070a536e490fe428814d88bd1b03df0259db67d1 (diff) | |
download | spack-f34162a5b88569b6c5dd0ee2865503860c5a4957.tar.gz spack-f34162a5b88569b6c5dd0ee2865503860c5a4957.tar.bz2 spack-f34162a5b88569b6c5dd0ee2865503860c5a4957.tar.xz spack-f34162a5b88569b6c5dd0ee2865503860c5a4957.zip |
Add missing py-contextlib2 (#13056)
Change-Id: I8e0a90d4aa2c9f46230a6fe35ce5f4fa44672faf
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-contextlib2/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-contextlib2/package.py b/var/spack/repos/builtin/packages/py-contextlib2/package.py new file mode 100644 index 0000000000..edf31e99f3 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-contextlib2/package.py @@ -0,0 +1,20 @@ +# 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 PyContextlib2(PythonPackage): + """contextlib2 is a backport of the standard library's contextlib module to + earlier Python versions.""" + + homepage = "https://contextlib2.readthedocs.io/en/stable/" + url = "https://github.com/jazzband/contextlib2/archive/v0.6.0.tar.gz" + + version('0.6.0', sha256='4f18e2f28bb642aae9447aacec93b1319c8ee838711553c0a2bd906753f2ad33') + + depends_on('py-setuptools', type='build') + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) |