# Maintainer: Marian Buschsieweke pkgname=py3-pypng pkgver=0.0.20 pkgrel=4 pkgdesc="Pure Python PNG image encoder/decoder" url="https://github.com/drj11/pypng" arch="noarch" license="MIT" depends="python3" makedepends=" py3-setuptools " _pyname="pypng" _pypiprefix="${_pyname%${_pyname#?}}" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz python-3.9.patch" builddir="$srcdir/$_pyname-$pkgver" build() { python3 setup.py build } check() { python3 code/test_png.py } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 4f84e9b9cc68c0ad7e4558f0f46c54b0f091561f1a3679ac0679d8a1f1ab9a06493d71bf9df4db5deb6bedbdfa53bb1775ee51204133309eba962077102fdcdd pypng-0.0.20.tar.gz 48c74a646b6e01b354b252b7d2c25e744c324c753978a56608b308744ff7fd0e556595259816c1221bdfbdf5cb73ee5c146076205fbae5e21a51a838a4f694fb python-3.9.patch "