diff options
author | Martino Pilia | 2019-11-21 21:04:24 +0200 |
---|---|---|
committer | Martino Pilia | 2019-11-21 21:04:24 +0200 |
commit | 773a0c7ca357a81813487bcf40599671df38b50e (patch) | |
tree | 34fee7438077d20ff7a4d8eb7ad792db686a919a | |
parent | bfd9c5363ac8cc4c2ac7039cc96611b594d30197 (diff) | |
download | aur-773a0c7ca357a81813487bcf40599671df38b50e.tar.gz |
Version 1.2.4
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = python-simpleitk pkgdesc = A simplified layer built on top of ITK - pkgver = 1.2.3 + pkgver = 1.2.4 pkgrel = 1 url = https://simpleitk.org/ arch = x86_64 @@ -8,10 +8,10 @@ pkgbase = python-simpleitk makedepends = python-pip depends = python conflicts = simpleitk - noextract = SimpleITK-1.2.3-cp37-cp37m-manylinux1_x86_64.whl + noextract = SimpleITK-1.2.4-cp38-cp38-manylinux1_x86_64.whl options = !strip - source = https://files.pythonhosted.org/packages/cp37/S/SimpleITK/SimpleITK-1.2.3-cp37-cp37m-manylinux1_x86_64.whl - sha256sums = d6d23b5d97e85d5bae57eb8d6cc252714cd3a785021589fdcd1e3371c6016f14 + source = https://files.pythonhosted.org/packages/cp38/S/SimpleITK/SimpleITK-1.2.4-cp38-cp38-manylinux1_x86_64.whl + sha256sums = 3ca6e5f798121bb4c86214a480f74c9211d8d9def7081778083ed97502f37892 pkgname = python-simpleitk @@ -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" } |