summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-subprocess32/package.py
blob: 11f81441537c0aa1d4faa6d09a526d64b90c4e78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2013-2022 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 PySubprocess32(PythonPackage):
    """A backport of the subprocess module from Python 3.2/3.3 for 2.x."""

    pypi = "subprocess32/subprocess32-3.2.7.tar.gz"

    version("3.5.4", sha256="eb2937c80497978d181efa1b839ec2d9622cf9600a039a79d0e108d1f9aec79d")
    version("3.2.7", sha256="1e450a4a4c53bf197ad6402c564b9f7a53539385918ef8f12bdf430a61036590")

    depends_on("py-setuptools", type="build", when="@3.5.0:")