summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f52bf3b54ed..28797f53bf2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 21f887936bf..4563b36d97e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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')