summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbionade242019-02-15 13:22:54 +0000
committerbionade242019-02-15 13:22:54 +0000
commitc3e2c810475164fe81fda73f516f0947ac2ce19a (patch)
tree7cfb68eb6f247209a9738b0f739b2dbccb231032
parentf3a6dcf2665fe85c84f03fd7c3585812978c7781 (diff)
downloadaur-c3e2c810475164fe81fda73f516f0947ac2ce19a.tar.gz
Updated python version to 3.7
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ec2b08f2df1..f315585a7865 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-melodic-joystick-drivers
pkgdesc = ROS - This metapackage depends on packages for interfacing common joysticks and human input devices with ROS.
pkgver = 1.12.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.ros.org/wiki/joystick_drivers
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index fcdf6d6ef6a8..cbc07548c543 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname='ros-melodic-joystick-drivers'
pkgver='1.12.0'
_pkgver_patch=0
arch=('any')
-pkgrel=1
+pkgrel=2
license=('BSD')
ros_makedepends=(ros-melodic-catkin)
@@ -48,10 +48,10 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
-DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
- -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
- -DPYTHON_BASENAME=-python2.7 \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \
+ -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \
+ -DPYTHON_BASENAME=.cpython-37m \
-DSETUPTOOLS_DEB_LAYOUT=OFF
make
}