summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pkgconfig/package.py
blob: e11b32bff9cd5a1662bfe1f8dfd54bb3ce552674 (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-2019 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 PyPkgconfig(PythonPackage):
    """Interface Python with pkg-config."""

    homepage = "http://github.com/matze/pkgconfig"
    url      = "https://pypi.io/packages/source/p/pkgconfig/pkgconfig-1.2.2.tar.gz"

    version('1.2.2', '81a8f6ef3371831d081e03db39e09683')

    depends_on('python@2.6:')
    depends_on('py-setuptools', type='build')

    depends_on('pkgconfig', type=('build', 'run'))

    depends_on('py-nose@1.0:', type=('build', 'test'))