# Contributor: Rasmus Thomsen # Maintainer: Natanael Copa pkgname=py3-liblarch pkgver=3.2.0 pkgrel=6 pkgdesc="A Python library to easily handle complex data structures, with a GTK binding" url="https://getting-things-gnome.github.io" arch="noarch" license="LGPL-3.0-or-later" depends="python3 py3-gobject3 gtk+3.0" makedepends="py3-setuptools py3-gpep517" checkdepends="py3-nose py3-pyflakes xvfb-run" subpackages="$pkgname-pyc" source="https://github.com/getting-things-gnome/liblarch/archive/v$pkgver/liblarch-$pkgver.tar.gz" builddir="$srcdir/liblarch-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl xvfb-run -a .testenv/bin/python3 run-tests } package() { gpep517 install-wheel --destdir "$pkgdir" \ .dist/*.whl } sha512sums=" d356535f2e60885249be009f7e671fcb1ee02b7d32b7abecc3805c5f6b6e231fc34be0d7a73cd9f9a68dfaae0b1cf0a5bdc54ed3075901a149d58ad6577d92ab liblarch-3.2.0.tar.gz "