[py-pickle5] New package (#27533)

Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
Jen Herting 2021-11-19 15:31:22 -05:00 committed by GitHub
parent d759612523
commit 99f954f1c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')