blob: f0c1c2e3fc69d8664c206b845bbb59ab3f56beed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: taotieren <admin@taotieren.com>
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://pypi.org/project/pydevicetree"
license=('Apache-2.0')
groups=()
_pydeps=(
pyparsing)
depends=(
python
"${_pydeps[@]/#/python-}")
_pymakedeps=(
build
installer
wheel
setuptools)
makedepends=(
"${_pymakedeps[@]/#/python-}")
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=('!strip')
install=
changelog=
source=("${_name}-${pkgver}.tar.gz::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
}
|