archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-aiounittest / trunk / PKGBUILD
blob3bc1fb896529a11a1610149fbddf6d1731ecb4a0
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-aiounittest
4 pkgver=1.4.2
5 pkgrel=2
6 pkgdesc="Test asyncio code more easily"
7 url="https://github.com/kwarunek/aiounittest"
8 license=('MIT')
9 arch=('any')
10 depends=('python-wrapt')
11 makedepends=('python-setuptools')
12 checkdepends=('python-nose')
13 source=("https://github.com/kwarunek/aiounittest/archive/$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('358b7c412f90eb7afc7ed7058e8e2d4426a6c57379d341d997658859ba6054a9a1337d0b05e63a825e28023f02550bd72d65bdb3feab4503c763c98f8c0d19c6')
16 build() {
17   cd aiounittest-$pkgver
18   python setup.py build
21 check() {
22   cd aiounittest-$pkgver
23   nosetests3
26 package() {
27   cd aiounittest-$pkgver
28   python setup.py install --root="$pkgdir" --optimize=1
30   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/