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

    homepage = "https://pypi.python.org/pypi/apipkg"
    url      = "https://pypi.io/packages/source/a/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'))
    depends_on('py-py', type='test')
    depends_on('py-pytest', type='test')