blob: 597b936edaee81d33db690f111847dac4c051ae5 (
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
|
# Contributor: Bumsik Kim <k.bumsik@gmail.com>
pkgname=python-qt5reactor
_name=${pkgname#python-}
pkgver=0.6.3
pkgrel=1
pkgdesc="Twisted and PyQt5 eventloop integration"
arch=('any')
depends=('python-pyqt5' 'python-twisted')
makedepends=('python-setuptools')
url="https://github.com/sunu/qt5reactor"
license=('MIT')
options=(!emptydirs)
source=(https://pypi.python.org/packages/source/${_name::1}/${_name}/${_name}-$pkgver.tar.gz)
sha256sums=('c3470a8a25d9a339f9ca6243502a9b2277f181d772b7acbff551d5bc363b7572')
build() {
cd "$srcdir/${pkgname#python-}-$pkgver"
msg 'Building...'
/usr/bin/python3 setup.py build
}
package() {
cd "$srcdir/${pkgname#python-}-$pkgver"
msg 'Installing...'
/usr/bin/python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|