summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartino Pilia2018-04-24 13:02:57 +0200
committerMartino Pilia2018-04-24 13:02:57 +0200
commitfdb09c212bab80a7ba12e2f5a03a22b81b94d825 (patch)
tree5783ed8f557e14b6579d91a33fcf7b72adef4634
parenta71c0d4846a29f4399db551e02000801f869f21d (diff)
downloadaur-fdb09c212bab80a7ba12e2f5a03a22b81b94d825.tar.gz
compile to bytecode
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2255e82574d6..bf52511d59ee 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-itk
pkgdesc = ITK is an open-source toolkit for multidimensional image analysis
pkgver = 4.13.0
- pkgrel = 1
+ pkgrel = 2
url = https://itk.org/
arch = x86_64
license = apache
diff --git a/PKGBUILD b/PKGBUILD
index d3773e106438..144a4abcfd41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ _components='itk itk-segmentation itk-io itk-registration itk-core itk-numerics
_py=cp36
pkgname=python-itk
pkgver=4.13.0
-pkgrel=1
+pkgrel=2
pkgdesc='ITK is an open-source toolkit for multidimensional image analysis'
arch=('x86_64')
url='https://itk.org/'
@@ -35,5 +35,6 @@ package() {
# additional components to be wrapped in the CMake config.
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/itk"
}