ayaports/user/py3-blinker/APKBUILD
2022-07-29 15:47:03 +00:00

29 lines
828 B
Text

# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-blinker
_pkgname=blinker
pkgver=1.4
pkgrel=5
pkgdesc="Fast, simple object-to-object and broadcast signalling"
url="https://pypi.python.org/pypi/blinker"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$builddir/build/lib" nosetests
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="2f5f71b05c7cc27f5761ba698b05c78c8a491f5285c120e532d24be0c8256daa14e075f3f30e15fb18e7c3f16579af9378a155d058f170e3af9ffdb89e49f56e blinker-1.4.tar.gz"