blob: d8639742308e7721f2bbd9723dda6e8106f37d3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: gmes78 <gmes.078 at gmail dot com>
pkgname=python-asyncqt-git
pkgver=v0.8.0.r2.gb483490
pkgrel=1
pkgdesc="Implementation of the PEP 3156 Event-Loop with Qt (with PySide2 support) (Git version)"
arch=(any)
url="https://github.com/gmarull/asyncqt"
license=("BSD")
depends=("python")
makedepends=("git" "python-setuptools")
optdepends=("python-pyqt5: PyQt5 support"
"pyside2: PySide2 support")
provides=("python-asyncqt")
conflicts=("python-asyncqt")
source=("git+https://github.com/gmarull/asyncqt.git")
sha512sums=("SKIP")
pkgver() {
cd "asyncqt"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "asyncqt"
python setup.py install --root="$pkgdir/" --optimize=1
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|