Changeset View
Changeset View
Standalone View
Standalone View
package.yml
- This file was added.
| name : python-pyside6 | |||||
| version : 6.2.0 | |||||
| release : 1 | |||||
| source : | |||||
| - https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-6.2.0-src/pyside-setup-opensource-src-6.2.0.tar.xz : fed210b662129955332d2609a900b5b8643130134e4682371b26a9ba60740d01 | |||||
| license : | |||||
| - GPL-2.0-or-later | |||||
| - LGPL-3.0-or-later | |||||
| component : programming.python | |||||
| summary : Shiboken generates bindings for C++ libraries using CPython source code | |||||
| description: | | |||||
| PySide6 is the official Python module from the Qt for Python project, which provides access to the complete Qt6 framework. | |||||
| clang : yes | |||||
| builddeps : | |||||
| - pkgconfig(libxslt) | |||||
| - pkgconfig(shiboken6) | |||||
| - pkgconfig(xcb) | |||||
| - numpy | |||||
| - python-six | |||||
| - qt6-3d-devel | |||||
| - qt6-charts-devel | |||||
| - qt6-datavis3d-devel | |||||
| - qt6-multimedia-devel | |||||
| - qt6-networkauth-devel | |||||
| - qt6-remoteobjects-devel | |||||
| - qt6-scxml-devel | |||||
| - qt6-sensors-devel | |||||
| - qt6-webengine-devel | |||||
| setup : | | |||||
| %patch -p1 < $pkgfiles/designer-plugin-install-path.patch | |||||
| mkdir qinclude | |||||
| cp -R /usr/include/qt* qinclude | |||||
| cd sources/pyside6 | |||||
| sed -i 's|--include-paths=|--include-paths=%workdir%/qinclude:|' cmake/Macros/PySideModules.cmake | |||||
| %cmake_ninja \ | |||||
| -DBUILD_TESTS=OFF \ | |||||
| -DPYTHON_EXECUTABLE=/usr/bin/python3 \ | |||||
| -DNUMPY_INCLUDE_DIR=$(python3 -c "import site; print(site.getsitepackages()[0])")/numpy/core/include | |||||
| build : | | |||||
| cd sources/pyside6 | |||||
| %ninja_build | |||||
| install : | | |||||
| pushd sources/pyside6 | |||||
| %ninja_install | |||||
| popd | |||||
| export PATH=/usr/lib64/qt6/bin:$PATH | |||||
| python3 setup.py egg_info --build-type=pyside6 | |||||
| cp -r PySide6.egg-info $installdir/$(python3 -c "import site; print(site.getsitepackages()[0])") | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.