Date: Sunday, July 1, 2018 @ 18:54:25 Author: foutrelis Revision: 349422
Do not use old shipped copy of statgrab.c It is not compatible with Python 3.7. Modified: pystatgrab/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-07-01 18:45:17 UTC (rev 349421) +++ PKGBUILD 2018-07-01 18:54:25 UTC (rev 349422) @@ -10,11 +10,20 @@ url="http://www.i-scream.org/pystatgrab" license=('GPL') depends=('python' 'libstatgrab') +makedepends=('cython') validpgpkeys=('4BD95F908A5040E8D26CD6816C226B37FDF38D55') # Tim Bishop <[email protected]> source=(https://ftp.i-scream.org/pub/i-scream/$pkgname/$pkgname-$pkgver.tar.gz{,.asc}) sha256sums=('9e79919efdbeb45e28f26cb45d4f1a2861caa2937c5bf86be351c5c096b6550f' 'SKIP') +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + + # Remove shipped copy of statgrab.c so it is regenerated with + # newer Cython (>= 0.27.3) that is compatible with Python 3.7 + rm statgrab.c +} + package() { cd "${srcdir}"/$pkgname-$pkgver
