Imported Upstream version 0.1.12
Jochen Sprickerhof
7 years ago
4 | 4 |
- "3.3"
|
5 | 5 |
# command to install dependencies
|
6 | 6 |
install:
|
7 | |
- pip install argparse catkin-pkg distribute rosdistro rospkg PyYAML
|
|
7 |
- pip install argparse catkin-pkg rosdistro rospkg PyYAML setuptools
|
8 | 8 |
# command to run tests
|
9 | 9 |
script:
|
10 | 10 |
# This package doesn't have tests yet.
|
7 | 7 |
setup(
|
8 | 8 |
name='rosinstall_generator',
|
9 | 9 |
version=__version__,
|
10 | |
install_requires=['argparse', 'catkin_pkg >= 0.1.28', 'distribute', 'rosdistro >= 0.3.4', 'rospkg', 'PyYAML'],
|
|
10 |
install_requires=['argparse', 'catkin_pkg >= 0.1.28', 'rosdistro >= 0.3.4', 'rospkg', 'PyYAML', 'setuptools'],
|
11 | 11 |
packages=find_packages('src'),
|
12 | 12 |
package_dir={'': 'src'},
|
13 | 13 |
scripts=['bin/rosinstall_generator'],
|
34 | 34 |
Library to generate rosinstall file for set of packages/stacks.
|
35 | 35 |
"""
|
36 | 36 |
|
37 | |
__version__ = '0.1.11'
|
|
37 |
__version__ = '0.1.12'
|
130 | 130 |
return _generate_rosinstall(local_name, repo.url, release_tag, tar=tar)
|
131 | 131 |
|
132 | 132 |
|
133 | |
def _generate_rosinstall(local_name, url, release_tag, tar=False):
|
|
133 |
def _generate_rosinstall(local_name, url, release_tag, tar=False, vcs_type=None):
|
134 | 134 |
if tar:
|
135 | 135 |
# the repository name might be different than repo.name coming from rosdistro
|
136 | 136 |
repo_name = os.path.basename(url[:-4])
|
|
147 | 147 |
}]
|
148 | 148 |
else:
|
149 | 149 |
data = [{
|
150 | |
'git': {
|
|
150 |
vcs_type or 'git': {
|
151 | 151 |
'local-name': local_name,
|
152 | 152 |
'uri': url,
|
153 | 153 |
'version': release_tag
|
147 | 147 |
for repo in repos.values():
|
148 | 148 |
if version_tag:
|
149 | 149 |
version = repo.release_repository.version.split('-')[0]
|
|
150 |
vcs_type = repo.release_repository.type
|
150 | 151 |
else:
|
151 | 152 |
version = repo.source_repository.version
|
152 | |
rosinstall_data += _generate_rosinstall(repo.name, repo.source_repository.url, version, tar=tar)
|
|
153 |
vcs_type = repo.source_repository.type
|
|
154 |
rosinstall_data += _generate_rosinstall(repo.name, repo.source_repository.url, version, tar=tar, vcs_type=vcs_type)
|
153 | 155 |
return rosinstall_data
|
154 | 156 |
|
155 | 157 |
|
2 | 2 |
Depends3: python3-catkin-pkg (>= 0.1.28), python3-rosdistro (>= 0.3.4), python3-rospkg, python3-yaml
|
3 | 3 |
Conflicts: python3-rosinstall-generator
|
4 | 4 |
Conflicts3: python-rosinstall-generator
|
5 | |
Suite: oneiric precise quantal raring saucy trusty utopic vivid wheezy jessie
|
|
5 |
Suite: oneiric precise quantal raring saucy trusty utopic vivid wily xenial yakkety wheezy jessie
|
6 | 6 |
X-Python3-Version: >= 3.2
|