summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-subprocess32/package.py
blob: e9e1dfbba1f899420a9186c81e32efda4c8df83d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2013-2020 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 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:')