summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartino Pilia2021-02-28 11:41:58 +0100
committerMartino Pilia2021-02-28 11:41:58 +0100
commit1f0e7f69d2d357360c65a244aaebd09f6d8b7e78 (patch)
tree9bcbc77d9fafe684c80f72fe2659e5884e2ba3a2
parent773a0c7ca357a81813487bcf40599671df38b50e (diff)
downloadaur-python-simpleitk.tar.gz
Version 2.0.2
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0743c82458..01820bd7808 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-simpleitk
pkgdesc = A simplified layer built on top of ITK
- pkgver = 1.2.4
+ pkgver = 2.0.2
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.4-cp38-cp38-manylinux1_x86_64.whl
+ noextract = SimpleITK-2.0.2-cp39-cp39-manylinux1_x86_64.whl
options = !strip
- source = https://files.pythonhosted.org/packages/cp38/S/SimpleITK/SimpleITK-1.2.4-cp38-cp38-manylinux1_x86_64.whl
- sha256sums = 3ca6e5f798121bb4c86214a480f74c9211d8d9def7081778083ed97502f37892
+ source = https://files.pythonhosted.org/packages/cp39/S/SimpleITK/SimpleITK-2.0.2-cp39-cp39-manylinux1_x86_64.whl
+ sha256sums = 5ab5ab167d27bb24e958f02df26b467603197b71e91b13b1635763cf64d2431f
pkgname = python-simpleitk
diff --git a/PKGBUILD b/PKGBUILD
index a8bff871425..6517f101a34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer of this PKBGUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=SimpleITK
-_python_version='3.8'
+_python_version=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
_py="cp${_python_version//./}"
pkgname=python-simpleitk
-pkgver=1.2.4
+pkgver=2.0.2
pkgrel=1
pkgdesc='A simplified layer built on top of ITK'
arch=('x86_64')
@@ -16,7 +16,7 @@ optdepends=()
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}-manylinux1_x86_64.whl")
-sha256sums=('3ca6e5f798121bb4c86214a480f74c9211d8d9def7081778083ed97502f37892')
+sha256sums=('5ab5ab167d27bb24e958f02df26b467603197b71e91b13b1635763cf64d2431f')
package() {
cd "$srcdir"