On 2020/11/03 17:18, Christoph R. Winter wrote:
> Hello !
> 
> Sent the original message from webmail (yes, set it to plain text only) but
> the result was something different as it looks - that could be the reason
> why you cant apple the patch.

This is normal for most webmail, plain text doesn't mean "don't mangle
it" unfortunately.

Tests can be cleaned up a bit:

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/youtube-dl/Makefile,v
retrieving revision 1.213
diff -u -p -r1.213 Makefile
--- Makefile    3 Nov 2020 17:00:08 -0000       1.213
+++ Makefile    4 Nov 2020 16:19:47 -0000
@@ -20,19 +20,10 @@ MASTER_SITES =      https://youtube-dl.org/do
 MODULES =      lang/python
 
 MODPY_SETUPTOOLS =     Yes
+MODPY_PYTEST =         Yes
 MODPY_VERSION =        ${MODPY_DEFAULT_VERSION_3}
 
-TEST_DEPENDS +=        devel/flake8 \
-               devel/py-nose${MODPY_FLAVOR}
-
-TEST_ENV =     PATH=${PORTPATH}
-
-pre-test:
-       ln -sf ${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX} \
-           ${WRKDIR}/bin/nosetests
-
-do-test:
-       ${TEST_ENV} ${MAKE_PROGRAM} -C ${WRKSRC} ${TEST_TARGET}
+TEST_DEPENDS +=        devel/flake8
 
 WRKDIST =      ${WRKDIR}/youtube-dl
 


Reply via email to