summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01c67dc9be132591d81946da6d5c8ddc2aa99bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Thomas S Hatch <thatch45@gmail.com>

pkgname=python-pytddmon
pkgver=1.0.8
_commit=4b2875cfda88050537af58a4103ea8809c27ee1c
pkgrel=11
pkgdesc='Continuous unit testing in Python'
arch=('any')
url='https://github.com/objarni/pytddmon'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-nose')
source=("$pkgname-$_commit.tar.gz::https://github.com/objarni/pytddmon/archive/$_commit.tar.gz")
sha512sums=('5b71938b0f80995a8e9c9590697e1ccc53f30339d0dc63a31aa37957d8f354913e84444eecaebd6a8e631af645baefbdbed09aaa65f53d7e0d49c90fbc2c7a46')

build() {
  cd pytddmon-$_commit
  python setup.py build
}

check() {
  cd pytddmon-$_commit
  python setup.py nosetests
}

package() {
  cd pytddmon-$_commit
  python setup.py install --root="$pkgdir" -O1

  install -Dm 0644 License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}