# Contributor: Justin Berthault # Maintainer: Will Sinatra pkgname=py3-pywal pkgver=3.3.0 pkgrel=9 pkgdesc="Generate and change colorschemes on the fly" url="https://github.com/dylanaraps/pywal/" arch="noarch" license="MIT" depends=" imagemagick python3 " makedepends="py3-gpep517 py3-setuptools py3-wheel" checkdepends="imagemagick-jpeg" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/p/pywal/pywal-$pkgver.tar.gz fix-tmp-dir.patch imagemagick-7.1.patch " builddir="$srcdir/pywal-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m unittest -v } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" e8469ae1cb6596e78e9100907115e2075cfe6f984751e9972c36e60e27d1c379b4e8d2c5ef90becb689bcfcc1efb9702392e64602dbb93f903e12f3881ed42ce pywal-3.3.0.tar.gz 12d5f79025af53f4dc4bacbdd9c6c6abfc648de81cd69c32a6c29f90870ce82725c5aef8ae40290d8e52f3088a34229fc64f0097b66f7c9cdd45c9955184b650 fix-tmp-dir.patch 2b763c538c4165b399788b5338d9a986890a345b5b34f075ed89b7e5bc632111635ceac3b5662605471eeed18cb5080830cdb0936796ad1841cbf2fa7d20eb5e imagemagick-7.1.patch "