From 9b07de55dfe6d50baeda3a8feda7f9fcade9c647 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 26 Dec 2019 22:15:25 -0600 Subject: user/py3*: modernise, fix syntax --- user/py3-sphinxcontrib-qthelp/APKBUILD | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'user/py3-sphinxcontrib-qthelp') diff --git a/user/py3-sphinxcontrib-qthelp/APKBUILD b/user/py3-sphinxcontrib-qthelp/APKBUILD index fb32bad02..3740f30ff 100644 --- a/user/py3-sphinxcontrib-qthelp/APKBUILD +++ b/user/py3-sphinxcontrib-qthelp/APKBUILD @@ -12,23 +12,20 @@ arch="noarch" options="!check" # Cyclic dependency with sphinx license="BSD-2-Clause" depends="python3" -makedepends="python3-dev" checkdepends="py3-sphinx py3-pytest" +makedepends="python3-dev" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" python3 setup.py build } check() { - cd "$builddir" PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25 } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -- cgit v1.2.3-60-g2f50