blob: edcbdb0389cf7bc8498ffa9f08e561ee7d25be6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Antony Lee <anntzer dot lee at gmail dot com>
_pkgname=pyFFTW
pkgname='python-pyfftw'
pkgver=0.13.0
pkgrel=2
pkgdesc='A pythonic wrapper around FFTW.'
url='http://hgomersall.github.io/pyFFTW/'
_pinned_dependencies=(
'glibc>=2.31'
'libfftw3f_omp.so=3'
'libfftw3f.so=3'
'libfftw3l_omp.so=3'
'libfftw3l.so=3'
'libfftw3_omp.so=3'
'libfftw3.so=3'
)
depends=(
"${_pinned_dependencies[@]}"
'cython>=0.29.18'
'fftw'
'python>=3.11'
'python<3.12'
'python-dask>=1.0.0'
'python-numpy>=1.16'
'python-scipy>=1.2.0')
makedepends=(
'python-setuptools')
license=('BSD')
arch=('i686' 'pentium4' 'x86_64')
source=("https://pypi.python.org/packages/18/a1/5eb99c183af0a49bf632fed3260a6cad3f7978bb19fd661a573d3728a986/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('1e042257294e569c99871965612c555b60a20a6a6aef609afd93524c30d7f578a62706e1b27942c11997763b0829a63b732933147a0a7a06552e0add5f739bfd')
build() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py build_ext --inplace
python setup.py test
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|