pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zbar: Correctly mark python a test dependency and restrict to python27



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Dec 2 11:06:46 2019 +0100
Changeset:	d30b5bd60f4d481ae4ad94be9feb20361f29b328

Modified Files:
	zbar/Makefile

Log Message:
zbar: Correctly mark python a test dependency and restrict to python27

(All the Python code seems working with only Python 2.)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d30b5bd60f4d481ae4ad94be9feb20361f29b328

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zbar/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/zbar/Makefile b/zbar/Makefile
index 4c3787b5f4..20882cfab7 100644
--- a/zbar/Makefile
+++ b/zbar/Makefile
@@ -32,9 +32,9 @@ PKGCONFIG_OVERRIDE+=	zbar.pc.in
 
 TEST_TARGET=	check
 
-# Python is needed only for test
-REPLACE_PYTHON+=	test/barcodetest.py
-PYTHON_FOR_BUILD_ONLY=	yes
+REPLACE_PYTHON+=		test/barcodetest.py
+PYTHON_FOR_BUILD_ONLY=		test
+PYTHON_VERSIONS_ACCEPTED=	27
 .include "../../lang/python/application.mk"
 
 .include "options.mk"


Home | Main Index | Thread Index | Old Index