aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pydispatcher/APKBUILD
blob: 12cbac3ea37998bb74e8c82716155f6c21c70bba (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pyname=PyDispatcher
pkgname=py3-pydispatcher
pkgver=2.0.5
pkgrel=4
pkgdesc="Loosely-coupled message passing between Python objects (signal senders and receivers)"
url="https://sourceforge.net/projects/python-pydispatcher/"
arch="noarch"
license="GPL"
makedepends="python3-dev py3-setuptools"
install=""
source="https://pypi.python.org/packages/source/P/PyDispatcher/PyDispatcher-$pkgver.tar.gz"
builddir="$srcdir/PyDispatcher-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test -s tests
}

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

sha512sums="b361463f006a775e1f22cfe07520951649f76c26be35a80ca016620c8ef466129c4abeafe42f0ffdc605e7523287b1e804967f19d951089d24e052fe10d88e6f  PyDispatcher-2.0.5.tar.gz"