[arch-commits] Commit in python-nose/repos/extra-any (PKGBUILD PKGBUILD)
Angel Velásquez
angvp at archlinux.org
Sat Dec 3 05:49:29 UTC 2011
Date: Saturday, December 3, 2011 @ 00:49:28
Author: angvp
Revision: 144081
archrelease: copy trunk to extra-any
Added:
python-nose/repos/extra-any/PKGBUILD
(from rev 144080, python-nose/trunk/PKGBUILD)
Deleted:
python-nose/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 45 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2011-12-03 05:48:44 UTC (rev 144080)
+++ PKGBUILD 2011-12-03 05:49:28 UTC (rev 144081)
@@ -1,34 +0,0 @@
-# $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=2
-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"
- python2 setup.py install --prefix=/usr --root=${pkgdir}
-}
Copied: python-nose/repos/extra-any/PKGBUILD (from rev 144080, python-nose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2011-12-03 05:49:28 UTC (rev 144081)
@@ -0,0 +1,45 @@
+# $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' 'python-nose-doc')
+pkgver=1.1.2
+pkgrel=3
+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' 'python-sphinx')
+md5sums=('144f237b615e23f21f6a50b2183aa817')
+
+build() {
+ cd "$srcdir/nose-$pkgver"
+ sed -i -e "s:man/man1:share/man/man1:g" setup.py
+ cp -R $srcdir/nose-$pkgver $srcdir/nose2-$pkgver
+}
+
+package_python-nose() {
+ depends=('python' 'python-distribute')
+ cd "$srcdir/nose-$pkgver"
+ python setup.py install --prefix=/usr --root=${pkgdir}
+ mv "$pkgdir/usr/bin/nosetests" "$pkgdir/usr/bin/nosetests3"
+}
+
+package_python2-nose() {
+ depends=('python2' 'python2-distribute')
+ cd "$srcdir/nose2-$pkgver"
+ python2 setup.py install --prefix=/usr --root=${pkgdir}
+ mv "$pkgdir/usr/bin/nosetests" "$pkgdir/usr/bin/nosetests2"
+ rm -rf $pkgdir/usr/share
+}
+
+package_python-nose-doc(){
+ pkgdesc="Nose documentation and examples"
+ cd "$srcdir/nose-$pkgver/doc"
+ make html
+ mkdir -p "$pkgdir/usr/share/doc/python-nose"
+ cp -r .build/html "$pkgdir/usr/share/doc/python-nose"
+ cp -r ../examples "$pkgdir/usr/share/doc/python-nose"
+}
More information about the arch-commits
mailing list