Date: Wednesday, November 20, 2019 @ 09:17:17 Author: arojas Revision: 530725
Allow non-int conversion to Py_hash_t, needed by sagemath Modified: cython/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-20 09:03:18 UTC (rev 530724) +++ PKGBUILD 2019-11-20 09:17:17 UTC (rev 530725) @@ -5,18 +5,23 @@ pkgname=(cython cython2) pkgbase=cython pkgver=0.29.14 -pkgrel=3 +pkgrel=4 pkgdesc="C-Extensions for Python" arch=(x86_64) url="https://cython.org" license=(APACHE) makedepends=(python-setuptools python2-setuptools) -source=($pkgbase-$pkgver.tar.gz::"https://github.com/cython/cython/archive/$pkgver.tar.gz") -sha256sums=('6a3370fda27c020c172805c6257f222624bdd5f73653bb93f4af4e9f282d17f7') +source=($pkgbase-$pkgver.tar.gz::"https://github.com/cython/cython/archive/$pkgver.tar.gz" + cython-hash-int-conversion.patch::"https://github.com/cython/cython/commit/28251032.patch") +sha256sums=('6a3370fda27c020c172805c6257f222624bdd5f73653bb93f4af4e9f282d17f7' + '28b2b065a9853e86d0bc09287e8a21f50ebc1f3cfee3b2ab03b6b917cb9e81d8') prepare() { cp -r cython-$pkgver cython2-$pkgver find cython2-$pkgver -name '*.py' | xargs sed -e 's|/usr/bin/env python|/usr/bin/env python2|' -e 's|/usr/bin/python|/usr/bin/python2|' -i + + cd cython-$pkgver + patch -p1 -i ../cython-hash-int-conversion.patch # Allow non-int conversion to Py_hash_t, needed by sagemath } build() {
