svn commit: r527558 - head/cad/kicad

Christoph Moench-Tegeder cmt at FreeBSD.org
Sun Mar 1 15:22:44 UTC 2020


Author: cmt
Date: Sun Mar  1 15:22:43 2020
New Revision: 527558
URL: https://svnweb.freebsd.org/changeset/ports/527558

Log:
  switch kicad to python 3
  
  This has been made possible by the addition of the python3-enabled
  x11-toolkits/py-wxPython40. As python 2 is going away soonish, there's
  no value in going through any hoops to provide optional switching between
  python 3 and 2.

Modified:
  head/cad/kicad/Makefile

Modified: head/cad/kicad/Makefile
==============================================================================
--- head/cad/kicad/Makefile	Sun Mar  1 14:52:20 2020	(r527557)
+++ head/cad/kicad/Makefile	Sun Mar  1 15:22:43 2020	(r527558)
@@ -3,7 +3,7 @@
 
 PORTNAME=	kicad
 PORTVERSION=	5.1.5
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	2
 CATEGORIES=	cad
 
@@ -28,7 +28,7 @@ GH_ACCOUNT=	KiCad
 GH_PROJECT=	kicad-source-mirror
 
 USES=		cmake:noninja compiler:c++11-lib desktop-file-utils gl \
-		gnome pkgconfig python:2.7 shared-mime-info shebangfix ssl \
+		gnome pkgconfig python:3.5+ shared-mime-info shebangfix ssl \
 		tar:xz xorg
 SHEBANG_FILES=	pcbnew/python/plugins/touch_slider_wizard.py
 
@@ -44,6 +44,7 @@ CMAKE_ARGS=	-DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}
 		-DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD}		\
 		-DKICAD_SCRIPTING=ON 				\
 		-DKICAD_SCRIPTING_MODULES=ON			\
+		-DKICAD_SCRIPTING_PYTHON3=ON			\
 		-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON		\
 		-DKICAD_USE_OCE=OFF				\
 		-DKICAD_USE_OCC=ON				\


More information about the svn-ports-all mailing list