summaryrefslogtreecommitdiff
path: root/cad/kicad
diff options
context:
space:
mode:
authorChristoph Moench-Tegeder <cmt@FreeBSD.org>2020-03-01 15:22:43 +0000
committerChristoph Moench-Tegeder <cmt@FreeBSD.org>2020-03-01 15:22:43 +0000
commit91ec15f4e1fabbded1f3273f0c21549a77117ee1 (patch)
treee043d7e3f56a7ce462f5aaf4dd613d45be330209 /cad/kicad
parentNew port: graphics/birdfont (diff)
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.
Notes
Notes: svn path=/head/; revision=527558
Diffstat (limited to 'cad/kicad')
-rw-r--r--cad/kicad/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index d7e385a22406..a0ce3737278b 100644
--- a/cad/kicad/Makefile
+++ b/cad/kicad/Makefile
@@ -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 \