# Maintainer: Natanael Copa pkgname=py3-logbook pkgver=1.5.3 pkgrel=5 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 cython" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/getlogbook/logbook/archive/$pkgver.tar.gz" builddir="$srcdir"/logbook-$pkgver build() { cython logbook/_speedups.pyx python3 setup.py build } check() { rm -f tests/test_file_handler.py py.test-3 tests } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="c9068324f12a189ced98e2c02753489847fa533ce3a3af07b62c73e9959c2e014d47515d47e756d031639cb220a2c4a9a380cba4cb3ea1b190c50106decba686 py3-logbook-1.5.3.tar.gz"