diff options
author | bionade24 | 2020-07-06 15:35:47 +0200 |
---|---|---|
committer | bionade24 | 2020-07-06 15:35:47 +0200 |
commit | 55d9b2c9b4122ef05097acc1533c594e073e9d95 (patch) | |
tree | eda81fbf7c9e303d55fb7293ddf652dbb9d0d0d1 | |
parent | 81054f216149ddecdca60d495c0d338e24601b27 (diff) | |
download | aur-55d9b2c9b4122ef05097acc1533c594e073e9d95.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-octovis pkgdesc = ROS - octovis is visualization tool for the OctoMap library based on Qt and libQGLViewer. pkgver = 1.9.0 - pkgrel = 3 + pkgrel = 4 url = https://octomaphub.io arch = any license = GPLv2 @@ -6,7 +6,7 @@ url='https://octomaphub.io' pkgname='ros-melodic-octovis' pkgver='1.9.0' arch=('any') -pkgrel=3 +pkgrel=4 license=('GPLv2') ros_makedepends=(ros-melodic-octomap) @@ -42,14 +42,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 \ |