git: 106f25634da3 - main - graphics/py-pivy: update to 0.6.8

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Mon, 13 Mar 2023 22:13:43 UTC
The branch main has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=106f25634da3a2156af2a2af171195296f071460

commit 106f25634da3a2156af2a2af171195296f071460
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2023-03-13 22:12:10 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-03-13 22:12:10 +0000

    graphics/py-pivy: update to 0.6.8
    
    Not even an Announcement:
      https://github.com/coin3d/pivy/releases/tag/0.6.8
    
    While here, switch to a real plist so I can more easily see when stuff
    goes missing.
---
 graphics/py-pivy/Makefile              |  6 ++-
 graphics/py-pivy/distinfo              |  6 +--
 graphics/py-pivy/files/patch-qtinfo.py | 18 +++++++
 graphics/py-pivy/pkg-plist             | 93 ++++++++++++++++++++++++++++++++++
 4 files changed, 118 insertions(+), 5 deletions(-)

diff --git a/graphics/py-pivy/Makefile b/graphics/py-pivy/Makefile
index 9bea5b7f6237..641824b6580e 100644
--- a/graphics/py-pivy/Makefile
+++ b/graphics/py-pivy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pivy
-PORTVERSION=	0.6.6
+PORTVERSION=	0.6.8
 CATEGORIES=	graphics python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -17,9 +17,11 @@ LIB_DEPENDS=	libCoin.so:graphics/Coin \
 USES=		compiler:c11 python:3.6+ qt:5
 USE_GITHUB=	yes
 GH_ACCOUNT=	coin3d
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	distutils
 USE_QT=		core gui opengl widgets
 
+PLIST_SUB+=	DISTVERSION=${DISTVERSION}
+
 INSTALL_TARGET=	install-strip
 
 .include <bsd.port.mk>
diff --git a/graphics/py-pivy/distinfo b/graphics/py-pivy/distinfo
index b315fcc00d50..77a9701dc74f 100644
--- a/graphics/py-pivy/distinfo
+++ b/graphics/py-pivy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616253386
-SHA256 (coin3d-pivy-0.6.6_GH0.tar.gz) = 27204574d894cc12aba5df5251770f731f326a3e7de4499e06b5f5809cc5659e
-SIZE (coin3d-pivy-0.6.6_GH0.tar.gz) = 6618471
+TIMESTAMP = 1678735206
+SHA256 (coin3d-pivy-0.6.8_GH0.tar.gz) = c443dd7dd724b0bfa06427478b9d24d31e0c3b5138ac5741a2917a443b28f346
+SIZE (coin3d-pivy-0.6.8_GH0.tar.gz) = 6618458
diff --git a/graphics/py-pivy/files/patch-qtinfo.py b/graphics/py-pivy/files/patch-qtinfo.py
new file mode 100644
index 000000000000..534332fcea13
--- /dev/null
+++ b/graphics/py-pivy/files/patch-qtinfo.py
@@ -0,0 +1,18 @@
+--- qtinfo.py.orig	2023-03-13 20:25:16.070089000 +0100
++++ qtinfo.py	2023-03-13 20:26:18.492969000 +0100
+@@ -7,7 +7,7 @@
+         if qmake_command:
+             self._qmake_command = qmake_command
+         else:
+-            self._qmake_command = [find_executable("qmake"),]
++            self._qmake_command = [find_executable("qmake-qt5"),]
+         self._dict = {}
+         # bind all variables early at __init__ time.
+         for thing in self.__class__.__dict__:
+@@ -79,4 +79,4 @@
+     translations_dir = property(getTranslationsPath)
+     headers_dir = property(getHeadersPath)
+     docs_dir = property(getDocsPath)
+-    qml_dir = property(getQmlPath)
+\ No newline at end of file
++    qml_dir = property(getQmlPath)
diff --git a/graphics/py-pivy/pkg-plist b/graphics/py-pivy/pkg-plist
new file mode 100644
index 000000000000..27d5a9b46988
--- /dev/null
+++ b/graphics/py-pivy/pkg-plist
@@ -0,0 +1,93 @@
+%%PYTHON_SITELIBDIR%%/Pivy-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/Pivy-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/Pivy-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/Pivy-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/pivy/__init__.py
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/coin%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/coin%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/pivy_meta%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/pivy_meta%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/sogui%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/sogui%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/utils%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/__pycache__/utils%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/_coin%%PYTHON_EXT_SUFFIX%%.so
+%%PYTHON_SITELIBDIR%%/pivy/coin.py
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__init__.py
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/colors%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/colors%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/mesh%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/mesh%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/plot%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/plot%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/viewer%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/__pycache__/viewer%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/graphics/colors.py
+%%PYTHON_SITELIBDIR%%/pivy/graphics/mesh.py
+%%PYTHON_SITELIBDIR%%/pivy/graphics/plot.py
+%%PYTHON_SITELIBDIR%%/pivy/graphics/viewer.py
+%%PYTHON_SITELIBDIR%%/pivy/gui/__init__.py
+%%PYTHON_SITELIBDIR%%/pivy/gui/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/gui/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/gui/__pycache__/qt%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/gui/__pycache__/qt%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/gui/__pycache__/soqt%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/gui/__pycache__/soqt%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/gui/_soqt%%PYTHON_EXT_SUFFIX%%.so
+%%PYTHON_SITELIBDIR%%/pivy/gui/qt.py
+%%PYTHON_SITELIBDIR%%/pivy/gui/soqt.py
+%%PYTHON_SITELIBDIR%%/pivy/pivy_meta.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/ContextMenu.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/ImageReader.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/QuarterWidget.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/SensorManager.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/SignalThread.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__init__.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/ContextMenu%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/ContextMenu%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/ImageReader%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/ImageReader%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/QuarterWidget%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/QuarterWidget%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/SensorManager%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/SensorManager%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/SignalThread%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/SignalThread%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/DeviceHandler.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/DeviceManager.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/KeyboardHandler.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/MouseHandler.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__init__.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/DeviceHandler%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/DeviceHandler%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/DeviceManager%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/DeviceManager%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/KeyboardHandler%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/KeyboardHandler%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/MouseHandler%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/MouseHandler%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/devices/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/DragDropHandler.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/EventHandler.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/EventManager.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__init__.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/DragDropHandler%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/DragDropHandler%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/EventHandler%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/EventHandler%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/EventManager%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/EventManager%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/eventhandlers/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/plugins/designer/python/PyQuarterWidgetPlugin.py
+%%PYTHON_SITELIBDIR%%/pivy/quarter/plugins/designer/python/__pycache__/PyQuarterWidgetPlugin%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/pivy/quarter/plugins/designer/python/__pycache__/PyQuarterWidgetPlugin%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pivy/sogui.py
+%%PYTHON_SITELIBDIR%%/pivy/utils.py