summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-apipkg/package.py
blob: 8a2aadff228f41c05f48357d5b2f44caab0ff497 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyApipkg(PythonPackage):
    """apipkg: namespace control and lazy-import mechanism"""

    pypi = "apipkg/apipkg-1.4.tar.gz"

    version('1.5', sha256='37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6')
    version('1.4', sha256='2e38399dbe842891fe85392601aab8f40a8f4cc5a9053c326de35a1cc0297ac6')

    depends_on('py-setuptools@30.3.0:', type='build')
    depends_on('py-setuptools-scm', type='build')
    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))