py-rosdistro: add new package (#20108)

This commit is contained in:
Adam J. Stewart 2020-11-27 20:37:15 -06:00 committed by GitHub
parent d49912a8a1
commit 98460b6f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
# 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)
class PyRosdistro(PythonPackage):
"""A tool to work with rosdistro files."""
homepage = "https://wiki.ros.org/rosdistro"
url = "https://pypi.io/packages/source/r/rosdistro/rosdistro-0.8.3.tar.gz"
version('0.8.3', sha256='e14893e0408a2e1fb3ecaef0a9fc978a3675519b828c1fff29ba6a78299b37bd')
depends_on('py-pyyaml', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
depends_on('py-catkin-pkg', type=('build', 'run'))
depends_on('py-rospkg', type=('build', 'run'))