28 lines
772 B
Bash
28 lines
772 B
Bash
# Maintainer: Arti Zirk <arti.zirk@gmail.com>
|
|
# Contributor: Alexei Colin <ac@alexeicolin.com>
|
|
|
|
pkgname='python-west'
|
|
_name="west"
|
|
pkgdesc="Zephyr RTOS Project meta-tool (wrapper and bootstrap)"
|
|
pkgver=0.8.0
|
|
pkgrel=1
|
|
arch=('any')
|
|
url='https://pypi.org/project/west/'
|
|
license=('Apache')
|
|
depends=('python-configobj' 'python-colorama' 'python-pykwalify')
|
|
makedepends=('python-setuptools')
|
|
checkdepends=('python-tox')
|
|
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
|
|
|
|
build() {
|
|
cd $srcdir/$_name-$pkgver
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_name-$pkgver
|
|
python setup.py install --root="$pkgdir" --optimize=1
|
|
}
|
|
|
|
sha256sums=('672053c3392248846694e5619a7fe6ab4c40f010a8f5be6350821b39f6132a26')
|