summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartino Pilia2019-10-28 17:43:01 +0200
committerMartino Pilia2019-10-28 17:43:01 +0200
commitbfd9c5363ac8cc4c2ac7039cc96611b594d30197 (patch)
treed2eace853f41f6fbfbd0393c78c1801ae0bc793d
parent6f5e8a4e21725eff3b2ee0ee02efd924e9123ffa (diff)
downloadaur-bfd9c5363ac8cc4c2ac7039cc96611b594d30197.tar.gz
Version 1.2.3
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 20 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9bf90893292..963a92bed4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
pkgbase = python-simpleitk
pkgdesc = A simplified layer built on top of ITK
- pkgver = 1.2.0
- pkgrel = 2
+ pkgver = 1.2.3
+ pkgrel = 1
url = https://simpleitk.org/
arch = x86_64
license = apache
- makedepends = cmake
- makedepends = git
- makedepends = python-scikit-build
- makedepends = python-setuptools
+ makedepends = python-pip
depends = python
conflicts = simpleitk
- source = https://files.pythonhosted.org/packages/source/S/SimpleITK/SimpleITK-1.2.0.tar.gz
- sha256sums = 2022769692ed384713f86942bbcdba95912cf310266a70a43771818d4f26254a
+ noextract = SimpleITK-1.2.3-cp37-cp37m-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
pkgname = python-simpleitk
diff --git a/PKGBUILD b/PKGBUILD
index 26f0c954531..cc4a3fd2a17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,27 @@
# Maintainer of this PKBGUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=SimpleITK
+_py=cp37
pkgname=python-simpleitk
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.2.3
+pkgrel=1
pkgdesc='A simplified layer built on top of ITK'
arch=('x86_64')
url='https://simpleitk.org/'
license=('apache')
depends=('python')
conflicts=('simpleitk')
-makedepends=(
- 'cmake'
- 'git'
- 'python-scikit-build'
- 'python-setuptools'
-)
+makedepends=('python-pip')
optdepends=()
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('2022769692ed384713f86942bbcdba95912cf310266a70a43771818d4f26254a')
+noextract=("$_name-$pkgver-$_py-${_py}m-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')
package() {
- cd "$srcdir/$_name-$pkgver"
- python setup.py install --optimize=1 --root="$pkgdir"
+ 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"
}