summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Handley2020-02-06 16:56:20 +1030
committerWill Handley2020-02-06 17:07:01 +1030
commit51fc66a45c7ec621aecce8ebd4e1711040be5c9a (patch)
tree2e889c12a0a355e2d4b70148e5ac14faffc951f4
downloadaur-51fc66a45c7ec621aecce8ebd4e1711040be5c9a.tar.gz
First commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD24
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4bf89183f8e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-kmapper
+ pkgdesc = Kepler Mapper: A flexible Python implementation of the Mapper algorithm
+ pkgver = 1.2.0
+ pkgrel = 1
+ url = https://github.com/scikit-tda/kepler-mapper
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ makedepends = cython
+ depends = python
+ depends = python-numpy
+ depends = python-scikit-learn
+ options = !emptydirs
+ source = https://github.com/scikit-tda/kepler-mapper/archive/1.2.0.tar.gz
+ sha256sums = 3240183d4388ab43d8cf6578c2b83449ed58dff71fa65978a2d865a974c99766
+
+pkgname = python-kmapper
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fd271fc8888
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley)
+_modulename=kmapper
+pkgname=python-$_modulename
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Kepler Mapper: A flexible Python implementation of the Mapper algorithm"
+arch=(any)
+url="https://github.com/scikit-tda/kepler-mapper"
+license=('MIT')
+groups=()
+depends=('python' 'python-numpy' 'python-scikit-learn')
+makedepends=('python-setuptools' 'cython')
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=('3240183d4388ab43d8cf6578c2b83449ed58dff71fa65978a2d865a974c99766')
+package() {
+ cd "$srcdir/kepler-mapper-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}