[arch-commits] Commit in pyside6/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Feb 22 21:43:25 UTC 2021
Date: Monday, February 22, 2021 @ 21:43:25
Author: arojas
Revision: 408604
Add egg-info (FS#69736)
Modified:
pyside6/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-22 21:26:00 UTC (rev 408603)
+++ PKGBUILD 2021-02-22 21:43:25 UTC (rev 408604)
@@ -4,13 +4,13 @@
pkgname=pyside6
_qtver=6.0.1
pkgver=${_qtver/-/}
-pkgrel=1
+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 python qt6-tools qt6-quickcontrols2 qt6-svg qt6-3d)
+makedepends=(cmake python-setuptools qt6-tools qt6-quickcontrols2 qt6-svg qt6-3d)
optdepends=('qt6-tools: QtHelp, QtUiTools bindings' 'qt6-quickcontrols2: QtQuickControls2 bindings' 'qt6-svg: QtSvg bindings' 'qt6-3d: Qt3D bindings')
_pkgfn=pyside-setup-opensource-src-$_qtver
source=("https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfn}.tar.xz")
@@ -26,4 +26,11 @@
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
}
More information about the arch-commits
mailing list