# Maintainer: Drew DeVault pkgname=py3-dill _pyname=dill pkgver=0.3.1.1 pkgrel=1 pkgdesc="Python serializer supporting a broader range of types than pickle" url="https://pypi.org/projects/dill/" arch="noarch !s390x !mips !mips64" # broken on big-endian license="BSD-3-Clause" makedepends="python3 py3-setuptools" _pypiprefix="${_pyname%${_pyname#?}}" source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" builddir=$srcdir/$_pyname-$pkgver build() { python3 setup.py build } check() { export PYTHONPATH="$(pwd):$PYTHONPATH" for t in tests/*.py do echo "$t" python3 "$t" done } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="e61610451972522316d7ed6bc8287e38521fcd2e6736b43200ae498f24596994caec92313be1da71cf1b536fbbe01505673fc8018bfcbaf7705147a294565ab9 dill-0.3.1.1.tar.gz"