Package Details: python-wxpython-git 4.2.1.r25.g83db65a2-1

Git Clone URL: https://aur.archlinux.org/python-wxpython-git.git (read-only, click to copy)
Package Base: python-wxpython-git
Description: Python 3 implementation of the WxPython UI library
Upstream URL: https://github.com/wxWidgets/Phoenix
Licenses: custom:wxWindows
Conflicts: python-wxpython, wxpython-phoenix-git
Provides: python-wxpython
Replaces: wxpython-phoenix-git
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 6
Popularity: 0.000000
First Submitted: 2023-08-13 14:55 (UTC)
Last Updated: 2023-08-13 14:55 (UTC)

Required by (104)

Sources (3)

Latest Comments

« First ‹ Previous 1 2

qft commented on 2017-07-22 16:47 (UTC)

Thank you very much! Also 'wxgtk' does not need to be a dependency because the latest wxgtk is included in this package already. If you do `pacman -Ql wxpython-phoenix-git` you will see all the so files of wxgtk is installed to /usr/lib/python3.6/site-packages/wx/.

ase1590 commented on 2017-07-22 15:40 (UTC)

@qft, thanks! haven't had time to look at the new build options for gtk3 lately. Will update the pkgbuild with the changes you made.

qft commented on 2017-07-20 00:59 (UTC)

This PKGBUILD addresses the problems I mentioned in the previous comment: # Maintainer: Allen M. <ase1590@hotmail.com> pkgname=wxpython-phoenix-git pkgver=r3189.g3bd62d15 pkgrel=1 pkgdesc="Python 3 implementation of the WxPython UI library" arch=('x86_64' 'i686') url="https://github.com/wxWidgets/Phoenix" license=('custom:wxWindows') depends=('python') makedepends=('mesa' 'glu' 'git' 'libpng' 'libjpeg-turbo' 'libtiff' 'sdl' 'gst-plugins-base' 'libnotify' 'freeglut' 'gtk3' 'webkit2gtk') source=("$pkgname::git+${url}" "git+https://github.com/wxWidgets/wxWidgets.git") md5sums=('SKIP' 'SKIP') provides=('wxpython-phoenix') conflicts=('wxpython-phoenix-bin') pkgver() { cd "$srcdir/$pkgname" printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare(){ cd "$srcdir/$pkgname" git submodule init git config submodule.ext/wxWidgets.url "$srcdir/wxWidgets" git submodule update } build(){ cd "$srcdir/$pkgname" python build.py dox etg --nodoc sip build --gtk3 } package(){ cd "$srcdir/$pkgname" python setup.py install --skip-build --root="$pkgdir/" cd "$pkgdir/usr/bin/" for file in * do mv "$file" "${file%}-phoenix" done cd "$srcdir/$pkgname/ext/wxWidgets/docs" install -D -m644 licence.txt $pkgdir/usr/share/licenses/wxpython-phoenix/license.txt }

qft commented on 2017-07-20 00:58 (UTC)

webkitgtk2 is not really required. As you may know webkitgtk2 is officially deprecated 3 years ago (https://trac.webkit.org/wiki/WebKitGTK/WebKit2Roadmap) and dropped from official Arch Linux repo. wxpython-phoenix can be built on top of webkit2gtk and gtk3, and this is going to be the default behavior in the near future (https://github.com/wxWidgets/Phoenix/issues/431). Also wxgtk does not need to be a dependency, because wxWidgets is built at the same time as wxpython.

ase1590 commented on 2017-02-18 20:15 (UTC) (edited on 2017-02-18 23:48 (UTC) by ase1590)

@berbigou Since the package clones the WxWidgets git repo, the size of this will be close to 600mb before compile time. WxWidgets generates about a dozen precompiled header files that are 100-200mb in size during build time in addition to the many other compiled wxWidgets items. So yes, the 3 Gb size is to be expected. WxWidgets is a rather large library to compile.

berbigou commented on 2017-02-18 19:09 (UTC)

Is it normal to have to use 3 Gb in src folder for a 62 Mb package ? I had to bind my tmp/...yaourt... folder to a disk not to fulfill my /tmp in memory...

ase1590 commented on 2017-01-08 07:48 (UTC) (edited on 2018-08-09 18:57 (UTC) by ase1590)

Keep in mind when using this package, I have renamed anything installed into /usr/bin (such as img2py, img2png etc.) to img2py-phoenix, img2png-phoenix etc. in order for it to coexist with wxpython. Also, you'll need at least 5 GB of space to compile this project. building it using a aur helper that uses tmpfs ramdisk is not advised.

Drop a comment here if you have issues. I may optionally e-mail you to resolve any complex problems.

Wxpython-phoenix 4.0.1-1 is now in the arch community repo under the name 'python-wxpython' with full python 3 support. the python2 package 'python2-wxpython3' is also optionally available.

Maintainer requests are welcome.

Notice: this package is very large to compile (>4GB) and will easily overload your memory if you try to build it with the default settings of yaourt. make sure you have at least 6 GB free on your hard drive, then try compiling with "makepkg" instead of using an aur helper.