1 # Maintainer: David Runge <dvzrv@archlinux.org>
7 pkgdesc="A high-level Python library that makes it easier to use Apache Zookeeper"
9 url="https://github.com/python-zk/kazoo"
12 makedepends=(python-build python-installer python-setuptools python-wheel)
13 # checkdepends=(python-nose python-objgraph)
14 source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
15 sha512sums=('81aa27e4b406622059bfecaac157462adb107630638fb4eed62b0e5460e5312768140fa6c2ab63def35b4e726819b74a90b03b3ab733af5550cb698414a29b84')
16 b2sums=('bbc1fc9235c234c27c8179b094b48fe6bbde0d6a4e41b0f752f466141bee9d28d25eeeacd7305c50ad73f4a11de35369be5d560fc4d365840b980e905118bae3')
20 python -m build --wheel --no-isolation
23 # NOTE: check() requires running zookeeper
26 # export PYTHONPATH="build:${PYTHONPATH}"
31 python -m installer --destdir="$pkgdir" dist/*.whl
32 install -vDm 644 {CHANGES,CONTRIBUTING,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"