1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

textproc/py-accessible-pygments: Add py-accessible-pygments 0.0.4

Accessible pygments themes includes a collection of accessible themes for
pygments based on multiple open-source syntax highlighting themes.

Note: What do we mean by accessible? In this context we are specially referring
to themes which meet the WCAG 2.1 criteria for color contrast. Some themes
included are also color-blind friendly.
This commit is contained in:
Po-Chuan Hsieh 2023-04-27 23:28:04 +08:00
parent d37916f24e
commit f0a8676195
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 32 additions and 0 deletions

View File

@ -1280,6 +1280,7 @@
SUBDIR += py-QDarkStyle
SUBDIR += py-RTFDE
SUBDIR += py-Tempita
SUBDIR += py-accessible-pygments
SUBDIR += py-acora
SUBDIR += py-aeidon
SUBDIR += py-agate

View File

@ -0,0 +1,22 @@
PORTNAME= accessible-pygments
PORTVERSION= 0.0.4
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Collection of accessible pygments styles
WWW= https://github.com/Quansight-Labs/accessible-pygments
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.5:textproc/py-pygments@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.5:textproc/py-pygments@${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 = 1682354452
SHA256 (accessible-pygments-0.0.4.tar.gz) = e7b57a9b15958e9601c7e9eb07a440c813283545a20973f2574a5f453d0e953e
SIZE (accessible-pygments-0.0.4.tar.gz) = 11650

View File

@ -0,0 +1,6 @@
Accessible pygments themes includes a collection of accessible themes for
pygments based on multiple open-source syntax highlighting themes.
Note: What do we mean by accessible? In this context we are specially referring
to themes which meet the WCAG 2.1 criteria for color contrast. Some themes
included are also color-blind friendly.