blob: 0abafaa960e09bd88e517d5a76d8d625015697ba (
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
|
# Maintainer: Ashwin <ashwinvis+arch_@t_Pr0t0nM4il_c0m>
_proj=fluiddyn
_name=fluiddyn
pkgname=python-${_name}
pkgver=0.3.3
pkgrel=1
pkgdesc="FluidDyn project | Framework for studying fluid dynamics."
arch=('any')
url="https://${_name}.readthedocs.io"
license=('custom:"CeCILL-B"')
depends=(
'python' 'python-numpy' 'python-matplotlib' 'python-h5py' 'python-psutil'
'python-distro' 'python-h5netcdf'
)
optdepends=(
'python-pyfftw: Calculate FFT'
'python-pillow: Image I/O'
)
makedepends=('python-setuptools')
checkdepends=('python-pytest')
provides=(python-${_name})
conflicts=(python2-${_name}-hg)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('904e075fc6fd3516fac1bc96090a58701fdae49065464dc39c97ca8e5625835f')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py build
}
check() {
cd "${srcdir}/${_name}-${pkgver}"
# pytest
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root=$pkgdir --optimize=1 --skip-build
install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|