diff options
author | bionade24 | 2020-07-06 15:36:20 +0200 |
---|---|---|
committer | bionade24 | 2020-07-06 15:36:20 +0200 |
commit | 4b71c3dfac87018e8ad3f10774e4b81a34cb5728 (patch) | |
tree | 449921e5c1e02e36a6b7c0cea47e3819a0b4cbf0 | |
parent | 50e31864fe55a41c0b3373713add29745afda985 (diff) | |
download | aur-4b71c3dfac87018e8ad3f10774e4b81a34cb5728.tar.gz |
Set python version to 3
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = ros-melodic-tf2-bullet pkgdesc = ROS - tf2_bullet. pkgver = 0.6.5 - pkgrel = 1 + pkgrel = 2 url = https://www.wiki.ros.org/tf2_bullet arch = any license = BSD @@ -7,7 +7,7 @@ pkgname='ros-melodic-tf2-bullet' pkgver='0.6.5' _pkgver_patch=0 arch=('any') -pkgrel=1 +pkgrel=2 license=('BSD') ros_makedepends=(ros-melodic-tf2 @@ -44,14 +44,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_EXECUTABLE=/usr/bin/python3 \ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ -DPYTHON_BASENAME=-python2.7 \ |