# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=py3-backcall pkgver=0.1.0 pkgrel=3 pkgdesc="Backwards compatible callback APIs" url="https://github.com/takluyver/backcall" arch="noarch" license="BSD-3-Clause" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/b/backcall/backcall-$pkgver.tar.gz" builddir="$srcdir/${pkgname#py3-}-$pkgver" replaces="py-backcall" # Backwards compatibility provides="py-backcall=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="359c483fbc8998fc2420daee2a6af7566c47fb03f64e465aa226589a2f98a4b219ab5e5b90e5f677087827a1ac658c02ec3062e9ffe9ac1ebfd9db3bb40339cd backcall-0.1.0.tar.gz"