Package Details: python2-pyqt4 4.12.3-6

Git Clone URL: https://aur.archlinux.org/pyqt4.git (read-only, click to copy)
Package Base: pyqt4
Description: A set of Python 2.x bindings for the Qt toolkit
Upstream URL: https://riverbankcomputing.com/software/pyqt/intro
Licenses: GPL
Conflicts: python2-pyqt
Provides: python2-pyqt
Replaces: python2-pyqt
Submitter: arojas
Maintainer: LaughingMan
Last Packager: LaughingMan
Votes: 20
Popularity: 0.000000
First Submitted: 2018-08-24 08:49 (UTC)
Last Updated: 2023-05-11 01:50 (UTC)

Dependencies (13)

Required by (5)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

LaughingMan commented on 2024-05-15 02:30 (UTC)

Package builds fine for me with Python 3.12. IIRC it did indeed not build around the time you posted, but now it does. An update to some dependency must have fixed it.

MarsSeed commented on 2024-04-30 10:38 (UTC) (edited on 2024-04-30 10:57 (UTC) by MarsSeed)

Also I think phonon-qt4 is safe to drop from make/opt depends, as none of the existing applications that use python2-pyqt4 seem to require multimedia playback capability via phonon.

MarsSeed commented on 2024-04-26 11:54 (UTC) (edited on 2024-04-30 09:22 (UTC) by MarsSeed)

The build of python-pyqt4 is broken on Python 3.12.

It is likely that they can be fixed, but actually you can safely drop the Python3 package of pyqt4. As all its reverse dependencies are already broken, EOL, unmaintained, and pending deletion.

LaughingMan commented on 2023-05-11 19:36 (UTC)

Urgh, thanks for pointing that out. No clue how any of this works or how to fix that, I'm not a Python dev. Tbh, I'm only interested in the Python 2 part of this package, so... patches welcome I guess?

FabioLolix commented on 2023-05-11 18:26 (UTC)

It is building now, thanks. I guess you have seen the warning

==> Starting build()...
/build/pyqt4/src/PyQt4_gpl_x11-4.12.3/configure-ng.py:22: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils import sysconfig
/build/pyqt4/src/PyQt4_gpl_x11-4.12.3/configure-ng.py:22: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
  from distutils import sysconfig

LaughingMan commented on 2023-05-11 01:52 (UTC)

@FabioLolix: Should be fixed.

FabioLolix commented on 2023-05-10 21:36 (UTC)

Fails to build, 1 error, all chain of pkgbuilds builded with devtools

../qpy/QtCore/qpycore_classinfo.cpp: In function ‘PyObject* qpycore_ClassInfo(const char*, const char*)’:
../qpy/QtCore/qpycore_classinfo.cpp:39:22: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
   39 |         frame = frame->f_back;
      |                      ^~
In file included from /usr/include/python3.11/Python.h:42,

LaughingMan commented on 2022-11-30 18:50 (UTC)

@dale6998: You already mentioned the same problem last year. My comments still apply.

dale6998 commented on 2022-11-30 17:59 (UTC)

this fails with:

Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 4.12.3 (licensed under the GNU General Public
License) for Python 3.10.8 on linux.
Found the license file pyqt-gpl.sip.
Traceback (most recent call last):
  File "/usr/bin/sip5", line 5, in <module>
    from sipbuild.legacy.sip5 import main
ModuleNotFoundError: No module named 'sipbuild'
Error: '/usr/bin/sip5 -V' did not generate any output.
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build python-pyqt4 - makepkg exited with code: 4

LaughingMan commented on 2022-03-04 20:55 (UTC)

Pushed an updated python2-opengl back online.