[arch-commits] Commit in python-nose/trunk (PKGBUILD)
Angel Velásquez
angvp at archlinux.org
Tue Oct 4 19:51:35 UTC 2011
Date: Tuesday, October 4, 2011 @ 15:51:35
Author: angvp
Revision: 139743
upgpkg: python-nose 1.1.2-1
joining python2-nose and python-nose on just one splitted package
Modified:
python-nose/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-10-04 17:54:52 UTC (rev 139742)
+++ PKGBUILD 2011-10-04 19:51:35 UTC (rev 139743)
@@ -2,25 +2,33 @@
# Maintainer: Angel Velasquez <angvp at archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
# Contributor: Cilyan Olowen <gaknar at gmail.com>
-
-pkgname=python-nose
-pkgver=1.0.0
-pkgrel=4
+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://www.somethingaboutorange.com/mrl/projects/nose/nose-${pkgver}.tar.gz")
-md5sums=('9542d4c66e04880d8144990de76e0b88')
-depends=('python' 'python-distribute')
+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() {
+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