summaryrefslogtreecommitdiff
path: root/user/py3-taillight/APKBUILD
blob: 66058e58125c71b675d8f39ae0b26461bf64951b (plain) (blame)
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
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-taillight
_pkgname=taillight
pkgver=0.3b4
pkgrel=0
pkgdesc="Lightweight, thread-safe signal/slots system with priorities"
url="https://github.com/Elizafox/taillight"
arch="noarch"
license="WTFPL OR LPRAB"
depends="python3"
makedepends=""
# PyPI download doesn't include tests/
source="https://dev.sick.bike/dist/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest discover -s tests
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d54e2006d690b87ec7b96975c7d68f5954df993ffd3735100bcff91f3410f33a34b3a07fe22bb40aaad7364d63180b441302b171e52c1345cd90c709749a7bc8  py3-taillight-0.3b4.tar.gz"