textproc/py-rich12: Add py-rich12 12.6.0 (copied from py-rich)

- Update WWW
- Fix RUN_DEPNDS
- Add PORTSCOUT
This commit is contained in:
Po-Chuan Hsieh 2023-01-30 20:21:17 +08:00
parent 7e12280393
commit 633781113e
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 42 additions and 0 deletions

View File

@ -1491,6 +1491,7 @@
SUBDIR += py-rich
SUBDIR += py-rich-cli
SUBDIR += py-rich-rst
SUBDIR += py-rich12
SUBDIR += py-rnc2rng
SUBDIR += py-rss2gen
SUBDIR += py-rst2ansi

View File

@ -0,0 +1,31 @@
PORTNAME= rich
PORTVERSION= 12.6.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 12
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Rich text and beautiful formatting in the terminal
WWW= https://github.com/Textualize/rich
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}CommonMark>=0.9.0<0.10.0:textproc/py-CommonMark@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.6.0<3.0.0:textproc/py-pygments@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PORTSCOUT= limit:^12\.
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30900
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0<5.0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1665430659
SHA256 (rich-12.6.0.tar.gz) = ba3a3775974105c221d31141f2c116f4fd65c5ceb0698657a11e9f295ec93fd0
SIZE (rich-12.6.0.tar.gz) = 220114

View File

@ -0,0 +1,7 @@
Rich is a Python library for rich text and beautiful formatting in the
terminal.
The Rich API makes it easy to add color and style to terminal
output. Rich can also render pretty tables, progress bars, markdown,
syntax highlighted source code, tracebacks, and more -- out of the
box.