summaryrefslogtreecommitdiff
path: root/graphics/py-term-image
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-term-image')
-rw-r--r--graphics/py-term-image/Makefile24
-rw-r--r--graphics/py-term-image/distinfo3
-rw-r--r--graphics/py-term-image/pkg-descr5
3 files changed, 32 insertions, 0 deletions
diff --git a/graphics/py-term-image/Makefile b/graphics/py-term-image/Makefile
new file mode 100644
index 000000000000..2c23c964d8c9
--- /dev/null
+++ b/graphics/py-term-image/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= term-image
+DISTVERSION= 0.7.2
+CATEGORIES= graphics python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= term_image-${DISTVERSION}
+
+MAINTAINER= nxjoseph@protonmail.com
+COMMENT= Display images in the terminal with Python
+WWW= https://github.com/AnonymouX47/term-image \
+ https://pypi.org/project/term-image
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=9.1:graphics/py-pillow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.23<3:www/py-requests@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist distutils flavors
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-term-image/distinfo b/graphics/py-term-image/distinfo
new file mode 100644
index 000000000000..5aaf29ef068e
--- /dev/null
+++ b/graphics/py-term-image/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1741385726
+SHA256 (term_image-0.7.2.tar.gz) = 07320573baa667dcde145d55e94769cbaafeea43b61245245153ff5075b55ffb
+SIZE (term_image-0.7.2.tar.gz) = 63946
diff --git a/graphics/py-term-image/pkg-descr b/graphics/py-term-image/pkg-descr
new file mode 100644
index 000000000000..b55a590cef49
--- /dev/null
+++ b/graphics/py-term-image/pkg-descr
@@ -0,0 +1,5 @@
+term-image is a Python utility that enables the display of images directly
+within the terminal, providing a unique and innovative way to view images
+without leaving the command line interface. It supports various image
+formats and can be used in a range of applications, from simple image
+viewing to more complex terminal-based projects.