summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2ecdafcf111b823175be74293d7ced09163e3e1 (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
# Maintainer: taotieren <admin@taotieren.com>

pkgname=python-kibom
_name=${pkgname#python-}
pkgver=1.9.1
pkgrel=1
epoch=
pkgdesc="Bill of Materials generation tool for KiCad EDA"
arch=('any')
url="https://pypi.org/project/kibom"
license=(MIT)
groups=()
provides=(kibom)
conflicts=(kibom)
depends=(
    python
    python-xlsxwriter)
makedepends=(python-build
            python-installer
            python-wheel
            python-setuptools)
options=('!strip')
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('48c44b30223913121a562ddebf07d5d915dd08de2cdf33126211f58511d2fc05')

build() {
    cd "${srcdir}/${_name}-${pkgver}"
    python -m build --wheel --no-isolation
}

package() {
    cd "${srcdir}/${_name}-${pkgver}"
    python -m installer --destdir="${pkgdir}" dist/*.whl
}