From 2413640e32b948fe4fd46a44aab9045ec805f0c8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 18 Apr 2019 08:06:36 +0000 Subject: community/py3-pydispatcher: move from testing needed by py3-openzwave --- community/py3-pydispatcher/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/py3-pydispatcher/APKBUILD (limited to 'community') diff --git a/community/py3-pydispatcher/APKBUILD b/community/py3-pydispatcher/APKBUILD new file mode 100644 index 0000000000..12cbac3ea3 --- /dev/null +++ b/community/py3-pydispatcher/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Carlo Landmeter +# Maintainer: Natanael Copa +_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" -- cgit v1.2.3