summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbionade242020-07-06 15:35:47 +0200
committerbionade242020-07-06 15:35:47 +0200
commit55d9b2c9b4122ef05097acc1533c594e073e9d95 (patch)
treeeda81fbf7c9e303d55fb7293ddf652dbb9d0d0d1
parent81054f216149ddecdca60d495c0d338e24601b27 (diff)
downloadaur-55d9b2c9b4122ef05097acc1533c594e073e9d95.tar.gz
Set python version to 3
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f835c987500c..206443f45cd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index a83ff11171f4..fb716c044597 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 \