aboutsummaryrefslogtreecommitdiff
path: root/libraries/wxPython4
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-08 09:46:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-11 11:48:42 +0700
commit4a5fc704f8803795754f2ba9670fbe4ed690ed6f (patch)
tree842aa6921a9d6cb3af32fbfce661602a9e3f396e /libraries/wxPython4
parent91e73e5d3c3b4803d5cedb90d7e30e5360544141 (diff)
libraries/wxPython4: Update build method.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/wxPython4')
-rw-r--r--libraries/wxPython4/wxPython4.SlackBuild5
-rw-r--r--libraries/wxPython4/wxPython4.info2
2 files changed, 4 insertions, 3 deletions
diff --git a/libraries/wxPython4/wxPython4.SlackBuild b/libraries/wxPython4/wxPython4.SlackBuild
index e4a30b6578..ec5029b880 100644
--- a/libraries/wxPython4/wxPython4.SlackBuild
+++ b/libraries/wxPython4/wxPython4.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wxPython4
SRCNAM=wxPython
VERSION=${VERSION:-4.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +79,8 @@ 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 {} \+
-python3 setup.py install --root=$PKG
+python3 build.py build --use_syswx --release
+python3 build.py install --destdir="$PKG"
mkdir -p $PKG/usr/share/{applications,pixmaps} $PKG/usr/share/icons/hicolor/{16x16,32x32}/apps
install -m 644 wx/py/PyCrust_16.png $PKG/usr/share/icons/hicolor/16x16/apps/PyCrust.png
diff --git a/libraries/wxPython4/wxPython4.info b/libraries/wxPython4/wxPython4.info
index 0d7c33292b..fa690ec87e 100644
--- a/libraries/wxPython4/wxPython4.info
+++ b/libraries/wxPython4/wxPython4.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/a4/f5/8c272764770f47fd419cc2ef
MD5SUM="962fdea7ec4f93b59d17783d03eecf3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="webkit2gtk4.1 python3-pathlib2 python3-attrdict"
+REQUIRES="wxWidgets python3-pathlib2 python3-attrdict"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"