This commit is contained in:
Alexei Colin 2021-01-24 13:09:16 -05:00
parent 09b6056c5b
commit a01a27307e
2 changed files with 5 additions and 12 deletions

View File

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

View File

@ -3,14 +3,13 @@
pkgname='python-west' pkgname='python-west'
_name="west" _name="west"
pkgdesc="Zephyr RTOS Project meta-tool (wrapper and bootstrap)" pkgdesc="Zephyr RTOS Project meta-tool (wrapper and bootstrap)"
pkgver=0.7.2 pkgver=0.8.0
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
url='https://pypi.org/project/west/' url='https://pypi.org/project/west/'
license=('Apache') license=('Apache')
depends=('python-configobj' 'python-colorama' 'python-pykwalify') depends=('python-configobj' 'python-colorama' 'python-pykwalify')
makedepends=('python-setuptools') makedepends=('python-setuptools')
checkdepends=('python-tox')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
build() { build() {
@ -18,14 +17,9 @@ build() {
python setup.py build python setup.py build
} }
check() {
cd $srcdir/$_name-$pkgver
tox
}
package() { package() {
cd $srcdir/$_name-$pkgver cd $srcdir/$_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 python setup.py install --root="$pkgdir" --optimize=1
} }
sha256sums=('e6d7075260f399c2a4cbbf78b0a5c463f8932f303a67895babde21f218fdab85') sha256sums=('672053c3392248846694e5619a7fe6ab4c40f010a8f5be6350821b39f6132a26')