blob: 8b2d26848fe696fdb9140335adc32aacc396d0cf (
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
|
# Maintainer: Peter Züger <zueger.peter@icloud.com>
pkgname=mpy-repl-tool
_pkgname=mpy-repl-tool
pkgver=0.14
pkgrel=1
pkgdesc="Communicate and transfer files from and to MicroyPython boards via REPL"
arch=('any')
url="https://github.com/zsquareplusc/mpy-repl-tool"
license=('custom')
makedepends=('python-setuptools')
depends=('python-pyserial' 'python-colorama')
optdepends=('python-fusepy: for mounting the micropython filesystem')
source=("https://files.pythonhosted.org/packages/b4/26/b99dc586ef4e6fa598d0c71e3f3e9ca9e307423dc082a39a06149fe55585/${pkgname}-${pkgver}.tar.gz")
sha256sums=('58c06ae6f1686dda1b3948c4564ac6df6228f74da7838303a03a5243cec8b909')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}"
install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|