west tool for Zephyr 0.5.6

Effectively part of zephyr-sdk.
This commit is contained in:
Alexei Colin 2019-03-27 01:32:36 -04:00
commit 1b40953a9b
3 changed files with 43 additions and 0 deletions

15
.SRCINFO Normal file
View File

@ -0,0 +1,15 @@
# Generated by mksrcinfo v8
# Wed Mar 27 05:31:52 UTC 2019
pkgbase = python-west
pkgdesc = Zephyr RTOS Project meta-tool (wrapper and bootstrap)
pkgver = 0.5.6
pkgrel = 1
url = https://pypi.org/project/west/
arch = any
license = Apache
depends = python-configobj
source = https://files.pythonhosted.org/packages/source/w/west/west-0.5.6.tar.gz
sha256sums = 0cdae367f5b9439060dde5fd58ad794cbd70d7ab83f7cb8fe6b1bbc9a4301ece
pkgname = python-west

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
pkg/
src/
*.pkg.tar.xz
*.tar.gz

24
PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
# Maintainer: Alexei Colin <ac@alexeicolin.com>
pkgname='python-west'
_name="west"
pkgdesc="Zephyr RTOS Project meta-tool (wrapper and bootstrap)"
pkgver=0.5.6
pkgrel=1
arch=('any')
url='https://pypi.org/project/west/'
license=('Apache')
depends=('python-configobj')
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=('0cdae367f5b9439060dde5fd58ad794cbd70d7ab83f7cb8fe6b1bbc9a4301ece')