archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-pytddmon / trunk / PKGBUILD
blob354fefe1042ac6379b11111c6176347ca1b7a66b
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
3 # Contributor: Thomas S Hatch <thatch45@gmail.com>
5 pkgname=python-pytddmon
6 pkgver=1.0.8
7 _commit=4b2875cfda88050537af58a4103ea8809c27ee1c
8 pkgrel=9
9 pkgdesc='Continuous unit testing in Python'
10 arch=('any')
11 url='https://pytddmon.org'
12 license=('Apache')
13 depends=('python')
14 makedepends=('python-setuptools')
15 checkdepends=('python-nose')
16 source=("$pkgname-$_commit.tar.gz::https://github.com/objarni/pytddmon/archive/$_commit.tar.gz")
17 sha512sums=('5b71938b0f80995a8e9c9590697e1ccc53f30339d0dc63a31aa37957d8f354913e84444eecaebd6a8e631af645baefbdbed09aaa65f53d7e0d49c90fbc2c7a46')
19 build() {
20   cd pytddmon-$_commit
21   python setup.py build
24 check() {
25   cd pytddmon-$_commit
26   python setup.py nosetests
29 package() {
30   cd pytddmon-$_commit
31   python setup.py install --root="$pkgdir" -O1