summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rospkg/package.py
blob: 3d8e4cccfcb98aa98e55911deed39d01f59427b4 (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)


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', type=('build', 'run'))