summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cc4a3fd2a17..a8bff871425 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer of this PKBGUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=SimpleITK
-_py=cp37
+_python_version='3.8'
+_py="cp${_python_version//./}"
pkgname=python-simpleitk
-pkgver=1.2.3
+pkgver=1.2.4
pkgrel=1
pkgdesc='A simplified layer built on top of ITK'
arch=('x86_64')
@@ -12,16 +13,16 @@ depends=('python')
conflicts=('simpleitk')
makedepends=('python-pip')
optdepends=()
-noextract=("$_name-$pkgver-$_py-${_py}m-manylinux1_x86_64.whl")
+noextract=("$_name-$pkgver-$_py-${_py}-manylinux1_x86_64.whl")
options=('!strip')
-source=("https://files.pythonhosted.org/packages/$_py/${_name::1}/$_name/${_name/-/_}-$pkgver-$_py-${_py}m-manylinux1_x86_64.whl")
-sha256sums=('d6d23b5d97e85d5bae57eb8d6cc252714cd3a785021589fdcd1e3371c6016f14')
+source=("https://files.pythonhosted.org/packages/$_py/${_name::1}/$_name/${_name/-/_}-$pkgver-$_py-${_py}-manylinux1_x86_64.whl")
+sha256sums=('3ca6e5f798121bb4c86214a480f74c9211d8d9def7081778083ed97502f37892')
package() {
cd "$srcdir"
# Use wheel: no sdist available on PyPI at the time this was written
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps ./*.whl
- python -O -m compileall "${pkgdir}/usr/lib/python3.7/site-packages/SimpleITK"
+ python -O -m compileall "${pkgdir}/usr/lib/python${_python_version}/site-packages/SimpleITK"
}