`make configure' says

-- Found PythonInterp: /usr/local/bin/python3.7 (found version "3.7.6")         
                                        
-- The following OPTIONAL packages have been found:
   ...
 * PythonInterp, Python Interpreter, <https://www.python.org>                   
                                        
   Python interpreter is needed to execute test for external extractors or 
writers


The port builds fine without any python interpreter available, I ran
`make test' with and without python 3 available and only the two
mentioned test cases would pass or fail respectively (all else passed).

Feedback? OK?



Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/kf5/kfilemetadata/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile    19 Jun 2019 19:45:59 -0000      1.16
+++ Makefile    23 Mar 2020 01:04:24 -0000
@@ -5,6 +5,8 @@ COMMENT-locale =localization files of kf
 DISTNAME =     kfilemetadata-${VERSION}
 PKGNAME-main = kf5-kfilemetadata-${VERSION}
 PKGNAME-locale =kf5-kfilemetadata-l10n-${VERSION}
+REVISION-locale =      0
+REVISION-main =        0
 
 SHARED_LIBS =  KF5FileMetaData         5.3# 5.20
 
@@ -19,6 +21,10 @@ WANTLIB += avcodec avformat avutil epub 
 WANTLIB += tag
 
 MODULES +=     lang/python
+MODPY_VERSION =        ${MODPY_DEFAULT_VERSION_3}
+# required only for externalextractortest and externalwritertest
+MODPY_BUILDDEP =No
+MODPY_RUNDEP = No
 
 BUILD_DEPENDS =        devel/gettext,-tools
 

Reply via email to