# Maintainer: taotieren pkgname=python-pydevicetree _name=${pkgname#python-} pkgver=0.0.13 pkgrel=1 epoch= pkgdesc="This is a Python 3 library for parsing, querying, and modifying Devicetree Source v1 files as described in the Devicetree Specification v0.2." arch=('any') url="https://github.com/sifive/pydevicetree" license=('Apache') groups=() depends=('python') makedepends=(python-build python-installer python-wheel python-setuptools) checkdepends=() optdepends=() provides=() conflicts=() replaces=() backup=() options=('!strip') install= changelog= source=("${_name}-${pkgver}.zip::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") noextract=() sha256sums=('5700c05df89bad8fd729c11aa6f764a3323bcb3796f13b32481ae34445cfc1b7') #validpgpkeys=() build() { cd "${srcdir}/${_name}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${srcdir}/${_name}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl }