git: f0a8676195fb - main - textproc/py-accessible-pygments: Add py-accessible-pygments 0.0.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Apr 2023 15:52:16 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f0a8676195fbe2120b876307e83b04bdba1f3edb commit f0a8676195fbe2120b876307e83b04bdba1f3edb Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-27 15:28:04 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-27 15:28:04 +0000 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. --- textproc/Makefile | 1 + textproc/py-accessible-pygments/Makefile | 22 ++++++++++++++++++++++ textproc/py-accessible-pygments/distinfo | 3 +++ textproc/py-accessible-pygments/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) 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.