[arch-commits] Commit in python-qt.py/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:09:25 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:09:25
  Author: foutrelis
Revision: 748522

archrelease: copy trunk to community-staging-any

Added:
  python-qt.py/repos/community-staging-any/
  python-qt.py/repos/community-staging-any/PKGBUILD
    (from rev 748521, python-qt.py/trunk/PKGBUILD)

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

Copied: python-qt.py/repos/community-staging-any/PKGBUILD (from rev 748521, python-qt.py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:09:25 UTC (rev 748522)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Michal Krenek (Mikos) <m.krenek at gmail.com>
+
+pkgname=python-qt.py
+_pkgname=Qt.py
+pkgver=1.2.5
+pkgrel=4
+pkgdesc='Python compatibility wrapper around all Qt bindings'
+arch=('any')
+url='https://github.com/mottosso/Qt.py'
+license=('MIT')
+depends=('python' 'qt5-python-bindings')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('c38a61007df2138ac38b33d61df456a70cc0aa94ac1d4b37384420fab28f9f75218258680e23ff181a0092f8b04b8d20441b3b64c051da07b13f8e49a5d36b1e')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  rm "$pkgdir"/usr/LICENSE # Weird
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list