# Maintainer: pkgname=py3-dill _pyname=dill pkgver=0.3.6 pkgrel=2 pkgdesc="Python serializer supporting a broader range of types than pickle" url="https://pypi.org/project/dill/" arch="noarch !s390x" # broken on big-endian license="BSD-3-Clause" makedepends="python3 py3-setuptools" _pypiprefix="${_pyname%${_pyname#?}}" subpackages="$pkgname-pyc" source="https://github.com/uqfoundation/dill/releases/download/dill-$pkgver/dill-$pkgver.tar.gz" builddir=$srcdir/$_pyname-$pkgver build() { python3 setup.py build } check() { export PYTHONPATH=build/lib for t in dill/tests/test*.py; do echo "$t" python3 "$t" done } package() { python3 setup.py install --skip-build --root="$pkgdir" rm -rf "$pkgdir"/usr/lib/python3*/site-packages/dill/tests } sha512sums=" 0a418fb9b19840340a7842fd0e97b286c503b2798baf644d67611264d6853d93b5721fc52308477314c410e8ce89aa6439eb14ccf1057c3fa326119664d9f5bb dill-0.3.6.tar.gz "