mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
python/pytables: Fix compilation with Cython-0.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f95d76e7f9
commit
0643223074
1 changed files with 5 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=pytables
|
||||
VERSION=${VERSION:-3.1.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -73,6 +73,10 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix compilation with Cython 0.21
|
||||
# https://github.com/PyTables/PyTables/issues/386
|
||||
sed -i "s|Cython.Compiler.Main import|Cython.Compiler import|g" setup.py
|
||||
|
||||
python setup.py build install --prefix=/usr --root=$PKG
|
||||
|
||||
# Copy examples, contrib, and bench files
|
||||
|
|
Loading…
Reference in a new issue