summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-importlib/package.py
blob: aefa8f0eb8525d7d931b5e300d750d0afeacb16b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 import *


class PyImportlib(PythonPackage):
    """Packaging for importlib from Python 2.7"""

    homepage = "https://github.com/brettcannon/importlib"
    pypi = "importlib/importlib-1.0.4.zip"

    version('1.0.4', sha256='b6ee7066fea66e35f8d0acee24d98006de1a0a8a94a8ce6efe73a9a23c8d9826', deprecated=True)

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