# Contributor: Leo # Maintainer: Leo pkgname=py3-pyrsistent pkgver=0.15.6 pkgrel=0 pkgdesc="Persistent/Functional/Immutable data structures" url="https://github.com/tobgu/pyrsistent" arch="all" license="MIT" depends="py3-six" makedepends="py3-setuptools python3-dev" checkdepends="py3-hypothesis py3-pytest py3-pytest-runner" source="pyrsistent-$pkgver.tar.gz::https://github.com/tobgu/pyrsistent/archive/v$pkgver.tar.gz" builddir="$srcdir/pyrsistent-$pkgver" provides="py-pyrsistent=$pkgver-r$pkgrel" prepare() { default_prepare sed -i 's/<5//g' setup.py } build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a7910fa0fbda3af7a5b5bee48b832788e9e8001eeed9f52d7db85e7a0a04cf6c2ca4e50795e13ddb3e09694032a4d8fa573a2a3effa2d8c6228fd45efc482eed pyrsistent-0.15.6.tar.gz"