# Maintainer: Marian Buschsieweke pkgname=py3-pymaging-png _pkgname=pymaging-png _commit=83d85c44e4b2342818e6c068065e031a9f81bb9f pkgver=0.0.20130727 pkgrel=8 pkgdesc="PNG format support for pymaging" url="https://github.com/ojii/pymaging-png" arch="noarch" license="MIT" depends="python3 py3-pymaging" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/ojii/$_pkgname/archive/$_commit.tar.gz" builddir="$srcdir"/$_pkgname-$_commit replaces="py-pymaging-png" # Backwards compatibility provides="py-pymaging-png=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="b0860355c66d30d026443f1a360ca639bfd953da2bf00cc2b25902294d23eb07c3dd94a6c08a588fab816a7b92395bf4b65bf7a78c397a4c4811224035f1cb92 py3-pymaging-png-0.0.20130727.tar.gz"