UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

python3-pyside6

Python bindings for the Qt cross-platform application and UI framework

Package info

Codename: python3-pyside6
Source file: pyside-setup-everywhere-src-6.7.3.tar.xz
Source directory: pyside-setup-everywhere-src-6.7.3
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/python-modules/pyside-setup-everywhere-src-6.7.3.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/python-modules/pyside-setup-everywhere-src-6.7.3.tar.xz.md5sum
Dependances: qt6.
Dependance of: OpenUSD.
Patches: pyside6-fix-build.patch.
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
#mkdir -v build &&
#cd       build &&

cmake -B build -G Ninja \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DPYTHON_EXECUTABLE:STRING=python3 \
      -DCMAKE_BUILD_TYPE=None \
      -DSHIBOKEN_PYTHON_LIBRARIES=`pkgconf python3-embed --libs` \
      -DFORCE_LIMITED_API=no \
      -DNO_QT_TOOLS=yes \
      -DBUILD_TESTS=OFF \
      PYTHONPATH="$PWD"/build/sources

Build script:
#cd       build &&
cmake --build build

Install script:
#cd       build &&


 cmake --install build/sources/shiboken6

#cd ..

  python3 setup.py egg_info --build-type=shiboken6
  python3 setup.py egg_info --build-type=shiboken6-generator
  PDIR=`python3 -c "from sysconfig import get_path; print(get_path('platlib'))"`
  cp -r shiboken6*.egg-info \$PDIR


 #cd       build &&
 cmake --install build/sources/pyside6

#cd ..

python3 setup.py egg_info --build-type=pyside6
PDIR=`python3 -c "from sysconfig import get_path; print(get_path('platlib'))"`
cp -rv PySide6.egg-info \$PDIR
install -v -Dm644 build/sources/pyside6/PySide6/*.pyi -t /usr/lib/python*/site-packages/PySide6

#cd       build &&

cmake --install build/sources/pyside-tools

#cd ..

echo "export LD_PRELOAD=`python3 -c "from sysconfig import get_config_var; print(get_config_var('LDLIBRARY'))"`" > pyside6-designer
echo "exec /opt/qt6/bin/designer \\$@" >> pyside6-designer
install -v -Dm755 pyside6-designer -t /usr/bin