summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Handley2020-02-06 11:34:55 +1030
committerWill Handley2020-02-06 11:34:55 +1030
commite86b993e0eb6d35f32feecfb649383255fa6d825 (patch)
tree1218827acf34d0bc748a6c05a2ff849cf9c1ca93
downloadaur-e86b993e0eb6d35f32feecfb649383255fa6d825.tar.gz
Version 0.4.1
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD24
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0a534c381a3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = python-ripser
+ pkgdesc = nested sampling visualisation
+ pkgver = 0.4.1
+ pkgrel = 1
+ url = https://github.com/scikit-tda/ripser.py
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ makedepends = cython
+ depends = python
+ depends = cython
+ depends = python-numpy
+ depends = python-scipy
+ depends = python-scikit-learn
+ depends = python-persim
+ options = !emptydirs
+ source = https://github.com/scikit-tda/ripser.py/archive/v0.4.1.tar.gz
+ sha256sums = ec7f34935f5e6d3430c7f5a27007ccf4f50a21936d4045c0d3aa1e77209ef8fa
+
+pkgname = python-ripser
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..322aadc7b58
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley)
+_modulename=ripser
+pkgname=python-$_modulename
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="nested sampling visualisation"
+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
+}