[arch-commits] Commit in shiboken6/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Feb 22 21:26:00 UTC 2021


    Date: Monday, February 22, 2021 @ 21:26:00
  Author: arojas
Revision: 408603

archrelease: copy trunk to extra-x86_64

Added:
  shiboken6/repos/extra-x86_64/PKGBUILD
    (from rev 408602, shiboken6/trunk/PKGBUILD)
Deleted:
  shiboken6/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   65 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 36 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-22 21:25:49 UTC (rev 408602)
+++ PKGBUILD	2021-02-22 21:26:00 UTC (rev 408603)
@@ -1,29 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=shiboken6
-_qtver=6.0.1
-_clangver=11.1.0
-pkgver=${_qtver/-/}
-pkgrel=2
-arch=(x86_64)
-url='https://www.qt.io'
-license=(GPL2 LGPL)
-pkgdesc='Generates bindings for C++ libraries using CPython source code'
-depends=(clang=$_clangver llvm libxslt qt6-base)
-makedepends=(cmake python-sphinx)
-optdepends=('python: Python bindings')
-_pkgfqn=pyside-setup-opensource-src-$_qtver
-source=("https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfqn}.tar.xz")
-sha256sums=('baac59a71d5d8d28badd4b484b3722500a6616684f932f0652b33a5b5feaf365')
-
-build() {
-  cmake -B build -S ${_pkgfqn}/sources/shiboken6 \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_TESTS=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: shiboken6/repos/extra-x86_64/PKGBUILD (from rev 408602, shiboken6/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-22 21:26:00 UTC (rev 408603)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=shiboken6
+_qtver=6.0.1
+_clangver=11.1.0
+pkgver=${_qtver/-/}
+pkgrel=3
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL2 LGPL)
+pkgdesc='Generates bindings for C++ libraries using CPython source code'
+depends=(clang=$_clangver llvm libxslt qt6-base)
+makedepends=(cmake python-sphinx)
+optdepends=('python: Python bindings')
+_pkgfqn=pyside-setup-opensource-src-$_qtver
+source=("https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfqn}.tar.xz")
+sha256sums=('baac59a71d5d8d28badd4b484b3722500a6616684f932f0652b33a5b5feaf365')
+
+build() {
+  cmake -B build -S ${_pkgfqn}/sources/shiboken6 \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTS=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+# Install egg-info
+  export PATH="/usr/lib/qt6/bin:$PATH"
+  cd $_pkgfqn
+  python setup.py egg_info --build-type=shiboken6
+  _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+  cp -r shiboken6.egg-info "$pkgdir"/$_pythonpath
+}



More information about the arch-commits mailing list