summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartino Pilia2019-05-09 20:51:06 +0200
committerMartino Pilia2019-05-09 20:51:06 +0200
commit6f5e8a4e21725eff3b2ee0ee02efd924e9123ffa (patch)
treece2d763dc8e0b78406dd33032d507ff8cf8ec993
parent862ed2c37d5df09d9394c72730e41c726fc08dfb (diff)
downloadaur-6f5e8a4e21725eff3b2ee0ee02efd924e9123ffa.tar.gz
Version 1.2.0
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD21
2 files changed, 20 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 79ee7896950..9bf90893292 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
pkgbase = python-simpleitk
- pkgdesc = Simplified layer built on top of ITK
- pkgver = 1.1.0
+ pkgdesc = A simplified layer built on top of ITK
+ pkgver = 1.2.0
pkgrel = 2
url = https://simpleitk.org/
arch = x86_64
license = apache
- makedepends = python-pip
+ makedepends = cmake
+ makedepends = git
+ makedepends = python-scikit-build
+ makedepends = python-setuptools
depends = python
conflicts = simpleitk
- options = !strip
- source = https://files.pythonhosted.org/packages/cp37/S/SimpleITK/SimpleITK-1.1.0-cp37-cp37m-manylinux1_x86_64.whl
- sha256sums = 028414d57623c87071f8033a307812acf882f18bc0cbcbe0d16b7684d0c99950
+ source = https://files.pythonhosted.org/packages/source/S/SimpleITK/SimpleITK-1.2.0.tar.gz
+ sha256sums = 2022769692ed384713f86942bbcdba95912cf310266a70a43771818d4f26254a
pkgname = python-simpleitk
diff --git a/PKGBUILD b/PKGBUILD
index 4241c938a9a..26f0c954531 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,26 @@
# Maintainer of this PKBGUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=SimpleITK
-_py=cp37
pkgname=python-simpleitk
-pkgver=1.1.0
+pkgver=1.2.0
pkgrel=2
-pkgdesc='Simplified layer built on top of ITK'
+pkgdesc='A simplified layer built on top of ITK'
arch=('x86_64')
url='https://simpleitk.org/'
license=('apache')
depends=('python')
conflicts=('simpleitk')
-makedepends=('python-pip')
-options=('!strip')
+makedepends=(
+ 'cmake'
+ 'git'
+ 'python-scikit-build'
+ 'python-setuptools'
+)
optdepends=()
-source=("https://files.pythonhosted.org/packages/$_py/${_name::1}/$_name/${_name/-/_}-$pkgver-$_py-${_py}m-manylinux1_x86_64.whl")
-sha256sums=('028414d57623c87071f8033a307812acf882f18bc0cbcbe0d16b7684d0c99950')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('2022769692ed384713f86942bbcdba95912cf310266a70a43771818d4f26254a')
package() {
- PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl
- python -O -m compileall "${pkgdir}/usr/lib/python3.6/site-packages/SimpleITK"
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py install --optimize=1 --root="$pkgdir"
}