# Maintainer: Natanael Copa pkgname=py3-logbook pkgver=1.5.2 pkgrel=0 pkgdesc="Logging replacement for Python" url="https://logbook.readthedocs.io/en/stable/" arch="all" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools python3-dev cython3" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/getlogbook/logbook/archive/$pkgver.tar.gz" builddir="$srcdir"/logbook-$pkgver build() { cython3 logbook/_speedups.pyx python3 setup.py build } check() { rm -f tests/test_file_handler.py py.test-3 tests } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="71bdc14edd1db0490bddb068198fd670270f084a6234e17a46542c2c19436994b61348f18c6813c71d988b37ecaec6a48fac9409125050d4023b3389a6da9c21 py3-logbook-1.5.2.tar.gz"