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

Antonio Rojas arojas at archlinux.org
Fri Dec 20 14:40:45 UTC 2019


    Date: Friday, December 20, 2019 @ 14:40:45
  Author: arojas
Revision: 371998

archrelease: copy trunk to testing-x86_64

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

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

Copied: pyqtwebengine/repos/testing-x86_64/PKGBUILD (from rev 371997, pyqtwebengine/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-12-20 14:40:45 UTC (rev 371998)
@@ -0,0 +1,47 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=pyqtwebengine
+pkgname=(python-pyqtwebengine python2-pyqtwebengine)
+pkgver=5.14.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)
+source=("https://pypi.python.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-$pkgver.tar.gz")
+sha256sums=('e11595051f8bfbfa49175d899b2c8c2eea3a3deac4141edf4db68c3555221c92')
+
+prepare() {
+  cp -a PyQtWebEngine-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/PyQtWebEngine-$pkgver
+  sip-build \
+    --no-make
+  cd build
+  make
+
+  cd "$srcdir"/PyQtWebEngine-$pkgver-py2
+  python2 configure.py \
+    --sip='/usr/bin/sip'
+  make
+}
+
+package_python-pyqtwebengine() {
+  pkgdesc="Python 3 bindings for QtWebEngine"
+  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)
+  conflicts=(pyqtwebengine-common)
+
+  cd PyQtWebEngine-$pkgver-py2
+  make INSTALL_ROOT="$pkgdir" install -j1
+}


More information about the arch-commits mailing list