From c874d7ab92d83e481f25e335908595224e888a54 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Thu, 18 Nov 2010 01:54:50 +0000 Subject: python-nose: initial import for python-numpy --- abs/core/python-nose/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/core/python-nose/PKGBUILD diff --git a/abs/core/python-nose/PKGBUILD b/abs/core/python-nose/PKGBUILD new file mode 100644 index 0000000..847e88a --- /dev/null +++ b/abs/core/python-nose/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: $ +# Maintainer: +# Contributor: Douglas Soares de Andrade +# Contributor: Cilyan Olowen + +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 +} + -- cgit v0.12