From 6a3f02abeeecab3efb4442e39e28e05897f25316 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Aug 2013 01:45:08 -0700 Subject: Fri Aug 16 01:44:39 PDT 2013 --- community/python-mpi4py/PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'community/python-mpi4py/PKGBUILD') diff --git a/community/python-mpi4py/PKGBUILD b/community/python-mpi4py/PKGBUILD index 1f87c3c66..aefaa8215 100644 --- a/community/python-mpi4py/PKGBUILD +++ b/community/python-mpi4py/PKGBUILD @@ -1,17 +1,16 @@ -# $Id: PKGBUILD 78230 2012-10-17 10:26:03Z allan $ +# $Id: PKGBUILD 95616 2013-08-15 02:50:55Z fyan $ # Maintainer : Stéphane Gaudreault # Contributor: Sebastien Binet pkgbase=python-mpi4py pkgname=('python-mpi4py' 'python2-mpi4py') -pkgver=1.3 -pkgrel=2 +pkgver=1.3.1 +pkgrel=1 arch=('i686' 'x86_64') url="http://mpi4py.scipy.org" license=('BSD') makedepends=('python' 'python2' 'python-distribute' 'python2-distribute' 'openmpi') source=(http://mpi4py.googlecode.com/files/mpi4py-${pkgver}.tar.gz) -sha1sums=('282c1b9e35b242c9bd86126ebc5af6c70d8c2833') build() { cd "${srcdir}" @@ -31,7 +30,9 @@ package_python-mpi4py() { depends=('python>=3.3' 'openmpi') cd "${srcdir}/mpi4py-${pkgver}" - python3 setup.py install --root "${pkgdir}" --optimize=1 --skip-build + python3 setup.py install --root "${pkgdir}" --optimize=1 --skip-build + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" } package_python2-mpi4py() { @@ -39,5 +40,9 @@ package_python2-mpi4py() { depends=('python2>=2.7' 'openmpi') cd "${srcdir}/mpi4py-${pkgver}-python2" - python2 setup.py install --root "${pkgdir}" --optimize=1 --skip-build + python2 setup.py install --root "${pkgdir}" --optimize=1 --skip-build + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" } + +sha512sums=('15e81f2a1e6f6af7a54f0e8ec43ddf36cc565b7fe9e3dd35603c9d128199c5acd1584757ffca999c8826c0bbccf371175d40a7a24c85d3369efd77da5b3b603f') -- cgit v1.2.3-54-g00ecf