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

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Feb 7 23:19:21 UTC 2022


    Date: Monday, February 7, 2022 @ 23:19:20
  Author: foutrelis
Revision: 436438

archrelease: copy trunk to staging-x86_64

Added:
  shiboken6/repos/staging-x86_64/
  shiboken6/repos/staging-x86_64/PKGBUILD
    (from rev 436437, shiboken6/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: shiboken6/repos/staging-x86_64/PKGBUILD (from rev 436437, shiboken6/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-02-07 23:19:20 UTC (rev 436438)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=shiboken6
+_qtver=6.2.3
+_clangver=13.0.1
+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 ninja python-sphinx python-numpy)
+optdepends=('python: Python bindings')
+_pkgfn=pyside-setup-opensource-src-$_qtver
+source=(https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/$_pkgfn.tar.xz)
+sha256sums=('70d55e8fe977ffe094bba51119d16d37e0736df8693787110b127a2b4bd00003')
+options=(debug)
+
+build() {
+  cmake -B build -S $_pkgfn/sources/shiboken6 -G Ninja \
+    -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 $_pkgfn
+  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