diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-04-27 23:28:04 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-04-27 23:28:04 +0800 |
commit | f0a8676195fbe2120b876307e83b04bdba1f3edb (patch) | |
tree | 0a1ca4d8947bd38df69548edddd6cc782845b821 /textproc | |
parent | graphics/py-python-barcode: Add py-python-barcode 0.14.0 (diff) |
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.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-accessible-pygments/Makefile | 22 | ||||
-rw-r--r-- | textproc/py-accessible-pygments/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-accessible-pygments/pkg-descr | 6 |
4 files changed, 32 insertions, 0 deletions
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 <bsd.port.mk> 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. |