summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92a278eb13b421ae1b39415b076e802ac78fc451 (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
# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley)
_modulename=ripser
pkgname=python-$_modulename
pkgver=0.4.1
pkgrel=2
pkgdesc="A Lean Persistent Homology Library for Python"
arch=(any)
url="https://github.com/scikit-tda/ripser.py"
license=('MIT')
groups=()
depends=('python' 'cython' 'python-numpy' 'python-scipy' 'python-scikit-learn' 'python-persim')
makedepends=('python-setuptools' 'cython')
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('ec7f34935f5e6d3430c7f5a27007ccf4f50a21936d4045c0d3aa1e77209ef8fa')
package() {
  cd "$srcdir/${_modulename}.py-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}