# Contributor: Andy Hawkins # Maintainer: Andy Hawkins pkgname=emborg pkgver=1.37 pkgrel=0 pkgdesc="Front-End to Borg Backup" url="https://emborg.readthedocs.io/" # armhf: borgbackup arch="noarch !armhf" license="GPL-3.0-or-later" depends=" borgbackup python3 py3-appdirs py3-arrow>=0.15 py3-docopt py3-inform>=1.28 py3-nestedtext py3-quantiphy py3-requests " makedepends=" py3-flit-core py3-gpep517 py3-installer " checkdepends=" py3-pytest py3-nestedtext py3-parametrize-from-file py3-voluptuous " subpackages="$pkgname-pyc" source="https://github.com/KenKundert/emborg/archive/v$pkgver/emborg-v$pkgver.tar.gz" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { PYTHONPATH="$PWD/emborg" pytest --no-fuse } package() { python3 -m installer -d "$pkgdir" \ .dist/emborg-$pkgver*-py3-none-any.whl } sha512sums=" d07dad8456074da53848946202a1945b8474786aa1f7b7f65e05de4f2be69b4a70a8ea902ba099aa2d54f11c0ceda3006316ad99eb208cd1c0445719330f9825 emborg-v1.37.tar.gz "