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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:51:59 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:51:58
  Author: foutrelis
Revision: 1059432

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 1059431, python-qt.py/trunk/PKGBUILD)

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

Copied: python-qt.py/repos/community-staging-any/PKGBUILD (from rev 1059431, python-qt.py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:51:58 UTC (rev 1059432)
@@ -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=6
+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