On 21/08/10 08:36AM, Laurence Tratt wrote: > > There is no such dependency (though there is a package of that name!) and so > "make test" immediately fails. I guess you meant: > > TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} > > It then looks like the way the tests are run has changed and we now need to > change do-test to something like: > > do-test: > cd ${WRKSRC} && py.test test/test.py >
oops, seems like I attached the debugging version before, sorry about that. Here is an improved version with those issues fixed. - added missing ${MODPY_FLAVOR} - updated do-test section > 25 passed in 55.46 seconds Index: distinfo =================================================================== RCS file: /cvs/ports/audio/ffmpeg-normalize/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -r1.1.1.1 distinfo --- distinfo 15 Jul 2020 20:39:52 -0000 1.1.1.1 +++ distinfo 11 Aug 2021 01:50:37 -0000 @@ -1,2 +1,2 @@ -SHA256 (ffmpeg-normalize-1.20.0.tar.gz) = jMQ1HOBupKbuTHXzzV7jUhunxn1009elFlScOIbIFmM= -SIZE (ffmpeg-normalize-1.20.0.tar.gz) = 1961421 +SHA256 (ffmpeg-normalize-1.22.1.tar.gz) = 34JgUyEtVAqxu+mBlYf8vzYWL4wlNa6FuIslLkfW1jI= +SIZE (ffmpeg-normalize-1.22.1.tar.gz) = 1965311 Index: Makefile =================================================================== RCS file: /cvs/ports/audio/ffmpeg-normalize/Makefile,v retrieving revision 1.2 diff -u -p -u -r1.2 Makefile --- Makefile 23 Feb 2021 19:39:09 -0000 1.2 +++ Makefile 11 Aug 2021 01:50:23 -0000 @@ -2,7 +2,7 @@ COMMENT = audio normalization -MODPY_EGG_VERSION = 1.20.0 +MODPY_EGG_VERSION = 1.22.1 DISTNAME = ffmpeg-normalize-${MODPY_EGG_VERSION} CATEGORIES = audio @@ -18,10 +18,13 @@ MODPY_PI = Yes MODPY_SETUPTOOLS = Yes RUN_DEPENDS = devel/py-colorama${MODPY_FLAVOR} \ + multimedia/py-ffmpeg-progress-yield${MODPY_FLAVOR} \ devel/py-tqdm${MODPY_FLAVOR} \ graphics/ffmpeg +TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} + do-test: - cd ${WRKSRC} && ${MODPY_BIN} test/test.py + cd ${WRKSRC} && py.test test/test.py .include <bsd.port.mk>