diff options
author | Erich Eckner <git@eckner.net> | 2017-10-05 11:10:31 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-05 11:10:31 +0200 |
commit | bdc7b60ff98e77d0e817a6560ef881d864757cea (patch) | |
tree | 9c92714dc2a25977cc1f9d217b7e1446bbc879fc | |
parent | 18ab9c223b3b2387603bf307484b592ff2b931e6 (diff) | |
download | archlinuxewe-bdc7b60ff98e77d0e817a6560ef881d864757cea.tar.xz |
python-pyfftw: add dependencies
-rw-r--r-- | python-pyfftw/PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/python-pyfftw/PKGBUILD b/python-pyfftw/PKGBUILD index 2aa46f1dc..e4def7822 100644 --- a/python-pyfftw/PKGBUILD +++ b/python-pyfftw/PKGBUILD @@ -9,7 +9,8 @@ pkgrel=1 pkgdesc='A pythonic wrapper around FFTW.' url='http://hgomersall.github.io/pyFFTW/' depends=('fftw') -makedepends=('python-numpy' 'python2-numpy' 'python-scipy' 'python2-scipy') +_pdepends=('python-numpy' 'python-scipy' 'python-setuptools') +makedepends=("${_pdepends[@]}" "${_pdepends[@]/python-/python2-}") license=('BSD') arch=('i686' 'x86_64') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz") @@ -27,14 +28,14 @@ build() { } package_python-pyfftw() { - depends+=('python-numpy' 'python-scipy') + depends+=("${_pdepends[@]}") cd $srcdir/$_pyname-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } package_python2-pyfftw() { - depends+=('python2-numpy' 'python2-scipy') + depends+=("${_pdepends[@]/python-/python2-}") cd $srcdir/$_pyname-$pkgver python2 setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" |