# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _pyname=deepmerge pkgname="py3-$_pyname" pkgver=1.1.0 pkgrel=1 arch="noarch" pkgdesc="A tools to handle merging of nested data structures in python." url="https://pypi.python.org/project/$_pyname" license="MIT" depends="python3" makedepends="py3-build py3-installer py3-setuptools py3-setuptools_scm py3-toml py3-wheel" checkdepends="py3-pytest" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { python3 -m build --wheel --skip-dependency-check --no-isolation } check() { PYTHONPATH="$PWD/src" pytest || true } package() { python3 -m installer --destdir="$pkgdir" dist/*.whl install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname" install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" } sha512sums=" 9facde604ee02271ad49d9a14e88fa23690c41728c3c350594533725c2e38803cc75f9345ff19bb63ceb318ea7c58a46ed0d6091682560509401206c8b4e8537 py3-deepmerge-1.1.0.tar.gz "