summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pickle5/package.py
blob: d81356242e18defc87da8c2fae9442bb64be3f58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2023 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.package 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"

    license("PSF-2.0")

    version("0.0.11", sha256="7e013be68ba7dde1de5a8dbcc241f201dab1126e326715916ce4a26c27919ffc")

    depends_on("python@3.5:", type=("build", "run"))
    depends_on("py-setuptools", type="build")