This commit is contained in:
Alexei Colin 2020-02-29 20:01:41 -05:00
parent 4fc3ae0062
commit 09b6056c5b
2 changed files with 12 additions and 5 deletions

View File

@ -1,16 +1,17 @@
pkgbase = python-west
pkgdesc = Zephyr RTOS Project meta-tool (wrapper and bootstrap)
pkgver = 0.6.3
pkgver = 0.7.2
pkgrel = 1
url = https://pypi.org/project/west/
arch = any
license = Apache
checkdepends = python-tox
makedepends = python-setuptools
depends = python-configobj
depends = python-colorama
depends = python-pykwalify
source = https://files.pythonhosted.org/packages/source/w/west/west-0.6.3.tar.gz
sha256sums = 8b6486595a868fe005e4e7f07214779be3f2e2fb26d53e79c951c80c838c8662
source = https://files.pythonhosted.org/packages/source/w/west/west-0.7.2.tar.gz
sha256sums = e6d7075260f399c2a4cbbf78b0a5c463f8932f303a67895babde21f218fdab85
pkgname = python-west

View File

@ -3,13 +3,14 @@
pkgname='python-west'
_name="west"
pkgdesc="Zephyr RTOS Project meta-tool (wrapper and bootstrap)"
pkgver=0.6.3
pkgver=0.7.2
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() {
@ -17,9 +18,14 @@ build() {
python setup.py build
}
check() {
cd $srcdir/$_name-$pkgver
tox
}
package() {
cd $srcdir/$_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
sha256sums=('8b6486595a868fe005e4e7f07214779be3f2e2fb26d53e79c951c80c838c8662')
sha256sums=('e6d7075260f399c2a4cbbf78b0a5c463f8932f303a67895babde21f218fdab85')