aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-blinker/APKBUILD
blob: 9036d990fbfcb522fa65cf7c56eb28e504721de4 (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: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-blinker
_pkgname=blinker
pkgver=1.4
pkgrel=4
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"