Package Details: pyside2-git 5.15.3-1

Git Clone URL: https://aur.archlinux.org/pyside2-git.git (read-only, click to copy)
Package Base: pyside2-git
Description: Enables the use of Qt5 APIs in Python applications (git version)
Upstream URL: https://www.qt.io
Licenses: LGPL
Conflicts: pyside2, python-pyside2
Provides: pyside2, python-pyside2
Submitter: drhooves
Maintainer: Cebtenzzre
Last Packager: Cebtenzzre
Votes: 2
Popularity: 0.000000
First Submitted: 2017-03-03 08:15 (UTC)
Last Updated: 2023-05-18 04:47 (UTC)

Required by (63)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

Cebtenzzre commented on 2023-05-18 16:24 (UTC) (edited on 2023-05-18 16:25 (UTC) by Cebtenzzre)

From IRC:

<cebtenzzre> Is there a git repository for pyside 5.15.9? https://code.qt.io/pyside/pyside-setup.git only has 5.15.3 and it's not even on a branch, just a tagged commit

<pysidebot_> [telegram] <cmaureir> cebtenzzre: not really, the main problem is that the process of pushing the openly available LTS releases is not so straightforward. The person working on the infrastructure did some pushes for 6.2.x IIRC to test them out. The plan was to do the same for the old 5.15.x releases, but it was not a high priority task due to the availability of the code in https://download.qt.io/official_releases/QtForPython/pyside

Cebtenzzre commented on 2023-05-18 04:51 (UTC)

The upstream git repo stopped getting updates, so there's not much I can do. It's out of sync with the tarballs, so I recommend the Arch pyside2 package unless you're trying to build from a particular commit. For now, I've updated the package to target python 3.9, which is officially supported by pyside 5.15.3.

t_ahmad commented on 2023-05-17 09:34 (UTC)

I've encountered error when compiling:

[  1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysidesignal.cpp.o
In file included from /usr/include/python3.11/Python.h:44,
                 from /usr/include/shiboken2/sbkpython.h:93,
                 from /home/xooey/.cache/yay/pyside2-git/src/pyside2-git/sources/pyside2/libpyside/pysidesignal.cpp:40:
/home/xooey/.cache/yay/pyside2-git/src/pyside2-git/sources/pyside2/libpyside/pysidesignal.cpp: In function ‘PyTypeObject* PySideSignalTypeF()’:
/home/xooey/.cache/yay/pyside2-git/src/pyside2-git/sources/pyside2/libpyside/pysidesignal.cpp:165:9: error: lvalue required as left operand of assignment
  165 |         Py_TYPE(type) = PySideMetaSignalTypeF();
      |         ^~~~~~~

mmanjos commented on 2022-06-25 18:39 (UTC)

It looks like the upstream git repo has changed where the source code is located, causing this PKGBUILD to fail:

  -> Creating working copy of pyside2-git git repo...
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error: The source directory "/tmp/pyside2-git/src/pyside2-git/sources/pyside2" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
==> ERROR: A failure occurred in build().
    Aborting...

This is what the sources directory looks like now:

$ ls src/pyside2-git/sources/
Creating  patchelf  pyside6  pyside-tools  Removing  shiboken6

dviktor commented on 2020-07-30 07:57 (UTC)

@C0rn3j as I can see all errors are related to the missing Qt6 modules - there are still no necessary Qt6 packages to install with the exception of qt6-base-git

C0rn3j commented on 2020-07-29 19:13 (UTC)

Same issue, installing qt6-base-git solved that problem, but I got another one, maybe there's another qt6 thing am missing?

https://haste.rys.pw/raw/iraqepukot

dviktor commented on 2020-07-06 16:17 (UTC) (edited on 2020-07-30 07:50 (UTC) by dviktor)

@quantum it looks like qt6-base-git should resolve issue (at least qt5-base package have Qt5Config.cmake file). try to install it first and tell us the results

quantum commented on 2020-07-06 16:13 (UTC) (edited on 2020-07-06 16:15 (UTC) by quantum)

@dviktor: Here's the output from trying to build the package.

==> Making package: pyside2-git r7069.6a116c64-1 (Mon 06 Jul 2020 17:07:38 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating pyside2-git git repo...
Fetching origin
==> Validating source files with sha256sums...
    pyside2-git ... Skipped
==> Extracting sources...
  -> Creating working copy of pyside2-git git repo...
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Shiboken2Config: Using default python: .cpython-38-x86_64-linux-gnu
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.8'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
-- libshiboken built for Release
CMake Error at CMakeLists.txt:82 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt6" (requested
  version 5.12) with any of the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/gautam/packages/pyside2-git/src/pyside2-git/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...

I've put the CMakeOutput.log here, but it doesn't seem to show any evidence of the error.

dviktor commented on 2020-07-06 14:20 (UTC)

@quantum Currently there are no Qt6 build available. The only package that I see is qt6-base-git but I don't know exactly if it provides necessary CMake script. Could you please provide more detailed output?

quantum commented on 2020-07-04 19:40 (UTC)

Could qt6 be added as a dependency? The package refuses to build without FindQt6.cmake being present in the path.