# Contributor: Galen Abell # Maintainer: Galen Abell pkgname=py3-cdio _pyname=pycdio pkgver=2.1.0 pkgrel=0 pkgdesc="python interface to libcdio" url="https://www.gnu.org/software/libcdio" arch="all" license="GPL-3.0-only" depends="python3" makedepends="python3-dev libcdio-dev swig py3-nose" source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="dc18fbd212f7040b8b06efaf263b17568e9c2d089cff7dfc4dda50a7225059e44c9c86e2d81ade92cf09c823f7189b5723fb601cb12f0884dc04e9f5418c5927 pycdio-2.1.0.tar.gz"