diff options
author | oysstu | 2018-08-06 22:31:24 +0200 |
---|---|---|
committer | oysstu | 2018-08-06 22:31:24 +0200 |
commit | 929aa1173214b09799cdedffad843f873ee44a74 (patch) | |
tree | 585cd8cd42e05399fcda8ac0b4c2a37a0ce536ce | |
parent | 2fdc6761725b76366d4a8c4a8b13127a65b729d7 (diff) | |
download | aur-929aa1173214b09799cdedffad843f873ee44a74.tar.gz |
Force refresh of Cython pyx files for Python 3.7
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-gpy pkgdesc = Gaussian processes framework in python pkgver = 1.9.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/SheffieldML/GPy arch = any license = BSD @@ -3,7 +3,7 @@ pkgname=python-gpy pkgver=1.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="Gaussian processes framework in python" arch=("any") license=("BSD") @@ -14,6 +14,13 @@ makedepends=('python-setuptools' 'python-numpy') source=("https://github.com/SheffieldML/GPy/archive/v${pkgver}.tar.gz") sha512sums=("50dc3627a05b9fc2fbc61204cf492e89d5c067da7aca3e738c52cc3c06652aa825e27e66b0a14a2e67e074cd19a75ab564449a762f1de1ba27a02fc986432403") +prepare() { + cd "GPy-${pkgver}" + + # Forcibly update cython for python 3.7 + find . -name '*.pyx' -exec cython {} \; +} + build() { cd "GPy-${pkgver}" python setup.py build |