summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/python-nose/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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 <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
+}
+