Skip to content

Commit

Permalink
Fix key resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Jul 16, 2024
1 parent aa27c24 commit 09df592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_rospkg_apkbuild/genapkbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,14 @@ def package_to_apkbuild(ros_distro, package_name,
ros2_ros_workspaces_dependencies = ["ament_cmake_core", "ament_package", "ros_workspace"]
if pkg.name not in ros2_ros_workspaces_dependencies:
depends.append(NameAndVersion("ros_workspace", ""))
depends_keys = resolve(ros_distro, package_name, depends)
depends_keys = resolve(ros_distro, package_name, depends, add_ros_dev=split_dev)

depends_export = []
for dep in pkg.buildtool_export_depends:
depends_export.append(ros_dependency_to_name_ver(dep))
for dep in pkg.build_export_depends:
depends_export.append(ros_dependency_to_name_ver(dep))
depends_export_keys = resolve(ros_distro, package_name, depends_export)
depends_export_keys = resolve(ros_distro, package_name, depends_export, add_ros_dev=split_dev)

catkin = False
cmake = False
Expand Down

0 comments on commit 09df592

Please sign in to comment.