[arch-commits] Commit in pyqtwebengine/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Jun 1 10:48:49 UTC 2020


    Date: Monday, June 1, 2020 @ 10:48:48
  Author: arojas
Revision: 388007

archrelease: copy trunk to testing-x86_64

Added:
  pyqtwebengine/repos/testing-x86_64/
  pyqtwebengine/repos/testing-x86_64/PKGBUILD
    (from rev 388006, pyqtwebengine/trunk/PKGBUILD)

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

Copied: pyqtwebengine/repos/testing-x86_64/PKGBUILD (from rev 388006, pyqtwebengine/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-06-01 10:48:48 UTC (rev 388007)
@@ -0,0 +1,50 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=pyqtwebengine
+pkgname=(python-pyqtwebengine python2-pyqtwebengine)
+pkgver=5.15.0
+pkgrel=1
+arch=(x86_64)
+url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
+license=(GPL)
+makedepends=(sip sip5 pyqt-builder qt5-webengine python-pyqt5 python2-pyqt5)
+conflicts=(pyqtwebengine-common)
+source=("https://pypi.python.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-$pkgver.tar.gz")
+sha256sums=('670812688e40bf75f70ddf01eadd897d231300318d3856b275bf8e7e0085bf75')
+
+prepare() {
+  cp -a PyQtWebEngine-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/PyQtWebEngine-$pkgver
+  sip-build \
+    --no-make \
+    --api-dir /usr/share/qt/qsci/api/python
+  cd build
+  make
+
+  cd "$srcdir"/PyQtWebEngine-$pkgver-py2
+  python2 configure.py \
+    --sip='/usr/bin/sip' \
+    --no-qsci-api
+  make
+}
+
+package_python-pyqtwebengine() {
+  pkgdesc="Python bindings for QtWebEngine"
+  groups=(pyqt5)
+  depends=(python-pyqt5 qt5-webengine)
+
+  cd PyQtWebEngine-$pkgver/build
+  make INSTALL_ROOT="$pkgdir" install -j1
+}
+
+package_python2-pyqtwebengine() {
+  pkgdesc="Python 2 bindings for QtWebEngine"
+  depends=(python2-pyqt5 qt5-webengine)
+
+  cd PyQtWebEngine-$pkgver-py2
+  make INSTALL_ROOT="$pkgdir" install -j1
+}



More information about the arch-commits mailing list