diff options
author | Jen Herting <jen@herting.cc> | 2021-11-19 15:31:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 14:31:22 -0600 |
commit | 99f954f1c1bd86f89707cf371b4284aef7788181 (patch) | |
tree | 71774bb302661eadf3082ade0e573730e6cd102d /var | |
parent | d7596125231e800ca41c60e379be2b8abb47d20d (diff) | |
download | spack-99f954f1c1bd86f89707cf371b4284aef7788181.tar.gz spack-99f954f1c1bd86f89707cf371b4284aef7788181.tar.bz2 spack-99f954f1c1bd86f89707cf371b4284aef7788181.tar.xz spack-99f954f1c1bd86f89707cf371b4284aef7788181.zip |
[py-pickle5] New package (#27533)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pickle5/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pickle5/package.py b/var/spack/repos/builtin/packages/py-pickle5/package.py new file mode 100644 index 0000000000..707b4b569a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pickle5/package.py @@ -0,0 +1,20 @@ +# 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 PyPickle5(PythonPackage): + """This package backports all features and APIs added in the pickle module + in Python 3.8.3, including the PEP 574 additions. It should work with Python + 3.5, 3.6 and 3.7.""" + + homepage = "https://github.com/pitrou/pickle5-backport" + pypi = "pickle5/pickle5-0.0.11.tar.gz" + + version('0.0.11', sha256='7e013be68ba7dde1de5a8dbcc241f201dab1126e326715916ce4a26c27919ffc') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |