[arch-commits] Commit in pyqt6-3d (4 files)

Antonio Rojas arojas at archlinux.org
Thu Jan 7 14:41:09 UTC 2021


    Date: Thursday, January 7, 2021 @ 14:41:08
  Author: arojas
Revision: 405565

archrelease: copy trunk to extra-x86_64

Added:
  pyqt6-3d/repos/
  pyqt6-3d/repos/extra-x86_64/
  pyqt6-3d/repos/extra-x86_64/PKGBUILD
    (from rev 405564, pyqt6-3d/trunk/PKGBUILD)
  pyqt6-3d/repos/extra-x86_64/fix-build.patch
    (from rev 405564, pyqt6-3d/trunk/fix-build.patch)

-----------------+
 PKGBUILD        |   35 +++++++++++++++++++++++++++++++++++
 fix-build.patch |    9 +++++++++
 2 files changed, 44 insertions(+)

Copied: pyqt6-3d/repos/extra-x86_64/PKGBUILD (from rev 405564, pyqt6-3d/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD	                        (rev 0)
+++ repos/extra-x86_64/PKGBUILD	2021-01-07 14:41:08 UTC (rev 405565)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=pyqt6-3d
+pkgname=(python-pyqt6-3d)
+pkgver=6.0.0
+pkgrel=1
+pkgdesc="Python bindings for Qt3D"
+arch=(x86_64)
+url="https://www.riverbankcomputing.com/software/pyqt3d/intro"
+license=(GPL3)
+groups=(pyqt6)
+depends=(qt6-3d python-pyqt6)
+makedepends=(sip pyqt-builder)
+source=("https://pypi.python.org/packages/source/P/PyQt6-3D/PyQt6_3D-$pkgver.tar.gz"
+         fix-build.patch)
+sha256sums=('df00e17640a5bb209992e66a6913bd5acf5384d3be3e01b369ec3422aae4c6ac'
+            '7015a382361e27d209fbbb35b395c3fd8da82197a043b32cdc4d472af45aef40')
+
+prepare() {
+  patch -d PyQt6_3D-$pkgver -p1 -i ../fix-build.patch
+}
+
+build() {
+  cd PyQt6_3D-$pkgver
+  sip-build \
+    --no-make \
+    --qmake=/usr/bin/qmake-qt6
+  cd build
+  make
+}
+
+package_python-pyqt6-3d(){
+  cd PyQt6_3D-$pkgver/build
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: pyqt6-3d/repos/extra-x86_64/fix-build.patch (from rev 405564, pyqt6-3d/trunk/fix-build.patch)
===================================================================
--- repos/extra-x86_64/fix-build.patch	                        (rev 0)
+++ repos/extra-x86_64/fix-build.patch	2021-01-07 14:41:08 UTC (rev 405565)
@@ -0,0 +1,9 @@
+diff -ru PyQt6_3D-6.0.0-orig/pyproject.toml PyQt6_3D-6.0.0/pyproject.toml
+--- PyQt6_3D-6.0.0-orig/pyproject.toml	2021-01-04 16:06:02.151574000 +0100
++++ PyQt6_3D-6.0.0/pyproject.toml	2021-01-07 15:31:38.949774910 +0100
+@@ -41,4 +41,4 @@
+ qmake-QT = ["3danimation"]
+ 
+ [tool.sip.bindings.Qt3DExtras]
+-qmake-QT = ["3dextras"]
++qmake-QT = ["3dextras", "3dinput"]



More information about the arch-commits mailing list