git: 2ad5c8b8c436 - main - x11-toolkits/py-superqt: New port: Missing widgets and components for PyQt/PySide

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 07 Sep 2024 06:25:03 UTC
The branch main has been updated by yuri:

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

commit 2ad5c8b8c4367e11c3874fbc54ab47ad8e379ac7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-07 00:18:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-07 06:21:34 +0000

    x11-toolkits/py-superqt: New port: Missing widgets and components for PyQt/PySide
---
 x11-toolkits/Makefile             |  1 +
 x11-toolkits/py-superqt/Makefile  | 25 +++++++++++++++++++++++++
 x11-toolkits/py-superqt/distinfo  |  3 +++
 x11-toolkits/py-superqt/pkg-descr |  4 ++++
 4 files changed, 33 insertions(+)

diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index c0e23bd3e892..e74286740394 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -175,6 +175,7 @@
     SUBDIR += py-qt5-chart
     SUBDIR += py-qt6-chart
     SUBDIR += py-qt6-datavis3d
+    SUBDIR += py-superqt
     SUBDIR += py-tkinter
     SUBDIR += py-tktreectrl
     SUBDIR += py-wxPython4
diff --git a/x11-toolkits/py-superqt/Makefile b/x11-toolkits/py-superqt/Makefile
new file mode 100644
index 000000000000..214a9f816d1c
--- /dev/null
+++ b/x11-toolkits/py-superqt/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	superqt
+DISTVERSION=	0.6.7
+CATEGORIES=	x11-toolkits python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Missing widgets and components for PyQt/PySide
+WWW=		https://pyapp-kit.github.io/superqt/
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=2.4.0:textproc/py-pygments@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}QtPy>=1.1.0:devel/py-QtPy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/py-superqt/distinfo b/x11-toolkits/py-superqt/distinfo
new file mode 100644
index 000000000000..035ac9c88651
--- /dev/null
+++ b/x11-toolkits/py-superqt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725665614
+SHA256 (superqt-0.6.7.tar.gz) = af80d5687ec75df6c3e54119ee895e42f79742ed326684c79425414b5c20f1e3
+SIZE (superqt-0.6.7.tar.gz) = 96733
diff --git a/x11-toolkits/py-superqt/pkg-descr b/x11-toolkits/py-superqt/pkg-descr
new file mode 100644
index 000000000000..f19b39b0d034
--- /dev/null
+++ b/x11-toolkits/py-superqt/pkg-descr
@@ -0,0 +1,4 @@
+superqt contains "missing" widgets and components for PyQt/PySide.
+
+It provides high-quality community-contributed Qt widgets and components
+for PyQt & PySide that are not provided in the native QtWidgets module.