aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-13 09:28:36 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-13 09:31:33 +0000
commit397221540a671f0aed9ee184decdb9132752b1b0 (patch)
tree8b170741ac60872bbcfe6a9e76e1daf1ac2d3d7c
parente23abca71d8d6f8193273bba074177cb8c5b210f (diff)
devel/py-urwidgets: Add py-urwidgets 0.2.0
urWIDgets provides a collection of useful widgets for the urwid TUI library.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-urwidgets/Makefile24
-rw-r--r--devel/py-urwidgets/distinfo3
-rw-r--r--devel/py-urwidgets/pkg-descr1
4 files changed, 29 insertions, 0 deletions
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.