git: c5a53ae7a4a7 - main - devel/py-textualeffects: Add new port

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Fri, 27 Sep 2024 06:47:23 UTC
The branch main has been updated by nivit:

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

commit c5a53ae7a4a7e9151ce0fff13612f80766bae66b
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-09-27 06:46:07 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-09-27 06:46:07 +0000

    devel/py-textualeffects: Add new port
    
    Visual effects for Textual, a TerminalTextEffects wrapper.
    It is a library that provides Textual bindings for the excellent
    TerminalTextEffects visual effects library.
    
    https://github.com/ggozad/textualeffects
---
 devel/Makefile                    |  1 +
 devel/py-textualeffects/Makefile  | 20 ++++++++++++++++++++
 devel/py-textualeffects/distinfo  |  3 +++
 devel/py-textualeffects/pkg-descr |  3 +++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index be8866adc647..2070b6a558e2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5925,6 +5925,7 @@
     SUBDIR += py-testresources
     SUBDIR += py-testscenarios
     SUBDIR += py-testtools
+    SUBDIR += py-textualeffects
     SUBDIR += py-thefuzz
     SUBDIR += py-thinc
     SUBDIR += py-thinc8
diff --git a/devel/py-textualeffects/Makefile b/devel/py-textualeffects/Makefile
new file mode 100644
index 000000000000..d7410adefd18
--- /dev/null
+++ b/devel/py-textualeffects/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	textualeffects
+DISTVERSION=	0.1.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Visual effects for Textual, a TerminalTextEffects wrapper
+WWW=		https://github.com/ggozad/textualeffects
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.25.0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}terminaltexteffects>=0.11.0:devel/py-terminaltexteffects@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/devel/py-textualeffects/distinfo b/devel/py-textualeffects/distinfo
new file mode 100644
index 000000000000..d83b476defec
--- /dev/null
+++ b/devel/py-textualeffects/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727283104
+SHA256 (textualeffects-0.1.2.tar.gz) = 040709d887a9e86860401e0f57429d231a5598e8c176089c99315ab99af1b229
+SIZE (textualeffects-0.1.2.tar.gz) = 40667
diff --git a/devel/py-textualeffects/pkg-descr b/devel/py-textualeffects/pkg-descr
new file mode 100644
index 000000000000..6121aff94ca7
--- /dev/null
+++ b/devel/py-textualeffects/pkg-descr
@@ -0,0 +1,3 @@
+Visual effects for Textual, a TerminalTextEffects wrapper. It is a library that
+provides Textual bindings for the excellent TerminalTextEffects visual effects
+library.