git: 397221540a67 - main - devel/py-urwidgets: Add py-urwidgets 0.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 13 Apr 2024 09:32:01 UTC
The branch main has been updated by sunpoet:

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

commit 397221540a671f0aed9ee184decdb9132752b1b0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-13 09:28:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-13 09:31:33 +0000

    devel/py-urwidgets: Add py-urwidgets 0.2.0
    
    urWIDgets provides a collection of useful widgets for the urwid TUI library.
---
 devel/Makefile               |  1 +
 devel/py-urwidgets/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-urwidgets/distinfo  |  3 +++
 devel/py-urwidgets/pkg-descr |  1 +
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index aaf17e89f914..c25c0991995b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5855,6 +5855,7 @@
     SUBDIR += py-urlimport
     SUBDIR += py-urwid
     SUBDIR += py-urwid-readline
+    SUBDIR += py-urwidgets
     SUBDIR += py-urwidtrees
     SUBDIR += py-us
     SUBDIR += py-user_agents
diff --git a/devel/py-urwidgets/Makefile b/devel/py-urwidgets/Makefile
new file mode 100644
index 000000000000..ccfbfca1c2b5
--- /dev/null
+++ b/devel/py-urwidgets/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	urwidgets
+PORTVERSION=	0.2.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Collection of widgets for urwid
+WWW=		https://urwidgets.readthedocs.io/en/stable/ \
+		https://github.com/AnonymouX47/urwidgets
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}urwid>=2.1<3.0:devel/py-urwid@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-urwidgets/distinfo b/devel/py-urwidgets/distinfo
new file mode 100644
index 000000000000..c16818dbead9
--- /dev/null
+++ b/devel/py-urwidgets/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712886400
+SHA256 (urwidgets-0.2.0.tar.gz) = d41acf9d9f8d576cb580bc042919b209c5aeeb60e1f81052809c63f31c4e7688
+SIZE (urwidgets-0.2.0.tar.gz) = 14424
diff --git a/devel/py-urwidgets/pkg-descr b/devel/py-urwidgets/pkg-descr
new file mode 100644
index 000000000000..abd62075b409
--- /dev/null
+++ b/devel/py-urwidgets/pkg-descr
@@ -0,0 +1 @@
+urWIDgets provides a collection of useful widgets for the urwid TUI library.