@@ 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() {