diff options
author | Felix Exner | 2020-11-21 00:50:07 +0100 |
---|---|---|
committer | Felix Exner | 2020-11-21 00:50:07 +0100 |
commit | fd1161ac1e49eda244910129203b5f3fd5e40800 (patch) | |
tree | 116568275b12d0e698800e984d61d2e684e0d554 | |
parent | c5ea91a992cf2851f8dd0e8c8f332272542bb1ba (diff) | |
download | aur-ros-melodic-tuw-multi-robot-msgs.tar.gz |
Migration to python3
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 4 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = ros-melodic-tuw-multi-robot-msgs pkgdesc = ROS - The tuw_multi_robot_msgs package. pkgver = 0.0.13 - pkgrel = 2 + pkgrel = 3 url = https://wiki.ros.org/tuw_multi_robot_msgs arch = any license = BSD @@ -6,7 +6,7 @@ url='https://wiki.ros.org/tuw_multi_robot_msgs' pkgname='ros-melodic-tuw-multi-robot-msgs' pkgver='0.0.13' arch=('any') -pkgrel=2 +pkgrel=3 license=('BSD') ros_makedepends=(ros-melodic-catkin @@ -37,17 +37,14 @@ build() { cd ${srcdir}/build # Fix Python2/Python3 conflicts - /usr/share/ros-build-tools/fix-python-scripts.sh -v 2 ${srcdir}/${_dir} + /usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir} # Build project cmake ${srcdir}/${_dir} \ -DCMAKE_BUILD_TYPE=Release \ -DCATKIN_BUILD_BINARY_PACKAGE=ON \ -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \ - -DPYTHON_EXECUTABLE=/usr/bin/python2 \ - -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ - -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ - -DPYTHON_BASENAME=-python2.7 \ + -DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DSETUPTOOLS_DEB_LAYOUT=OFF make } |