summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKartik Mohta2017-06-08 19:43:57 -0400
committerKartik Mohta2017-06-08 19:43:57 -0400
commitfb2b122d06c349c7ef8a0f0203b182a162849310 (patch)
treecca99e02082f9a7948bd690a92e89843f4681c5a /PKGBUILD
parent576a7991e1b90088f3783f4458964f497d8a16d9 (diff)
downloadaur-fb2b122d06c349c7ef8a0f0203b182a162849310.tar.gz
Add conflicts between the python 2 & 3 versions
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8a846a8c015..f4a14198577 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,7 +28,7 @@ build() {
package_python-catkin_lint() {
depends+=('python' 'python-catkin_pkg')
- conflicts=('python-catkin-lint')
+ conflicts=('python-catkin-lint' 'python2-catkin_lint')
replaces=('python-catkin-lint')
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
@@ -36,7 +36,7 @@ package_python-catkin_lint() {
package_python2-catkin_lint() {
depends+=('python2' 'python2-catkin_pkg')
- conflicts=('python2-catkin-lint')
+ conflicts=('python2-catkin-lint' 'python-catkin_lint')
replaces=('python2-catkin-lint')
cd "${srcdir}/${_module}-${pkgver}-python2"
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build