# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=py3-liblarch pkgver=3.1.0 pkgrel=0 pkgdesc="A Python library to easily handle complex data structures, with a GTK binding" url="https://wiki.gnome.org/Projects/liblarch" arch="noarch" license="LGPL-3.0-or-later" depends="python3 py3-gobject3 gtk+3.0" makedepends="py3-setuptools" checkdepends="py3-nose py3-pyflakes xvfb-run" source="https://github.com/getting-things-gnome/liblarch/archive/v$pkgver/liblarch-$pkgver.tar.gz" builddir="$srcdir/liblarch-$pkgver" build() { python3 setup.py build } check() { xvfb-run python3 run-tests } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="042a763dd12612d6630c064b5af84011f1fb908626f17f866e103743cdaabb4983f922290287b0138938488a7c9bff33680ef8157f8bbcbc166e4f4f2d008951 liblarch-3.1.0.tar.gz"