Changeset View
Changeset View
Standalone View
Standalone View
package.yml
- This file was added.
| name : python-pyside2 | |||||
| version : 5.15.2 | |||||
| release : 1 | |||||
| source : | |||||
| - https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.2-src/pyside-setup-opensource-src-5.15.2.tar.xz : b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418 | |||||
| license : | |||||
| - GPL-2.0-or-later | |||||
| - LGPL-3.0-or-later | |||||
| component : programming.python | |||||
| summary : Python bindings for the Qt cross-platform application and UI framework | |||||
| description: | | |||||
| PySide2 is the official Python module from the Qt for Python project, which provides access to the complete Qt5 framework | |||||
| clang : yes | |||||
| builddeps : | |||||
| - pkgconfig(Qt53DCore) | |||||
| - pkgconfig(Qt5Charts) | |||||
| - pkgconfig(Qt5DataVisualization) | |||||
| - pkgconfig(Qt5Multimedia) | |||||
| - pkgconfig(Qt5QuickControls2) | |||||
| - pkgconfig(Qt5RemoteObjects) | |||||
| - pkgconfig(Qt5Script) | |||||
| - pkgconfig(Qt5Scxml) | |||||
| - pkgconfig(Qt5Sensors) | |||||
| - pkgconfig(Qt5SerialPort) | |||||
| - pkgconfig(Qt5Svg) | |||||
| - pkgconfig(Qt5TextToSpeech) | |||||
| - pkgconfig(Qt5UiTools) | |||||
| - pkgconfig(Qt5WebEngine) | |||||
| - pkgconfig(Qt5WebSockets) | |||||
| - pkgconfig(Qt5X11Extras) | |||||
| - pkgconfig(Qt5XmlPatterns) | |||||
| - pkgconfig(python3) | |||||
| - pkgconfig(libxslt) | |||||
| - pkgconfig(shiboken2) | |||||
| - pkgconfig(xcb) | |||||
| - llvm-clang-devel | |||||
| - numpy | |||||
| - python-six | |||||
| setup : | | |||||
| mkdir qinclude | |||||
| cp -R /usr/include/Qt* qinclude | |||||
| cd sources/pyside2 | |||||
| sed -i 's|--include-paths=|--include-paths=%workdir%/qinclude:|' cmake/Macros/PySideModules.cmake | |||||
| %cmake_ninja -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3 | |||||
| build : | | |||||
| cd sources/pyside2 | |||||
| %ninja_build | |||||
| install : | | |||||
| pushd sources/pyside2 | |||||
| %ninja_install | |||||
| popd | |||||
| python3 setup.py egg_info --build-type=pyside2 | |||||
| cp -r PySide2.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.