diff options
-rw-r--r-- | libraries/wxPython4/wxPython4.SlackBuild | 26 | ||||
-rw-r--r-- | libraries/wxPython4/wxPython4.info | 8 |
2 files changed, 13 insertions, 21 deletions
diff --git a/libraries/wxPython4/wxPython4.SlackBuild b/libraries/wxPython4/wxPython4.SlackBuild index ec5029b880..726da30e3e 100644 --- a/libraries/wxPython4/wxPython4.SlackBuild +++ b/libraries/wxPython4/wxPython4.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wxPython4 -# Copyright 2018-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2018-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wxPython4 SRCNAM=wxPython -VERSION=${VERSION:-4.2.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.2.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,20 +50,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -79,6 +65,12 @@ 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 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') + +if [ "$PYVER" == "3.9" ]; then + export PYTHONPATH=/opt/python$PYVER/site-packages +fi + python3 build.py build --use_syswx --release python3 build.py install --destdir="$PKG" diff --git a/libraries/wxPython4/wxPython4.info b/libraries/wxPython4/wxPython4.info index fa690ec87e..8cf853bb5f 100644 --- a/libraries/wxPython4/wxPython4.info +++ b/libraries/wxPython4/wxPython4.info @@ -1,10 +1,10 @@ PRGNAM="wxPython4" -VERSION="4.2.2" +VERSION="4.2.3" HOMEPAGE="https://wxPython.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/a4/f5/8c272764770f47fd419cc2eff4c4fa1c0681c71bcc2f3158b3a83d1339ff/wxPython-4.2.2.tar.gz" -MD5SUM="962fdea7ec4f93b59d17783d03eecf3a" +DOWNLOAD="https://files.pythonhosted.org/packages/4c/d9/4451392d3d6ba45aa23aa77a6f1a9970b43351b956bf61e10fd513a1dc38/wxPython-4.2.3.tar.gz" +MD5SUM="d9b4c75202bb5d7d15a104c48b234807" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="wxWidgets python3-pathlib2 python3-attrdict" +REQUIRES="wxWidgets python3-pathlib2 python3-attrdict python3-typing-extensions python3-setuptools-opt" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |