textproc/py-rich-cli: Add py-rich-cli 1.7.0

Rich-cli is a command line toolbox for fancy output in the terminal, built with
Rich.

Use the rich command to highlight a variety of file types in the terminal, with
specialized rendering for Markdown and JSON files. Additionally you can markup
and format text from the command line.

WWW: https://github.com/Textualize/rich-cli
This commit is contained in:
Po-Chuan Hsieh 2022-05-13 19:27:32 +08:00
parent 2e274000ed
commit f9cb8936e0
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 38 additions and 0 deletions

View file

@ -1463,6 +1463,7 @@
SUBDIR += py-restructuredtext-lint SUBDIR += py-restructuredtext-lint
SUBDIR += py-reverend SUBDIR += py-reverend
SUBDIR += py-rich SUBDIR += py-rich
SUBDIR += py-rich-cli
SUBDIR += py-rnc2rng SUBDIR += py-rnc2rng
SUBDIR += py-rss2gen SUBDIR += py-rss2gen
SUBDIR += py-rst2ansi SUBDIR += py-rst2ansi

View file

@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= rich-cli
PORTVERSION= 1.7.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Command Line Interface to Rich
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.0<9.0.0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0<3.0.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rich>=12.3.0<13.0.0:textproc/py-rich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rich-rst>=1.1.7<2.0.0:textproc/py-rich-rst@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}textual>=0.1.18<0.2.0:textproc/py-textual@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1652122535
SHA256 (rich-cli-1.7.0.tar.gz) = 7e9a2bca579cf47fbd1b6bfc0f43b7d9e93b390b376114a66b5c4ea5a90296a9
SIZE (rich-cli-1.7.0.tar.gz) = 17097

View file

@ -0,0 +1,8 @@
Rich-cli is a command line toolbox for fancy output in the terminal, built with
Rich.
Use the rich command to highlight a variety of file types in the terminal, with
specialized rendering for Markdown and JSON files. Additionally you can markup
and format text from the command line.
WWW: https://github.com/Textualize/rich-cli