py-catkin-pkg: add new package (#20106)

* py-catkin-pkg: add new package

* setuptools is needed at run-time

Co-authored-by: Andrew W Elble <aweits@rit.edu>

Co-authored-by: Andrew W Elble <aweits@rit.edu>
This commit is contained in:
Adam J. Stewart 2020-11-27 14:43:43 -06:00 committed by GitHub
parent 77aca8153d
commit e2669eddb9
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 PyCatkinPkg(PythonPackage):
"""Library for retrieving information about catkin packages."""
homepage = "https://wiki.ros.org/catkin_pkg"
url = "https://pypi.io/packages/source/c/catkin-pkg/catkin_pkg-0.4.23.tar.gz"
version('0.4.23', sha256='28ee181cca827c0aabf9397351f58a97e1475ca5ac7c106a5916e3ee191cd3d0')
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-docutils', type=('build', 'run'))
depends_on('py-python-dateutil', type=('build', 'run'))
depends_on('py-pyparsing', type=('build', 'run'))
depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))