summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-nose/PKGBUILD
blob: e48c434b32868ad2c7e126efe71f6dcadbd1f5f1 (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=3
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
}