diff options
author | Gordian Edenhofer | 2019-08-24 14:27:38 +0200 |
---|---|---|
committer | Gordian Edenhofer | 2019-08-24 14:27:38 +0200 |
commit | 60a6b54828b8952c6689e2d722dc7b5a0b3d8881 (patch) | |
tree | f3c6be7b32f65e647344f710395059e8c4b322c3 | |
download | aur-60a6b54828b8952c6689e2d722dc7b5a0b3d8881.tar.gz |
addpkg: python-nifty 5.0.1-1
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..91d2a98530ab --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = python-nifty + pkgdesc = Versatile library designed to enable the development of signal inference algorithms that operate regardless of the underlying grids (spatial, spectral, temporal, ...) and their resolutions + pkgver = 5.0.1 + pkgrel = 1 + url = http://ift.pages.mpcdf.de/nifty/ift.html + arch = any + license = GPL3 + makedepends = python-setuptools + depends = python + depends = python-scipy + depends = python-pypocketfft + optdepends = python-pyhealpix: harmonic transforms involving domains on the sphere + optdepends = python-nifty_gridder: radio interferometry responses + optdepends = python-mpi4py: MPI-parallel execution + optdepends = python-matplotlib: field plotting + source = python-nifty-5.0.1.tar.gz::https://gitlab.mpcdf.mpg.de/ift/nifty/-/archive/v5.0.1/nifty-v5.0.1.tar.gz + sha512sums = c5819f39a7f8011019a1d6963797b1739dda66ea4819355e3c893071a47f4f77a9885b9e8e2c79eaa9b441bb5cdf1864d5dadf988e7d4f465d8651857112747f + +pkgname = python-nifty diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0d8b20ae176e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Gordian Edenhofer <gordian.edenhofer@gmail.com> + +pkgname=python-nifty +_pkgname=nifty +pkgver=5.0.1 +pkgrel=1 +pkgdesc="Versatile library designed to enable the development of signal inference algorithms that operate regardless of the underlying grids (spatial, spectral, temporal, ...) and their resolutions" +arch=('any') +license=('GPL3') +url="http://ift.pages.mpcdf.de/nifty/ift.html" +depends=('python' 'python-scipy' 'python-pypocketfft') +optdepends=("python-pyhealpix: harmonic transforms involving domains on the sphere" + "python-nifty_gridder: radio interferometry responses" + "python-mpi4py: MPI-parallel execution" + "python-matplotlib: field plotting") +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz"::"https://gitlab.mpcdf.mpg.de/ift/${_pkgname}/-/archive/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz") +sha512sums=('c5819f39a7f8011019a1d6963797b1739dda66ea4819355e3c893071a47f4f77a9885b9e8e2c79eaa9b441bb5cdf1864d5dadf988e7d4f465d8651857112747f') + +build() { + cd "${srcdir}/${_pkgname}-v${pkgver}" + python setup.py clean + rm -rf build dist + python setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-v${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} |