From f8a53e5ac86e9a6744176a23762a84375125b6b9 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Tue, 6 Aug 2019 12:38:54 -0500 Subject: user/py3-zope-hookable: enable unit tests, drop unnecessary deps Installed version does not depend on tox nor coverage --- user/py3-zope-hookable/APKBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'user/py3-zope-hookable') diff --git a/user/py3-zope-hookable/APKBUILD b/user/py3-zope-hookable/APKBUILD index 454d1c46e..dcda3dde3 100644 --- a/user/py3-zope-hookable/APKBUILD +++ b/user/py3-zope-hookable/APKBUILD @@ -3,25 +3,27 @@ pkgname=py3-zope-hookable _pkgname=zope.hookable pkgver=4.2.0 -pkgrel=0 +pkgrel=1 pkgdesc="A library that provides an interface for hookable functions" url="https://github.com/zopefoundation/zope.hookable" arch="all" -options="!check" # needs zope.testing +# Certified net clean license="ZPL-2.1" depends="python3" -makedepends="python3-dev py3-tox coverage" +makedepends="python3-dev" subpackages="" source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$builddir" python3 setup.py build } +check() { + python3 setup.py test +} + package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -- cgit v1.2.3-70-g09d2