diff --git a/textproc/Makefile b/textproc/Makefile index 5b45fcf9a27c..2d44c52739d0 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-accessible-pygments/Makefile b/textproc/py-accessible-pygments/Makefile new file mode 100644 index 000000000000..17d30177cd9d --- /dev/null +++ b/textproc/py-accessible-pygments/Makefile @@ -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 diff --git a/textproc/py-accessible-pygments/distinfo b/textproc/py-accessible-pygments/distinfo new file mode 100644 index 000000000000..60e5a3dd4092 --- /dev/null +++ b/textproc/py-accessible-pygments/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682354452 +SHA256 (accessible-pygments-0.0.4.tar.gz) = e7b57a9b15958e9601c7e9eb07a440c813283545a20973f2574a5f453d0e953e +SIZE (accessible-pygments-0.0.4.tar.gz) = 11650 diff --git a/textproc/py-accessible-pygments/pkg-descr b/textproc/py-accessible-pygments/pkg-descr new file mode 100644 index 000000000000..1c68267265df --- /dev/null +++ b/textproc/py-accessible-pygments/pkg-descr @@ -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.