summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp A2019-12-07 12:49:56 +0100
committerPhilipp A2019-12-07 12:49:56 +0100
commit3ab8c4d8fec520b0d5d51745cfb82cb0fa245dbc (patch)
tree95514d2c2604cf2c8d9ec525362d95835f36466f
downloadaur-3ab8c4d8fec520b0d5d51745cfb82cb0fa245dbc.tar.gz
init
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD23
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cb66d0a651d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-anndata2ri
+ pkgdesc = Converter between Python’s AnnData and R’s SingleCellExperiment.
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = https://github.com/theislab/anndata2ri
+ arch = any
+ license = GPL3
+ makedepends = python-pip
+ depends = python-anndata
+ depends = python-rpy2
+ depends = python-tzlocal
+ noextract = anndata2ri-1.0.1-py3-none-any.whl
+ source = https://files.pythonhosted.org/packages/py2.py3/a/anndata2ri/anndata2ri-1.0.1-py3-none-any.whl
+ sha256sums = 9f035cef8fba49aba504ba74fcfbb366b1e5ea2499bff5d99c9f13fa096eb130
+
+pkgname = python-anndata2ri
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4d7ad300862
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/src/
+/pkg/
+/*.whl
+/*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5e462c3bfb2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Philipp A. <flying-sheep@web.de>
+
+_name=anndata2ri
+pkgname=python-$_name
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Converter between Python’s AnnData and R’s SingleCellExperiment.'
+arch=(any)
+url="https://github.com/theislab/$_name"
+license=(GPL3)
+depends=(python-anndata python-rpy2 python-tzlocal)
+makedepends=(python-pip)
+_wheel="${_name/-/_}-$pkgver-py3-none-any.whl"
+source=("https://files.pythonhosted.org/packages/py2.py3/${_name::1}/$_name/$_wheel")
+sha256sums=('9f035cef8fba49aba504ba74fcfbb366b1e5ea2499bff5d99c9f13fa096eb130')
+noextract=("$_wheel")
+
+package() {
+ local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages"
+ install -d "$site"
+ unzip "$_wheel" -d "$site"
+ install-wheel-scripts --prefix="$pkgdir/usr" "$_wheel"
+}