From 6d8771f82503c2ef2a1bb7aa076ddfac545b00af Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 11 Mar 2019 14:52:00 -0600 Subject: [PATCH] py-ansi2html: Fix APKBUILD --- sr.ht/py-ansi2html/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sr.ht/py-ansi2html/APKBUILD b/sr.ht/py-ansi2html/APKBUILD index 6953d1f..f8608ec 100644 --- a/sr.ht/py-ansi2html/APKBUILD +++ b/sr.ht/py-ansi2html/APKBUILD @@ -10,7 +10,7 @@ arch="noarch" license="LGPL-3.0-or-later" depends="py-six" makedepends="py-setuptools" -checkdepends="py-nose py-mock py2-pytest pytest" +checkdepends="py2-pytest pytest py-mock py-nose" source="$pkgname-$pkgver.tar.gz::https://github.com/ralphbean/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver options="!check" # upstream tests don't work unless module is installed @@ -21,9 +21,9 @@ prepare() { build() { cd "$builddir" - PYTHONPATH="$(pwd)" python2 ./tests/test_ansi2html.py + python2 setup.py build cd "$builddir"-py3 - PYTHONPATH="$(pwd)" python3 ./tests/test_ansi2html.py + python3 setup.py build } check() { -- 2.45.2