[arch-commits] Commit in python-nose/repos (testing-any testing-any/PKGBUILD)

Angel Velásquez angvp at archlinux.org
Tue Oct 4 15:51:54 EDT 2011


    Date: Tuesday, October 4, 2011 @ 15:51:54
  Author: angvp
Revision: 139744

archrelease: copy trunk to testing-any

Added:
  python-nose/repos/testing-any/
  python-nose/repos/testing-any/PKGBUILD
    (from rev 139743, python-nose/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-nose/repos/testing-any/PKGBUILD (from rev 139743, python-nose/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2011-10-04 19:51:54 UTC (rev 139744)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+pkgbase=python-nose
+pkgname=('python-nose' 'python2-nose')
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="A discovery-based unittest extension"
+arch=('any')
+url="http://www.somethingaboutorange.com/mrl/projects/nose/"
+license=('LGPL2')
+source=("http://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz")
+makedepends=('python' 'python-distribute' 'python2' 'python2-distribute')
+conflicts=('python2-nose')
+md5sums=('144f237b615e23f21f6a50b2183aa817')
+
+build() {
+  cd "$srcdir/nose-$pkgver"
+  cp -R $srcdir/nose-$pkgver $srcdir/nose2-$pkgver
+  sed -i -e "s:man/man1:share/man/man1:g" setup.py
+}
+
+package_python-nose() {
+  depends=('python')
+  cd "$srcdir/nose-$pkgver"
+  python setup.py install --prefix=/usr --root=${pkgdir}
+}
+
+package_python2-nose() {
+  depends=('python2')
+  cd "$srcdir/nose2-$pkgver"
+  python setup.py install --prefix=/usr --root=${pkgdir}
+}



More information about the arch-commits mailing list