summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-09-27 21:47:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-09-27 21:47:27 (GMT)
commitef8e4d21086ac4c1737231dcd8373e10e8bf446e (patch)
treeddbba7cd1a1d5a6a4673f78ba5f12c582c0ab77a /abs/core
parentfc92229e57eb2c03e6de5a22efe33b5212c7bc9b (diff)
downloadlinhes_pkgbuild-ef8e4d21086ac4c1737231dcd8373e10e8bf446e.zip
linhes_pkgbuild-ef8e4d21086ac4c1737231dcd8373e10e8bf446e.tar.gz
linhes_pkgbuild-ef8e4d21086ac4c1737231dcd8373e10e8bf446e.tar.bz2
cython: update to 0.29.21
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/cython/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/core/python_modules/cython/PKGBUILD b/abs/core/python_modules/cython/PKGBUILD
index 6826749..6383f1c 100644
--- a/abs/core/python_modules/cython/PKGBUILD
+++ b/abs/core/python_modules/cython/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id$
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Igor Scabini <furester @ gmail.com>
pkgname=(cython cython2)
pkgbase=cython
-pkgver=0.27.3
-pkgrel=3
+pkgver=0.29.21
+pkgrel=1
pkgdesc="C-Extensions for Python"
arch=(x86_64)
-url="http://cython.org"
+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=('648feb8a257574a3e4ef854475e7d767732ef26e870d2f9fcc1ca5b244b3ac89')
+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=('e2e38e1f0572ca54d6085df3dec8b607d20e81515fb80215aed19c81e8fe2079'
+ '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() {
@@ -29,7 +33,7 @@ build() {
}
package_cython() {
- depends=(python python-setuptools)
+ depends=(python-setuptools)
cd cython-$pkgver
python setup.py install --root="$pkgdir" --skip-build
@@ -41,7 +45,7 @@ package_cython() {
}
package_cython2() {
- depends=(python2 python2-setuptools)
+ depends=(python2-setuptools)
cd cython2-$pkgver
python2 setup.py install --root="$pkgdir" --skip-build