[arch-commits] Commit in pyside2/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Feb 22 21:11:40 UTC 2021


    Date: Monday, February 22, 2021 @ 21:11:39
  Author: arojas
Revision: 408600

Add egg-info (FS#69736)

Modified:
  pyside2/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-22 20:56:52 UTC (rev 408599)
+++ PKGBUILD	2021-02-22 21:11:39 UTC (rev 408600)
@@ -4,13 +4,13 @@
 pkgname=pyside2
 _qtver=5.15.2
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
 pkgdesc='Enables the use of Qt5 APIs in Python applications'
 depends=(python-shiboken2 qt5-declarative)
-makedepends=(shiboken2 cmake
+makedepends=(shiboken2 cmake python-setuptools
              qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine qt5-datavis3d
              qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml qt5-x11extras
              qt5-quickcontrols2 qt5-serialport qt5-remoteobjects)
@@ -47,4 +47,10 @@
 
 package() {
   DESTDIR="$pkgdir" cmake --install build
+
+# Install egg-info
+  cd $_pkgfqn
+  python setup.py egg_info --build-type=pyside2
+  _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+  cp -r PySide2.egg-info "$pkgdir"/$_pythonpath
 }



More information about the arch-commits mailing list