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