# Contributor: Leonardo Arena # Maintainer: pkgname=py3-itypes _pkgreal=itypes pkgver=1.1.0 pkgrel=4 pkgdesc="Basic immutable container types for Python" url="https://github.com/tomchristie/itypes" arch="noarch" license="BSD-3-Clause" makedepends="py3-setuptools" checkdepends="py3-flake8 py3-pytest py3-pyflakes" source="$pkgname-$pkgver.tar.gz::https://github.com/tomchristie/itypes/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgreal-$pkgver replaces="py-itypes" # Backwards compatibility provides="py-itypes=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 runtests } package() { python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" } sha512sums="2f6dd5d655f1031059df8dcfd0a2f76875796a800144e887fb66cb5585949097edb6b9f5e973de2280f43cfeb25ab99d3ca428372fe239c8cd70f385304bcdd7 py3-itypes-1.1.0.tar.gz"