# Maintainer: Kartik Mohta pkgname=('python-rosdistro') pkgver='0.9.0' pkgrel=2 pkgdesc='A tool to work with rosdistro files' arch=('any') url='https://github.com/ros-infrastructure/rosdistro' license=('BSD') depends=('python' 'python-catkin_pkg' 'python-rospkg' 'python-setuptools' 'python-yaml') makedepends=('python-setuptools') conflicts=('python2-rosdistro') source=("https://github.com/ros-infrastructure/rosdistro/archive/${pkgver}.tar.gz") sha256sums=('b49d9c3c65cc1dff3b56ba61559d70439597417491e1525e4e314f15503517f9') _module='rosdistro' build() { cd "${srcdir}/${_module}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_module}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build }