git: d0d10a6b629c - main - x11-toolkits/py-qt6-datavis3d: New port

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Thu, 27 Jul 2023 23:25:04 UTC
The branch main has been updated by jhale:

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

commit d0d10a6b629cf35aabaf83d5ba66c9ab668541a5
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-07-27 21:21:52 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-07-27 23:03:03 +0000

    x11-toolkits/py-qt6-datavis3d: New port
    
    PyQt6-DataVisualization is a set of Python bindings for The Qt Company's
    Qt Data Visualization library. The bindings sit on top of PyQt6 and are
    implemented as a single module.
    
    https://riverbankcomputing.com/software/pyqtdatavisualization/
---
 Mk/Uses/pyqt.mk                         | 10 +++++++-
 x11-toolkits/Makefile                   |  1 +
 x11-toolkits/py-qt6-datavis3d/Makefile  | 29 ++++++++++++++++++++++
 x11-toolkits/py-qt6-datavis3d/distinfo  |  3 +++
 x11-toolkits/py-qt6-datavis3d/pkg-descr |  3 +++
 x11-toolkits/py-qt6-datavis3d/pkg-plist | 44 +++++++++++++++++++++++++++++++++
 6 files changed, 89 insertions(+), 1 deletion(-)

diff --git a/Mk/Uses/pyqt.mk b/Mk/Uses/pyqt.mk
index 300da25a60f3..796f007501ba 100644
--- a/Mk/Uses/pyqt.mk
+++ b/Mk/Uses/pyqt.mk
@@ -63,6 +63,8 @@ MASTER_SITES_PYQT3D=	${MASTER_SITES_PYQT${_PYQT_VERSION}3D}
 MASTER_SITES_PYQT5CHART=	https://pypi.python.org/packages/source/P/PyQtChart/
 MASTER_SITES_PYQT6CHART=	https://pypi.python.org/packages/source/P/PyQt6-Charts/
 MASTER_SITES_PYQTCHART=		${MASTER_SITES_PYQT${_PYQT_VERSION}CHART}
+MASTER_SITES_PYQT6DATAVIS3D=	https://pypi.python.org/packages/source/P/PyQt6-DataVisualization/
+MASTER_SITES_PYQTDATAVIS3D=	${MASTER_SITES_PYQT${_PYQT_VERSION}DATAVIS3D}
 MASTER_SITES_PYQT5NETWORKAUTH=	https://pypi.python.org/packages/source/P/PyQtNetworkAuth/
 MASTER_SITES_PYQT6NETWORKAUTH=	https://pypi.python.org/packages/source/P/PyQt6-NetworkAuth/
 MASTER_SITES_PYQTNETWORKAUTH=		${MASTER_SITES_PYQT${_PYQT_VERSION}NETWORKAUTH}
@@ -91,6 +93,7 @@ PYQT6_VERSION=		6.5.2
 PYQT63D_VERSION=	6.5.0
 PYQT5CHART_VERSION=	5.15.6
 PYQT6CHART_VERSION=	6.5.0
+PYQT6DATAVIS3D_VERSION=	6.5.0
 PYQT5NETWORKAUTH_VERSION=5.15.5
 PYQT6NETWORKAUTH_VERSION=6.5.0
 PYQT5WEBENGINE_VERSION=	5.15.6
@@ -108,6 +111,7 @@ PYQT6SIP_DISTNAME=	PyQt6_sip-${PYQT6SIP_VERSION}
 PYQT63D_DISTNAME=	PyQt6_3D-${PYQT63D_VERSION}
 PYQT5CHART_DISTNAME=	PyQtChart-${PYQT5CHART_VERSION}
 PYQT6CHART_DISTNAME=	PyQt6_Charts-${PYQT6CHART_VERSION}
+PYQT6DATAVIS3D_DISTNAME=	PyQt6_DataVisualization-${PYQT6DATAVIS3D_VERSION}
 PYQT5NETWORKAUTH_DISTNAME=	PyQtNetworkAuth-${PYQT5NETWORKAUTH_VERSION}
 PYQT6NETWORKAUTH_DISTNAME=	PyQt6_NetworkAuth-${PYQT6NETWORKAUTH_VERSION}
 PYQTBUILDER_DISTNAME=	PyQt-builder-${PYQTBUILDER_VERSION}
@@ -119,7 +123,7 @@ QSCI2_DISTNAME=		QScintilla_src-${QSCI2_VERSION}
 PYQT5_LICENSE=		GPLv3
 PYQT6_LICENSE=		GPLv3
 
-_USE_PYQT_ALL=		pyqt5 pyqt6 3d chart networkauth webengine
+_USE_PYQT_ALL=		pyqt5 pyqt6 3d chart datavis3d networkauth webengine
 _USE_SIP_ALL=		sip pysip
 _USE_QSCINTILLA=	qscintilla2
 _USE_PYQTBUILDER=	qtbuilder
@@ -128,6 +132,7 @@ _USE_PYQTBUILDER=	qtbuilder
 PYQT_VERSION=		${PYQT${_PYQT_VERSION}_VERSION}
 PYQT3D_VERSION=		${PYQT${_PYQT_VERSION}3D_VERSION}
 PYQTCHART_VERSION=	${PYQT${_PYQT_VERSION}CHART_VERSION}
+PYQTDATAVIS3D_VERSION=	${PYQT${_PYQT_VERSION}DATAVIS3D_VERSION}
 PYQTNETWORKAUTH_VERSION=${PYQT${_PYQT_VERSION}NETWORKAUTH_VERSION}
 PYQTWEBENGINE_VERSION=${PYQT${_PYQT_VERSION}WEBENGINE_VERSION}
 PYQT_RELNAME=		py-qt${_PYQT_VERSION}
@@ -136,6 +141,7 @@ PYQT_MASTERSITES=	${MASTER_SITES_PYQT${_PYQT_VERSION}}
 PYQT_DISTNAME=		${PYQT${_PYQT_VERSION}_DISTNAME}
 PYQT3D_DISTNAME=	${PYQT${_PYQT_VERSION}3D_DISTNAME}
 PYQTCHART_DISTNAME=	${PYQT${_PYQT_VERSION}CHART_DISTNAME}
+PYQTDATAVIS3D_DISTNAME=	${PYQT${_PYQT_VERSION}DATAVIS3D_DISTNAME}
 PYQTNETWORKAUTH_DISTNAME=${PYQT${_PYQT_VERSION}NETWORKAUTH_DISTNAME}
 PYQTWEBENGINE_DISTNAME=${PYQT${_PYQT_VERSION}WEBENGINE_DISTNAME}
 PYQT_DISTINFO_FILE=	${PYQT${_PYQT_VERSION}_DISTINFO_FILE}
@@ -150,6 +156,7 @@ py-pyqt5_PATH=			${PYQT_PY_RELNAME}-pyqt>=${PYQT_VERSION}
 py-pyqt6_PATH=			${PYQT_PY_RELNAME}-pyqt>=${PYQT_VERSION}
 py-3d_PATH=			${PYQT_PY_RELNAME}-3d>=${PYQT3D_VERSION}
 py-chart_PATH=			${PYQT_PY_RELNAME}-chart>=${PYQTCHART_VERSION}
+py-datavis3d_PATH=		${PYQT_PY_RELNAME}-datavis3d>=${PYQTDATAVIS3D_VERSION}
 py-networkauth_PATH=		${PYQT_PY_RELNAME}-networkauth>=${PYQTNETWORKAUTH_VERSION}
 py-webengine_PATH=		${PYQT_PY_RELNAME}-webengine>=${PYQTWEBENGINE_VERSION}
 
@@ -163,6 +170,7 @@ py-pyqt5_PORT=			devel/${PYQT_RELNAME}-pyqt
 py-pyqt6_PORT=			devel/${PYQT_RELNAME}-pyqt
 py-3d_PORT=			graphics/${PYQT_RELNAME}-3d
 py-chart_PORT=			x11-toolkits/${PYQT_RELNAME}-chart
+py-datavis3d_PORT=		x11-toolkits/${PYQT_RELNAME}-datavis3d
 py-networkauth_PORT=		net/${PYQT_RELNAME}-networkauth
 py-webengine_PORT=		www/${PYQT_RELNAME}-webengine
 
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 79fc60282e7d..38bbd9d4651d 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -161,6 +161,7 @@
     SUBDIR += py-python-xlib
     SUBDIR += py-qt5-chart
     SUBDIR += py-qt6-chart
+    SUBDIR += py-qt6-datavis3d
     SUBDIR += py-tkinter
     SUBDIR += py-tktreectrl
     SUBDIR += py-wxPython4
diff --git a/x11-toolkits/py-qt6-datavis3d/Makefile b/x11-toolkits/py-qt6-datavis3d/Makefile
new file mode 100644
index 000000000000..a2f0b35294a2
--- /dev/null
+++ b/x11-toolkits/py-qt6-datavis3d/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	datavis3d
+DISTVERSION=	${PYQTDATAVIS3D_VERSION}
+CATEGORIES=	x11-toolkits devel python
+MASTER_SITES=	${MASTER_SITES_PYQTDATAVIS3D}
+PKGNAMEPREFIX=	${PYQT_PY_RELNAME}-
+DISTNAME=	${PYQTDATAVIS3D_DISTNAME}
+
+PYQT_DIST=	yes
+
+MAINTAINER=	kde@FreeBSD.org
+COMMENT=	Python bindings for the Qt6 data visualization library
+WWW=		https://riverbankcomputing.com/software/pyqtdatavisualization/
+
+USES=		gl pyqt:6 python qt:6
+USE_GL=		gl
+USE_LOCALE=	C.UTF-8
+USE_PYQT=	sip:build pyqt6 qtbuilder:build
+USE_PYTHON=	concurrent flavors
+USE_QT=		base datavis3d
+
+PLIST_SUB=	PYQTDATAVIS3D_VERSION=${DISTVERSION} \
+		PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} \
+		PYTHON_MAJOR_VER_regex=[[:<:]]${PYTHON_MAJOR_VER}[[:>:]]
+
+post-install:
+	@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6 \
+		-name '*.so*' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/py-qt6-datavis3d/distinfo b/x11-toolkits/py-qt6-datavis3d/distinfo
new file mode 100644
index 000000000000..336c6ca6b0c8
--- /dev/null
+++ b/x11-toolkits/py-qt6-datavis3d/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1690490879
+SHA256 (PyQt6_DataVisualization-6.5.0.tar.gz) = 19b949abcc315b1fa9293ba5b8b66bbf694d2d3f84585edc78167473328df212
+SIZE (PyQt6_DataVisualization-6.5.0.tar.gz) = 209805
diff --git a/x11-toolkits/py-qt6-datavis3d/pkg-descr b/x11-toolkits/py-qt6-datavis3d/pkg-descr
new file mode 100644
index 000000000000..9addb81df5de
--- /dev/null
+++ b/x11-toolkits/py-qt6-datavis3d/pkg-descr
@@ -0,0 +1,3 @@
+PyQt6-DataVisualization is a set of Python bindings for The Qt Company's
+Qt Data Visualization library. The bindings sit on top of PyQt6 and are
+implemented as a single module.
diff --git a/x11-toolkits/py-qt6-datavis3d/pkg-plist b/x11-toolkits/py-qt6-datavis3d/pkg-plist
new file mode 100644
index 000000000000..43c9c7a1b7cc
--- /dev/null
+++ b/x11-toolkits/py-qt6-datavis3d/pkg-plist
@@ -0,0 +1,44 @@
+%%PYQT_APIDIR%%/PyQt6-DataVisualization.api
+%%PYQT_SIPDIR%%/QtDataVisualization/QtDataVisualization.toml
+%%PYQT_SIPDIR%%/QtDataVisualization/QtDataVisualizationmod.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dbars.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dcamera.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dinputhandler.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dlight.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dobject.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dscatter.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dscene.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dsurface.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/q3dtheme.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qabstract3daxis.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qabstract3dgraph.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qabstract3dinputhandler.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qabstract3dseries.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qabstractdataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qbar3dseries.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qbardataitem.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qbardataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qcategory3daxis.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qcustom3ditem.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qcustom3dlabel.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qcustom3dvolume.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qheightmapsurfacedataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qitemmodelbardataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qitemmodelscatterdataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qitemmodelsurfacedataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qlist.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qlogvalue3daxisformatter.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qscatter3dseries.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qscatterdataitem.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qscatterdataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qsurface3dseries.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qsurfacedataitem.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qsurfacedataproxy.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qtouch3dinputhandler.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qutils.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qvalue3daxis.sip
+%%PYQT_SIPDIR%%/QtDataVisualization/qvalue3daxisformatter.sip
+%%PYTHON_SITELIBDIR%%/PyQt6/QtDataVisualization.abi%%PYTHON_MAJOR_VER%%.so
+%%PYTHON_SITELIBDIR%%/PyQt6_DataVisualization-%%PYQTDATAVIS3D_VERSION%%.dist-info/INSTALLER
+%%PYTHON_SITELIBDIR%%/PyQt6_DataVisualization-%%PYQTDATAVIS3D_VERSION%%.dist-info/METADATA
+%%PYTHON_SITELIBDIR%%/PyQt6_DataVisualization-%%PYQTDATAVIS3D_VERSION%%.dist-info/RECORD