summaryrefslogtreecommitdiff
path: root/python-pyfftw
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-24 14:45:30 +0200
committerErich Eckner <git@eckner.net>2019-05-24 14:45:30 +0200
commit6b1d9a0ae8fd903b1d864a9795e18dbf2c9aa444 (patch)
tree0c86e4c84e211192cdfd3f0cfba7ac2c78bac960 /python-pyfftw
parent01d517a5a010c172ae63691ccf443dac28d68840 (diff)
downloadarchlinuxewe-6b1d9a0ae8fd903b1d864a9795e18dbf2c9aa444.tar.xz
set _pkgname in all python-* packages
Diffstat (limited to 'python-pyfftw')
-rw-r--r--python-pyfftw/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/python-pyfftw/PKGBUILD b/python-pyfftw/PKGBUILD
index 8c8e55431..035149b4c 100644
--- a/python-pyfftw/PKGBUILD
+++ b/python-pyfftw/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Antony Lee <anntzer dot lee at gmail dot com>
-_pyname=pyFFTW
+_pkgname=pyFFTW
pkgname=("python-pyfftw" "python2-pyfftw")
pkgbase="python-pyfftw"
pkgver=0.11.1
@@ -39,7 +39,7 @@ source=("https://pypi.python.org/packages/fa/7f/e65fe8b9f1b66aab22c8d76c2f031807
sha512sums=('2dab5d6c2c28731a096122ca7013c56469b8cd0509cb37abb7571290efc96925034e8c30833014c9f4d9db62234b4cb0e92cdc3b41880ac02bfa790370ee3f94')
build() {
- cd $srcdir/$_pyname-$pkgver
+ cd $srcdir/$_pkgname-$pkgver
python setup.py build_ext --inplace
python setup.py test
}
@@ -49,7 +49,7 @@ package_python-pyfftw() {
"${_deppy[@]}"
"${_depends[@]}"
)
- cd $srcdir/$_pyname-$pkgver
+ cd $srcdir/$_pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
@@ -59,7 +59,7 @@ package_python2-pyfftw() {
"${_deppy2[@]}"
"${_depends[@]/python-/python2-}"
)
- cd $srcdir/$_pyname-$pkgver
+ cd $srcdir/$_pkgname-$pkgver
python2 setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}