summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rospkg/package.py
blob: 73b60ff1b44d7523698cd3a2e90ea50663695cb3 (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-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 PyRospkg(PythonPackage):
    """Library for retrieving information about ROS packages and stacks."""

    homepage = "https://wiki.ros.org/rospkg"
    pypi = "rospkg/rospkg-1.2.9.tar.gz"

    version('1.2.9', sha256='d57aea0e7fdbf42e8189ef5e21b9fb4f8a70ecb6cd1a56a278eab301f6a2b074')

    depends_on('py-setuptools', type=('build', 'run'))
    depends_on('py-catkin-pkg', type=('build', 'run'))
    depends_on('py-pyyaml', type=('build', 'run'))
    depends_on('py-distro', type=('build', 'run'))
    depends_on('py-argparse', when='^python@:2.6,3.0:3.1', type=('build', 'run'))