summaryrefslogtreecommitdiffstats
path: root/abs/core/python-nose/PKGBUILD
blob: 847e88a99d761be0ae878cf6f2ba9e57605d025f (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
# $Id: $
# Maintainer:
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Cilyan Olowen <gaknar@gmail.com>

pkgname=python-nose
pkgver=0.11.3
pkgrel=2
pkgdesc="A discovery-based unittest extension"
arch=('any')
url="http://www.somethingaboutorange.com/mrl/projects/nose/"
license=('LGPL2')
depends=('setuptools')
source=("http://www.somethingaboutorange.com/mrl/projects/nose/nose-${pkgver}.tar.gz")
md5sums=('7f1dc53750811f78bedef9e14a4bc5a5')

build() {
  cd "$srcdir/nose-$pkgver"
  sed -i -e "s:man/man1:share/man/man1:g" setup.py
}

package() {
  cd "$srcdir/nose-$pkgver"
  python2 setup.py install --prefix=/usr --root=${pkgdir} || return 1
}