From 5e52b982d78e50637e7b3cc484d8e748f48ace1a Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Fri, 16 Sep 2022 19:32:07 +0200 Subject: [PATCH] python3-pychm: fix tests --- srcpkgs/python3-pychm/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-pychm/template b/srcpkgs/python3-pychm/template index e3652388850..3f58537d795 100644 --- a/srcpkgs/python3-pychm/template +++ b/srcpkgs/python3-pychm/template @@ -12,9 +12,10 @@ short_desc="Python3 bindings for CHMLIB" maintainer="Érico Nogueira " license="GPL-2.0-or-later" homepage="https://github.com/dottedmag/pychm" -distfiles="${PYPI_SITE}/p/pychm/pychm-${version}.tar.gz" -checksum=26606fec1e30cf7506c7afa943460c31e8dac87f35b7f178f437574d654cf672 +#distfiles="${PYPI_SITE}/p/pychm/pychm-${version}.tar.gz" +distfiles=https://github.com/dottedmag/pychm/archive/refs/tags/v0.8.6.tar.gz +checksum=23cdc3bbbeb97b57b472a67a0c7c96c6f1ec2d684a73a69fa84aaaeb195cab6c -do_test() { - pytest +do_check() { + PYTHONPATH="$(cd build/lib* && pwd)" pytest }