blob: 022afdd143d2b3ed64a3fd11a8beccbc0695c69f (
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
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=python-kinet2pcb
_name=${pkgname#python-}
pkgver=1.1.2
pkgrel=2
epoch=
pkgdesc="Convert KiCad netlist into a PCBNEW .kicad_pcb file."
arch=('any')
url="https://pypi.org/project/kinet2pcb"
license=(MIT)
groups=()
provides=(${_name})
conflicts=(${_name})
depends=(
kicad
python
python-future
python-kinparse
python-hierplace)
makedepends=(python-build
python-installer
python-wheel
python-setuptools
python-pytest-runner)
options=('!emptydirs' '!strip')
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('7ea2713a25cb2535cf2714fddad47b6a95928cef91684056f4b2779fd10ec193')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|