blob: bada39d91c560ff49f796ab8ac68b5876d71ba7a (
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
31
32
|
# Maintainer: Patrick Griffis <tingpign@tingpng.se>
# Contributor: Sam Day <me@samcday.com>
_modname='gbulb'
pkgname='python-gbulb'
pkgver=0.6.4
pkgrel=1
pkgdesc='Implementation of asyncio using GLib'
arch=('any')
url='https://github.com/nathan-hoad/gbulb'
license=('Apache')
makedepends=('python-setuptools')
depends=('python-gobject')
optdepends=('gtk3: Gtk application integration')
checkdepends=('python-tox')
source=("https://github.com/beeware/gbulb/archive/v$pkgver.tar.gz")
sha256sums=('f6bae1e2e8288211b6fcbb1aa028191c2b19fe4f0bfae32813581138da6162d2')
prepare() {
cd "$_modname-$pkgver"
}
check() {
cd "$_modname-$pkgver"
tox -e py
}
package() {
cd "$_modname-$pkgver"
python ./setup.py install --prefix=/usr --root="$pkgdir" --optimize=2
}
|