graphics/py-term-image: New port

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.
PR:		285236
Reported by:	Yusuf Yaman <nxjoseph@protonmail.com>
This commit is contained in:
Yusuf Yaman 2025-05-04 02:50:18 +00:00 committed by Wen Heping
parent 21557ec770
commit cc3b32d9ba
4 changed files with 33 additions and 0 deletions

View File

@ -1018,6 +1018,7 @@
SUBDIR += py-svg.path
SUBDIR += py-svgelements
SUBDIR += py-svgwrite
SUBDIR += py-term-image
SUBDIR += py-termtosvg
SUBDIR += py-tifffile
SUBDIR += py-tkcolorpicker

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1741385726
SHA256 (term_image-0.7.2.tar.gz) = 07320573baa667dcde145d55e94769cbaafeea43b61245245153ff5075b55ffb
SIZE (term_image-0.7.2.tar.gz) = 63946

View File

@ -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.