summaryrefslogblamecommitdiff
path: root/user/py3-taillight/APKBUILD
blob: 9e93241461efc5abf32f575e49840436c5124238 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                         
            







                                                                      
                                                                          













                                                               
                                                                                                                                                                     
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-taillight
_pkgname=taillight
pkgver=0.5.2
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://distfiles.adelielinux.org/source/$_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="fbae0af9b1104495714c266f7d8a9ddd097b52aea9b97c1839c861b829817cd15db55a3ca4b5f84a19b3b5edfdb2fb50da8cdd1cc5bd0129a5f26be094464649  taillight-0.5.2.tar.gz"