Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2024 20:46:57 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b38d38c7705b - main - x11-toolkits/py-magicgui: New port: Build GUIs from python types
Message-ID:  <202412112046.4BBKkvfn084456@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit b38d38c7705b45f2c4715bf43f5f12595f404152
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-11 20:21:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-11 20:46:55 +0000

    x11-toolkits/py-magicgui: New port: Build GUIs from python types
---
 x11-toolkits/Makefile              |  1 +
 x11-toolkits/py-magicgui/Makefile  | 29 +++++++++++++++++++++++++++++
 x11-toolkits/py-magicgui/distinfo  |  3 +++
 x11-toolkits/py-magicgui/pkg-descr |  8 ++++++++
 4 files changed, 41 insertions(+)

diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 0b61ae191844..36c1118995de 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -178,6 +178,7 @@
     SUBDIR += py-fltk
     SUBDIR += py-guietta
     SUBDIR += py-kivy
+    SUBDIR += py-magicgui
     SUBDIR += py-pangocffi
     SUBDIR += py-python-xlib
     SUBDIR += py-qt5-charts
diff --git a/x11-toolkits/py-magicgui/Makefile b/x11-toolkits/py-magicgui/Makefile
new file mode 100644
index 000000000000..69ac57cafa83
--- /dev/null
+++ b/x11-toolkits/py-magicgui/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	magicgui
+DISTVERSION=	0.9.1
+CATEGORIES=	x11-toolkits python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Build GUIs from python types
+WWW=		https://pyapp-kit.github.io/magicgui/ \
+		https://github.com/pyapp-kit/magicgui
+
+LICENSE=	MIT
+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} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docstring-parser>=0.7:textproc/py-docstring-parser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}psygnal>=0.6.1:devel/py-psygnal@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}QtPy>=1.7.0:devel/py-QtPy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}superqt>=0.6.1:x11-toolkits/py-superqt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6: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-magicgui/distinfo b/x11-toolkits/py-magicgui/distinfo
new file mode 100644
index 000000000000..c25e2ee80b9c
--- /dev/null
+++ b/x11-toolkits/py-magicgui/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1733947401
+SHA256 (magicgui-0.9.1.tar.gz) = e8c1c7ed281e62ec858771a76515abd705dbe3d46da2ee834ce6983a4403b94d
+SIZE (magicgui-0.9.1.tar.gz) = 20938738
diff --git a/x11-toolkits/py-magicgui/pkg-descr b/x11-toolkits/py-magicgui/pkg-descr
new file mode 100644
index 000000000000..875e3d590df4
--- /dev/null
+++ b/x11-toolkits/py-magicgui/pkg-descr
@@ -0,0 +1,8 @@
+magicgui is a python library for building graphical user interfaces (GUIs).
+
+It aims to speed up data workflows by providing a simple, consistent API
+for creating GUIs to control various data types, that work across various
+environments.
+
+GUIs may be built manually using a variety of widgets, or generated
+automatically from python type hints.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412112046.4BBKkvfn084456>