summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2ccc5df24d801c5f2da60b38f95d76cf6d9d62a (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
# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>
_pkgname=pyocd-pemicro
pkgname=python-$_pkgname
pkgver=1.1.5
pkgrel=1
pkgdesc="Python On Chip Debugger and programmer for ARM Cortex-M microcontrollers using CMSIS-DAP"
url="https://github.com/pyocd/pyocd-pemicro"
depends=('python'
         'python-pypemicro'
         'python-pyocd'
         )
license=('BSD-3-Clause')
makedepends=('python-build'
             'python-installer'
             'python-setuptools'
             'python-wheel'
            )
arch=('any')
source=("https://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('7be52c7b214a89378f37fbd1c66e0b5a153e7ecd16959214790e37b1c5a976535395a3805aa3574e20cec33742ea559a744cc394403be20a42ee7aa1c7373968')

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

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