diff options
author | bionade24 | 2020-07-06 15:37:00 +0200 |
---|---|---|
committer | bionade24 | 2020-07-06 15:37:00 +0200 |
commit | e1ab3bd28ae21dbaf907e145fc4900dc52adc765 (patch) | |
tree | 931cd7f97a733a1681be4019b6a35859c26ec191 | |
parent | 5de8b79abc1a4d7d1b448e6e50161807935d7e41 (diff) | |
download | aur-e1ab3bd28ae21dbaf907e145fc4900dc52adc765.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-unique-identifier pkgdesc = ROS - ROS messages and interfaces for universally unique identifiers. pkgver = 1.0.6 - pkgrel = 2 + pkgrel = 3 url = https://wiki.ros.org/unique_identifier arch = any license = BSD @@ -7,7 +7,7 @@ pkgname='ros-melodic-unique-identifier' pkgver='1.0.6' _pkgver_patch=0 arch=('any') -pkgrel=2 +pkgrel=3 license=('BSD') ros_makedepends=(ros-melodic-catkin) @@ -39,14 +39,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 \ |