diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-11-27 17:01:36 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 17:01:36 -0600 |
commit | d49912a8a104cccedfa81546478962eebcd93e95 (patch) | |
tree | 30f3452f6eb740c7893f16724e44ae2254c9a857 | |
parent | e2669eddb9187db9a71095d8ed860f8b25369e78 (diff) | |
download | spack-d49912a8a104cccedfa81546478962eebcd93e95.tar.gz spack-d49912a8a104cccedfa81546478962eebcd93e95.tar.bz2 spack-d49912a8a104cccedfa81546478962eebcd93e95.tar.xz spack-d49912a8a104cccedfa81546478962eebcd93e95.zip |
py-rospkg: add new package (#20111)
* py-rospkg: add new package
* setuptools needed at run-time
Co-authored-by: Andrew W Elble <aweits@rit.edu>
Co-authored-by: Andrew W Elble <aweits@rit.edu>
-rw-r--r-- | var/spack/repos/builtin/packages/py-rospkg/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rospkg/package.py b/var/spack/repos/builtin/packages/py-rospkg/package.py new file mode 100644 index 0000000000..bc03fddf40 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-rospkg/package.py @@ -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 PyRospkg(PythonPackage): + """Library for retrieving information about ROS packages and stacks.""" + + homepage = "https://wiki.ros.org/rospkg" + url = "https://pypi.io/packages/source/r/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')) |