summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-3to2/package.py
blob: 2b29cc17835da20e35ab75a48036e3f7570325b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2024 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 Py3to2(PythonPackage):
    """lib3to2 is a set of fixers that are intended to backport code written
    for Python version 3.x into Python version 2.x."""

    pypi = "3to2/3to2-1.1.1.zip"

    version("1.1.1", sha256="fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")