blob: 8e63c284cf7ce7c4ac8fe368dde15550d3ea5249 (
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
|
# Maintainer: Hector Mtz-Seara (hseara#at#gmail#com)
# Maintainer: Vedran Miletic <vedran AT miletic DOT net>
pkgname=python-mdanalysis
pkgver=2.6.1
pkgrel=1
pkgdesc="An object-oriented python toolkit to analyze molecular dynamics trajectories generated by CHARMM, Gromacs, NAMD, LAMMPS, or Amber."
url="http://www.mdanalysis.org/"
license=("GPL")
arch=('x86_64')
depends=('python-numpy' 'cython' 'python-mmtf' 'python-gsd' 'python-tqdm' 'python-griddataformats' 'python-scipy' 'python-biopython' 'python-fasteners' 'python-packaging')
makedepends=("python-build" "python-installer" "python-wheel")
optdepends=('python-matplotlib: to use all MDAnalysis functions'
'python-joblib: to use all MDAnalysis functions'
'python-netcdf4: to operate on AMBER binary trajectories'
'python-networkx: for analysis of lipid leaflets via MDAnalysis.analysis.leaflet')
source=(https://github.com/MDAnalysis/mdanalysis/archive/refs/tags/package-$pkgver.tar.gz
0001-Allow-using-newer-numpy.patch)
sha256sums=('cdeeaef733ad0ec8d41a2961c3c445d7de4c8b2a8b6c76ac9321ed820872a3a6'
'e4391d3c6a75e8b2a0275ff9799afbfbec2f9897f195ce003fc17e4b9f5ef75e')
build() {
cd $srcdir/mdanalysis-package-$pkgver/package
patch -p1 -i $srcdir/0001-Allow-using-newer-numpy.patch
python -m build --wheel --no-isolation
}
package(){
cd $srcdir/mdanalysis-package-$pkgver/package
python -m installer --destdir="$pkgdir" dist/*.whl
}
|