From a191ee7a224be315f27e4f8b165e4d280dc28c80 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Thu, 11 Dec 2014 21:58:57 -0800 Subject: gis/Shapely: Prevent creation of unnecessary .pxi file in package. Signed-off-by: Benjamin Trigona-Harany --- gis/Shapely/Shapely.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gis') diff --git a/gis/Shapely/Shapely.SlackBuild b/gis/Shapely/Shapely.SlackBuild index 86ff49cd6f..82c0dc046d 100644 --- a/gis/Shapely/Shapely.SlackBuild +++ b/gis/Shapely/Shapely.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=Shapely VERSION=${VERSION:-1.5.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# remove unnecessary .pxi file +sed -i "s/data_files\s*=.*/data_files = []/g" setup.py + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ -- cgit v1.2.3