blob: 896d4cb33a4bfb9895d6bb4251461672c6146bb1 (
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
|
# Maintainer: Chance Chen <ufbycd@163.com>
pkgname=python-fdt
_name=${pkgname#python-}
pkgver=0.3.3
pkgrel=3
pkgdesc="Flattened Device Tree Python Module"
arch=('any')
url="https://github.com/molejar/pyFDT"
license=('Apache')
groups=()
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/molejar/pyFDT/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('459518f497ac5b3f856f7e0a9bbb5970f0e2ff1910d9955b8f1bae9449883b5f')
build() {
cd pyFDT-master
python -m build --wheel --no-isolation
}
package() {
cd pyFDT-master
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|