[arch-commits] Commit in python-qt.py/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:20:19 UTC 2019
Date: Friday, October 25, 2019 @ 15:20:19
Author: felixonmars
Revision: 518985
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 518984, python-qt.py/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-qt.py/repos/community-staging-any/PKGBUILD (from rev 518984, python-qt.py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:20:19 UTC (rev 518985)
@@ -0,0 +1,33 @@
+# 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.0.b3
+pkgrel=2
+pkgdesc='Python compatibility wrapper around all Qt bindings'
+arch=('any')
+url='https://github.com/mottosso/Qt.py'
+license=('MIT')
+depends=('python')
+optdepends=('python-pyqt5: Qt 5 bindings'
+ 'pyside2: LGPL Qt 5 bindings')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('0e195c2d08837f60ddfbb182c4048bb21b7aed27d042e8e77c2abcf653c60a5139eef1fd369735088781830b739beac6da0afa1c6b04a197b403a70ae1ce2f77')
+
+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