blob: c3485a3ba67dcb0a3a4ab9afdb19b922098303c5 (
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
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=python-genio-tools
_name=${pkgname#python-}
pkgver=1.4.2
pkgrel=4
epoch=
pkgdesc="Tools for flashing boards using MediaTek Genio SoCs"
arch=('any')
url="https://pypi.org/project/genio-tools"
license=(MIT)
groups=()
_pydeps=(
oyaml
packaging
pyudev
pyusb
genio-bootrom
gpiod
pyftdi)
depends=(
python
"${_pydeps[@]/#/python-}")
_pymakedeps=(
build
installer
wheel
setuptools)
makedepends=(
"${_pymakedeps[@]/#/python-}")
optdepends=()
options=('!strip' '!debug')
source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name//-/_}-$pkgver-py3-none-any.whl")
noextract=()
sha256sums=('3c8b6dc48892a6f9a88a9ff081caac31dd1f29e31466a8bfa06ed686f05068c0')
package() {
cd "${srcdir}/"
python -m installer --destdir="${pkgdir}" ${_name//-/_}-$pkgver-py3-none-any.whl
}
|