[arch-commits] Commit in python-nose/trunk (PKGBUILD)
Angel Velásquez
angvp at archlinux.org
Tue Feb 22 05:10:43 UTC 2011
Date: Tuesday, February 22, 2011 @ 00:10:43
Author: angvp
Revision: 110759
upgpkg: python-nose 1.0.0-3
Fixing split pkg issue
Modified:
python-nose/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-22 02:50:58 UTC (rev 110758)
+++ PKGBUILD 2011-02-22 05:10:43 UTC (rev 110759)
@@ -3,31 +3,23 @@
# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
# Contributor: Cilyan Olowen <gaknar at gmail.com>
-pkgbase=python-nose
-pkgname=('python2-nose' 'python-nose')
+pkgname=python-nose
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="A discovery-based unittest extension"
arch=('any')
url="http://www.somethingaboutorange.com/mrl/projects/nose/"
license=('LGPL2')
source=("http://www.somethingaboutorange.com/mrl/projects/nose/nose-${pkgver}.tar.gz")
md5sums=('9542d4c66e04880d8144990de76e0b88')
-depends=('python' 'python2' 'python-distribute' 'python2-distribute')
+depends=('python' 'python-distribute')
build() {
cd "$srcdir/nose-$pkgver"
sed -i -e "s:man/man1:share/man/man1:g" setup.py
}
-package_python-nose() {
- depends=('python-distribute')
+package() {
cd "$srcdir/nose-$pkgver"
python setup.py install --prefix=/usr --root=${pkgdir}
}
-
-package_python2-nose() {
- depends=('python2-distribute')
- cd "$srcdir/nose-$pkgver"
- python2 setup.py install --prefix=/usr --root=${pkgdir}
-}
More information about the arch-commits
mailing list