1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Thomas Sarboni <max-k@post.com>
4 pkgname=python-pydispatcher
7 pkgdesc="Multi-Producer Multi-Consumer Observer Pattern for Python"
8 url="https://github.com/mcfletch/pydispatcher"
12 makedepends=('python-setuptools')
13 source=("https://pypi.io/packages/source/P/PyDispatcher/PyDispatcher-$pkgver.tar.gz")
14 sha512sums=('516816cec6ea7cd623b1932ed2fb932029757cdb349d905d8940439b54ce0701d628a2cecb1280001c58b7fc3d8e12cc5cd94c6b89affb54a7e749a7c2ee70ba')
17 cd PyDispatcher-$pkgver
22 cd PyDispatcher-$pkgver
23 python -m unittest discover
27 cd PyDispatcher-$pkgver
28 python setup.py install --root="$pkgdir" --optimize=1
29 install -Dm644 license.txt -t "$pkgdir"/usr/share/licenses/$pkgname/