This commit is contained in:
Caspar Friedrich 2021-11-04 15:22:39 +01:00
parent e54acbbae3
commit 93a6099aeb
2 changed files with 15 additions and 20 deletions

View File

@ -1,15 +1,15 @@
pkgbase = python-west
pkgdesc = Zephyr RTOS Project meta-tool
pkgver = 0.11.1
pkgrel = 1
pkgrel = 2
url = https://pypi.org/project/west/
arch = any
license = Apache
makedepends = python-setuptools
depends = python-configobj
depends = python>=3.6
depends = python-colorama
depends = python-pyaml>=5.1
depends = python-pykwalify
depends = python-pyaml
source = https://files.pythonhosted.org/packages/source/w/west/west-0.11.1.tar.gz
sha256sums = 30771f3ec2a4281cd05c277a90f7dc94ded97d6dc1e1decdf4fe452dbbacc283

View File

@ -1,28 +1,23 @@
# Maintainer: Caspar Friedrich <c.s.w.friedrich@gmail.com>
pkgname='python-west'
_name="west"
pkgname="python-west"
_name=${pkgname##"python-"}
pkgdesc="Zephyr RTOS Project meta-tool"
pkgver=0.11.1
pkgrel=1
arch=('any')
url='https://pypi.org/project/west/'
license=('Apache')
depends=('python-configobj'
'python-colorama'
'python-pykwalify'
'python-pyaml')
makedepends=('python-setuptools')
pkgrel=2
arch=("any")
url="https://pypi.org/project/west/"
license=("Apache")
depends=("python>=3.6"
"python-colorama"
"python-pyaml>=5.1"
"python-pykwalify")
makedepends=("python-setuptools")
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=('30771f3ec2a4281cd05c277a90f7dc94ded97d6dc1e1decdf4fe452dbbacc283')
sha256sums=("30771f3ec2a4281cd05c277a90f7dc94ded97d6dc1e1decdf4fe452dbbacc283")