git: 1939f1562411 - main - devel/nextpnr: Update to 0.6

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Mon, 13 Nov 2023 20:53:50 UTC
The branch main has been updated by jbo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1939f1562411e5155390cfe7147af0a5c890f1bc

commit 1939f1562411e5155390cfe7147af0a5c890f1bc
Author:     Joel Bodenmann <jbo@FreeBSD.org>
AuthorDate: 2023-11-12 14:56:33 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2023-11-13 20:51:59 +0000

    devel/nextpnr: Update to 0.6
    
    While here, also enable GUI as dependencies are already setup for that.
    
    Changelogs:
      0.6: https://github.com/YosysHQ/nextpnr/releases/tag/nextpnr-0.6
      0.5: https://github.com/YosysHQ/nextpnr/releases/tag/nextpnr-0.5
    
    PR:                     275041
    Reviewed by:            manu (maintainer)
    Approved by:            tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D42553
---
 devel/nextpnr/Makefile | 10 +++++++---
 devel/nextpnr/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile
index 8bc40ee388cf..38d8025d793f 100644
--- a/devel/nextpnr/Makefile
+++ b/devel/nextpnr/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	nextpnr
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	0.4
-PORTREVISION=	1
+DISTVERSION=	0.6
 PORTEPOCH=	1
 CATEGORIES=	devel
 
@@ -23,7 +22,7 @@ LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
 		libboost_program_options.so:devel/boost-libs \
 		${PY_BOOST}
 
-USES=		compiler:c++11-lang cmake qt:5 eigen:3 python gl
+USES=		compiler:c++14-lang cmake qt:5 eigen:3 python gl
 USE_QT=		buildtools:build core gui opengl qmake:build widgets
 USE_GL=		gl glu
 USE_GITHUB=	yes
@@ -33,8 +32,13 @@ GH_TUPLE=	YosysHQ:nextpnr-tests:00c55a9e:tests/tests
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
 CMAKE_ARGS=	-DARCH="ice40;ecp5" -DTRELLIS_ROOT=${LOCALBASE}/share/trellis/
+CMAKE_ON=	BUILD_GUI
 
 PLIST_FILES=	bin/nextpnr-ecp5 \
 		bin/nextpnr-ice40
 
+# Don't create __pycache__ directory when executing blueprint-compiler
+# This is a workaround to avoid filesystem violations during poudriere build
+MAKE_ENV=	PYTHONDONTWRITEBYTECODE=1
+
 .include <bsd.port.mk>
diff --git a/devel/nextpnr/distinfo b/devel/nextpnr/distinfo
index e367ede00cb9..88e65b2063f2 100644
--- a/devel/nextpnr/distinfo
+++ b/devel/nextpnr/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1671525390
-SHA256 (YosysHQ-nextpnr-nextpnr-0.4_GH0.tar.gz) = ae8e01496c3bb6607cef0e2501b8cf00aba564e9b116dd323887575ab82757c0
-SIZE (YosysHQ-nextpnr-nextpnr-0.4_GH0.tar.gz) = 4460419
+TIMESTAMP = 1699749151
+SHA256 (YosysHQ-nextpnr-nextpnr-0.6_GH0.tar.gz) = 76fa4bca48cc8462a8a3c28f89673439e7632a9baabc7bb121c58b75936d2d0b
+SIZE (YosysHQ-nextpnr-nextpnr-0.6_GH0.tar.gz) = 4545679
 SHA256 (YosysHQ-nextpnr-tests-00c55a9e_GH0.tar.gz) = 2240aa0c61211a62ca307ef8d8b0f58c4ebb59ecb61334c45bf586daf69d964b
 SIZE (YosysHQ-nextpnr-tests-00c55a9e_GH0.tar.gz) = 1039171