summaryrefslogtreecommitdiff
path: root/source/d/Cython
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-05-09 20:49:43 +0000
committerEric Hameleers <alien@slackware.com>2020-05-10 08:59:54 +0200
commit8c0924cc550c761da0289742cfed897ee6312d14 (patch)
treebc8f83ec0ad5773ace873a21222d19ac5a8b31e1 /source/d/Cython
parent04ebdce888955069ae2288597a2e50339eda3f4b (diff)
downloadcurrent-8c0924cc550c761da0289742cfed897ee6312d14.tar.gz
Sat May 9 20:49:43 UTC 202020200509204943
ap/pamixer-1.4-x86_64-5.txz: Rebuilt. Recompiled against boost-1.73.0. d/Cython-0.29.17-x86_64-2.txz: Rebuilt. Added cython3 symlink. kde/calligra-2.9.11-x86_64-35.txz: Rebuilt. Recompiled against boost-1.73.0. l/akonadi-1.13.0-x86_64-15.txz: Rebuilt. Recompiled against boost-1.73.0. l/boost-1.73.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/freetype-2.10.2-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_11-x86_64-1.txz: Upgraded. n/libqmi-1.24.12-x86_64-1.txz: Upgraded. xap/blueman-2.1.3-x86_64-1.txz: Upgraded. testing/packages/PAM/pam-krb5-4.9-x86_64-1_pam.txz: Added. Thanks to Bart van der Hall for the packaging hints.
Diffstat (limited to 'source/d/Cython')
-rwxr-xr-xsource/d/Cython/Cython.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/d/Cython/Cython.SlackBuild b/source/d/Cython/Cython.SlackBuild
index 54eae3ce..843f3ef1 100755
--- a/source/d/Cython/Cython.SlackBuild
+++ b/source/d/Cython/Cython.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=Cython
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -63,6 +63,11 @@ find -L . \
python3 setup.py install --root=$PKG --prefix=/usr || exit 1
+# Make cython3 symlink:
+if [ ! -x $PKG/usr/bin/cython3 ]; then
+ ( cd $PKG/usr/bin ; ln -sf cython cython3)
+fi
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true