summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbionade242020-07-06 15:37:00 +0200
committerbionade242020-07-06 15:37:00 +0200
commite1ab3bd28ae21dbaf907e145fc4900dc52adc765 (patch)
tree931cd7f97a733a1681be4019b6a35859c26ec191
parent5de8b79abc1a4d7d1b448e6e50161807935d7e41 (diff)
downloadaur-e1ab3bd28ae21dbaf907e145fc4900dc52adc765.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 74d199de2ddc..fe4ef7224bb8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 283883a4d9c6..d5ac93c4007f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 \