summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e84b460bc5f..b319007f105 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_name=anndata2ri
pkgname=python-$_name
-pkgver=1.0.1
-pkgrel=2
+pkgver=1.0.4
+pkgrel=1
pkgdesc='Converter between Python’s AnnData and R’s SingleCellExperiment.'
arch=(any)
url="https://github.com/theislab/$_name"
@@ -11,11 +11,14 @@ license=(GPL3)
depends=(python-anndata python-rpy2 python-tzlocal)
_wheel="${_name/-/_}-$pkgver-py3-none-any.whl"
source=("https://files.pythonhosted.org/packages/py2.py3/${_name::1}/$_name/$_wheel")
-sha256sums=('9f035cef8fba49aba504ba74fcfbb366b1e5ea2499bff5d99c9f13fa096eb130')
+sha256sums=('7b10501323ac29be1ee531100d12a3d4384e41551412c7e07e8e973a3ad24f8b')
noextract=("$_wheel")
package() {
local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages"
install -d "$site"
unzip "$_wheel" -d "$site"
+
+ #fix permissions, fixed in flit 3.0: https://github.com/takluyver/flit/pull/256
+ find "$site" -type f -exec chmod 644 {} \;
}