mirror of
https://github.com/archlinux/aur.git
synced 2026-02-14 12:20:27 +01:00
indigo: use Python 2 rather than Python 3.
Since most packages are unlikely to be Python 3 ready before the next ROS distribution, we stick to Python 2.
This commit is contained in:
parent
dc94333f86
commit
b31b2148ee
2 changed files with 11 additions and 11 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = ros-indigo-message-generation
|
||||
pkgdesc = ROS - Package modeling the build-time dependencies for generating language bindings of messages.
|
||||
pkgver = 0.2.10
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = http://ros.org/wiki/message_generation
|
||||
arch = any
|
||||
license = BSD
|
||||
|
|
@ -9,10 +9,10 @@ pkgbase = ros-indigo-message-generation
|
|||
makedepends = git
|
||||
makedepends = ros-build-tools
|
||||
makedepends = ros-indigo-catkin
|
||||
depends = ros-indigo-gencpp
|
||||
depends = ros-indigo-genlisp
|
||||
depends = ros-indigo-genpy
|
||||
depends = ros-indigo-genmsg
|
||||
depends = ros-indigo-genpy
|
||||
depends = ros-indigo-gencpp
|
||||
source = message_generation::git+https://github.com/ros-gbp/message_generation-release.git#tag=release/indigo/message_generation/0.2.10-0
|
||||
md5sums = SKIP
|
||||
|
||||
|
|
|
|||
16
PKGBUILD
16
PKGBUILD
|
|
@ -7,17 +7,17 @@ pkgname='ros-indigo-message-generation'
|
|||
pkgver='0.2.10'
|
||||
_pkgver_patch=0
|
||||
arch=('any')
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
license=('BSD')
|
||||
|
||||
ros_makedepends=(ros-indigo-catkin)
|
||||
makedepends=('cmake' 'git' 'ros-build-tools'
|
||||
${ros_makedepends[@]})
|
||||
|
||||
ros_depends=(ros-indigo-gencpp
|
||||
ros-indigo-genlisp
|
||||
ros_depends=(ros-indigo-genlisp
|
||||
ros-indigo-genmsg
|
||||
ros-indigo-genpy
|
||||
ros-indigo-genmsg)
|
||||
ros-indigo-gencpp)
|
||||
depends=(${ros_depends[@]})
|
||||
|
||||
_tag=release/indigo/message_generation/${pkgver}-${_pkgver_patch}
|
||||
|
|
@ -35,16 +35,16 @@ build() {
|
|||
cd ${srcdir}/build
|
||||
|
||||
# Fix Python2/Python3 conflicts
|
||||
/usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir}
|
||||
/usr/share/ros-build-tools/fix-python-scripts.sh -v 2 ${srcdir}/${_dir}
|
||||
|
||||
# Build project
|
||||
cmake ${srcdir}/${_dir} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/opt/ros/indigo \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
||||
-DPYTHON_INCLUDE_DIR=/usr/include/python3.4m \
|
||||
-DPYTHON_LIBRARY=/usr/lib/libpython3.4m.so \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
|
||||
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
|
||||
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
|
||||
-DSETUPTOOLS_DEB_LAYOUT=OFF
|
||||
make
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue