[arch-commits] Commit in pyside6/repos/staging-x86_64 (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Dec 3 21:37:00 UTC 2021
Date: Friday, December 3, 2021 @ 21:37:00
Author: arojas
Revision: 430651
archrelease: copy trunk to staging-x86_64
Added:
pyside6/repos/staging-x86_64/PKGBUILD
(from rev 430650, pyside6/trunk/PKGBUILD)
pyside6/repos/staging-x86_64/designer-plugin-install-dir.patch
(from rev 430650, pyside6/trunk/designer-plugin-install-dir.patch)
Deleted:
pyside6/repos/staging-x86_64/PKGBUILD
pyside6/repos/staging-x86_64/designer-plugin-install-dir.patch
-----------------------------------+
PKGBUILD | 115 ++++++++++++++++++------------------
designer-plugin-install-dir.patch | 20 +++---
2 files changed, 68 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-03 21:36:50 UTC (rev 430650)
+++ PKGBUILD 2021-12-03 21:37:00 UTC (rev 430651)
@@ -1,57 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=pyside6
-_qtver=6.2.1
-pkgver=${_qtver/-/}
-pkgrel=3
-arch=(x86_64)
-url='https://www.qt.io'
-license=(LGPL)
-pkgdesc='Enables the use of Qt6 APIs in Python applications'
-depends=(shiboken6 qt6-declarative)
-makedepends=(cmake ninja python-setuptools vulkan-headers python-numpy
- qt6-tools qt6-svg qt6-3d qt6-scxml qt6-datavis3d qt6-charts qt6-multimedia
- qt6-location qt6-networkauth qt6-remoteobjects qt6-sensors qt6-serialport qt6-connectivity
- qt6-webchannel qt6-webengine qt6-websockets)
-optdepends=('qt6-tools: QtHelp, QtUiTools bindings'
- 'qt6-svg: QtSvg bindings'
- 'qt6-3d: Qt3D bindings'
- 'qt6-scxml: QtScxml bindings'
- 'qt6-datavis3d: QtDataVisualization bindings'
- 'qt6-charts: QtCharts bindings'
- 'qt6-multimedia: QtMultimedia bindings'
- 'qt6-serialport: QtSerialPort bindings'
- 'qt6-webengine: QtWebEngine bindings'
- 'qt6-remoteobjects: QtRemoteObjects bindings'
- 'qt6-sensors: QtSensors bindings'
- 'qt6-websockets: QtWebSockets bindings'
- 'qt6-networkauth: QtNetworkAuth bindings')
-_pkgfn=pyside-setup-opensource-src-$_qtver
-source=(https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfn}.tar.xz
- designer-plugin-install-dir.patch)
-sha256sums=('e0df6f42ed92e039d44ae9bf7d23cc4ee2fc4722c87adddbeafc6376074c4cd4'
- '66e895e07d5b01c64a94092353854c946fd7fc445b6181068dca290b5a3887e0')
-
-prepare() {
- patch -d $_pkgfn -p1 < designer-plugin-install-dir.patch # Fix designer plugin install dir
-}
-
-build() {
- cmake -B build -S $_pkgfn/sources/pyside6 -G Ninja \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_TESTS=OFF \
- -DPYTHON_EXECUTABLE=/usr/bin/python
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-
-# Install egg-info
- export PATH="/usr/lib/qt6/bin:$PATH"
- cd $_pkgfn
- python setup.py egg_info --build-type=pyside6
- _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
- cp -r PySide6.egg-info "$pkgdir"/$_pythonpath
-}
Copied: pyside6/repos/staging-x86_64/PKGBUILD (from rev 430650, pyside6/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-03 21:37:00 UTC (rev 430651)
@@ -0,0 +1,58 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pyside6
+_qtver=6.2.2
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=(x86_64)
+url='https://www.qt.io'
+license=(LGPL)
+pkgdesc='Enables the use of Qt6 APIs in Python applications'
+depends=(shiboken6 qt6-declarative)
+makedepends=(cmake ninja python-setuptools vulkan-headers python-numpy
+ qt6-tools qt6-svg qt6-3d qt6-scxml qt6-datavis3d qt6-charts qt6-multimedia qt6-quick3d
+ qt6-positioning qt6-networkauth qt6-remoteobjects qt6-sensors qt6-serialport qt6-connectivity
+ qt6-webchannel qt6-webengine qt6-websockets qt6-shadertools)
+optdepends=('qt6-tools: QtHelp, QtUiTools bindings'
+ 'qt6-svg: QtSvg bindings'
+ 'qt6-3d: Qt3D bindings'
+ 'qt6-quick3d: QtQuick3D bindings'
+ 'qt6-scxml: QtScxml bindings'
+ 'qt6-datavis3d: QtDataVisualization bindings'
+ 'qt6-charts: QtCharts bindings'
+ 'qt6-multimedia: QtMultimedia bindings'
+ 'qt6-serialport: QtSerialPort bindings'
+ 'qt6-webengine: QtWebEngine bindings'
+ 'qt6-remoteobjects: QtRemoteObjects bindings'
+ 'qt6-sensors: QtSensors bindings'
+ 'qt6-websockets: QtWebSockets bindings'
+ 'qt6-networkauth: QtNetworkAuth bindings')
+_pkgfn=pyside-setup-opensource-src-$_qtver
+source=(https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfn}.tar.xz
+ designer-plugin-install-dir.patch)
+sha256sums=('70a74c7c7c9e5af46cae5b1943bc39a1399c4332b342d2c48103a1cfe99891a8'
+ '66e895e07d5b01c64a94092353854c946fd7fc445b6181068dca290b5a3887e0')
+
+prepare() {
+ patch -d $_pkgfn -p1 < designer-plugin-install-dir.patch # Fix designer plugin install dir
+}
+
+build() {
+ cmake -B build -S $_pkgfn/sources/pyside6 -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/python
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+# Install egg-info
+ export PATH="/usr/lib/qt6/bin:$PATH"
+ cd $_pkgfn
+ python setup.py egg_info --build-type=pyside6
+ _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+ cp -r PySide6.egg-info "$pkgdir"/$_pythonpath
+}
Deleted: designer-plugin-install-dir.patch
===================================================================
--- designer-plugin-install-dir.patch 2021-12-03 21:36:50 UTC (rev 430650)
+++ designer-plugin-install-dir.patch 2021-12-03 21:37:00 UTC (rev 430651)
@@ -1,10 +0,0 @@
-diff --git a/sources/pyside6/plugins/designer/CMakeLists.txt b/sources/pyside6/plugins/designer/CMakeLists.txt
-index 50074be51..5d6064606 100644
---- a/sources/pyside6/plugins/designer/CMakeLists.txt
-+++ b/sources/pyside6/plugins/designer/CMakeLists.txt
-@@ -53,4 +53,4 @@ target_link_libraries(PySidePlugin PRIVATE
- Qt::Widgets
- ${SHIBOKEN_PYTHON_LIBRARIES})
-
--install(TARGETS PySidePlugin LIBRARY DESTINATION "plugins/designer")
-+install(TARGETS PySidePlugin LIBRARY DESTINATION "lib/qt6/plugins/designer")
Copied: pyside6/repos/staging-x86_64/designer-plugin-install-dir.patch (from rev 430650, pyside6/trunk/designer-plugin-install-dir.patch)
===================================================================
--- designer-plugin-install-dir.patch (rev 0)
+++ designer-plugin-install-dir.patch 2021-12-03 21:37:00 UTC (rev 430651)
@@ -0,0 +1,10 @@
+diff --git a/sources/pyside6/plugins/designer/CMakeLists.txt b/sources/pyside6/plugins/designer/CMakeLists.txt
+index 50074be51..5d6064606 100644
+--- a/sources/pyside6/plugins/designer/CMakeLists.txt
++++ b/sources/pyside6/plugins/designer/CMakeLists.txt
+@@ -53,4 +53,4 @@ target_link_libraries(PySidePlugin PRIVATE
+ Qt::Widgets
+ ${SHIBOKEN_PYTHON_LIBRARIES})
+
+-install(TARGETS PySidePlugin LIBRARY DESTINATION "plugins/designer")
++install(TARGETS PySidePlugin LIBRARY DESTINATION "lib/qt6/plugins/designer")
More information about the arch-commits
mailing list