blob: 9a2702aea4499c1f0a02eb2cd2100655a4bd143c (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=kibot
_name=${pkgname}
pkgver=1.8.2
pkgrel=2
epoch=
pkgdesc="KiCad automation utility"
arch=('any')
url="https://pypi.org/project/kibot"
license=('AGPL-3.0-or-later')
groups=()
depends=(
blender
ghostscript
git
librsvg
imagemagick
openscad
rar
kicad
kicad-pcb-diff
kicost
pandoc
python
python-colorama
python-configparser
python-lark-parser
python-lxml
python-kiauto
python-kibom
python-kikit
python-numpy
python-markdown2
python-mistune
python-pyaml
python-pybars3
python-pypdf2
python-qrcodegen
python-requests
python-scipy
python-svgwrite
python-svgpathtools
python-wheel
python-wxpython
python-xlsxwriter
python-xvfbwrapper
python-yaml
xorg-server-xvfb
)
makedepends=('python-build'
'python-installer'
'python-setuptools'
'python-wheel'
'git')
checkdepends=(python-pytest)
optdepends=('kicad-interactivehtmlbom: Interactive HTML BOM generation plugin for KiCad'
'kicad-library: KiCad symbol, footprint and template libraries'
'kicad-library-3d: KiCad 3D model libraries')
provides=(kibot pcbdraw)
conflicts=(kibot pcbdraw)
replaces=()
backup=()
options=()
install=
changelog=
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('9bb6f20d9c84ee430f5d5cfcb72303219e86bf27d83b94d8246440d2103e665c')
#validpgpkeys=()
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
# python setup.py install --no-compile --root="$pkgdir"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|