# Contributor: Sören Tempel # Maintainer: Sören Tempel pkgname=py3-mediafile pkgver=0.12.0 pkgrel=0 pkgdesc="Simple interface to the metadata tags for many audio file formats" url="https://github.com/beetbox/mediafile" arch="noarch" license="MIT" depends="python3 py3-mutagen py3-six" makedepends="py3-gpep517 py3-flit-core py3-installer" checkdepends="py3-nose" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/m/mediafile/mediafile-$pkgver.tar.gz" builddir="$srcdir/mediafile-$pkgver" build() { gpep517 build-wheel \ --output-fd 3 3>&1 >&2 \ --wheel-dir .dist } check() { nosetests } package() { python3 -m installer -d "$pkgdir" \ .dist/mediafile-*.whl } sha512sums=" 64c4328cf703e862b3772b8a0e2f4585c8c8a0e8d91a4794ff1fa50a8b5d36990f12aeb96366c674b06642c7a8d8ea4f1269ed5dac15d8001d2877f3a63c5bcc py3-mediafile-0.12.0.tar.gz "