From nobody Thu Apr 27 15:52:16 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q6gGm4bxFz47KLv; Thu, 27 Apr 2023 15:52:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q6gGm41B4z4F32; Thu, 27 Apr 2023 15:52:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682610736; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0gSxlxxI7AfnzIajxD0kvuQnghaln8hwgtrWxrep/Ak=; b=skjvhgy0mGNZz+oRMhk6MOskY4rSTyEj1cjG/mXZ0DEFysMPfHvLXfRcQA69XadA1DV/PW qngs6ch/8SwNRF0ViFtiP14Wsk7nQmR4mn1RcsAkukviDvs/SS+JugweKsNGiwd2Vci8fT GMmKhfilsSOTAP2jxnRPu6nmkUMOy8YLGUFir1TGxhFj2SHKQnHOg3CjK4S7e15NwYVcOA Awrz42SQpW+fxW9JE0etthS8SpLpoDpf/5JwS6jsVgs94Qad6S7ldRWeG4lHJUcnoX9Hgb EziRmT9a4dot6Uv861Aba0EtS1b8i2QvyvD4YvJGshBItfCBi/H1qXRXz4DMdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682610736; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0gSxlxxI7AfnzIajxD0kvuQnghaln8hwgtrWxrep/Ak=; b=OhsHShqpjFv9TEQVmvaOljFmIWicVNHlvoaQ0+iFjedVBqE11p/HAhIWT2PapygG7KyhTl CGXeLAJrsDJabHqqrSpQ/Sp7I1GnUewI2pVlYSR/WMQGiNixAgW181Jl1H7CcHpZCpUTDR JA4zTzHP0wWABkbsubj0XCFaWzY+oiEN8Zn5RmcUUYdbwaTIllareQbyAjWyH5S6D7BzcF fTsJhYcyYLs5N5rjYTw2UIs9vA4JeFV9tVOKLSOVPNJh1rhq3GNtX4P02rfG1QYYQGYwgI xQgFAAZbih2xrh/y/o8hby2HtJss0P23upYgFSJDxBiPp4Sa00uELlOwrcZkOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682610736; a=rsa-sha256; cv=none; b=k5JlLpeXoYY4HJrE7X+tuHQBdVkl60MzTHn4/MOGZsmb7S2/2ttUEDuf0iosX8skQ7/KUS c0jA808aj7Z2g3d4l1PsZ8j7vsj28+tSdUnmAQ8YCUhe8H30SlxvAgF8PfP7c7EMUjOeR7 hNWpaF1tGvvUmB8l7sK912itFqylKqaz1k2dd1Zyfn6Uo9+oatT5TWYJ01bvfs5B/vH5sC SLmx57ZsA8ZcUXI+TYYYlHzhCJb5RLMjz2eneAiSy6m1LkRJawBV2AEdt1UZeig/6IB9vg Kc1D/9XOwu7xrhrAXUh1dv5vTbbiYpu/DknWm2LJPm4Sxrl92DBOqJCQxeqeoQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q6gGm34KgzNsD; Thu, 27 Apr 2023 15:52:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33RFqG1A025571; Thu, 27 Apr 2023 15:52:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33RFqGOQ025570; Thu, 27 Apr 2023 15:52:16 GMT (envelope-from git) Date: Thu, 27 Apr 2023 15:52:16 GMT Message-Id: <202304271552.33RFqGOQ025570@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f0a8676195fb - main - textproc/py-accessible-pygments: Add py-accessible-pygments 0.0.4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f0a8676195fbe2120b876307e83b04bdba1f3edb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f0a8676195fbe2120b876307e83b04bdba1f3edb commit f0a8676195fbe2120b876307e83b04bdba1f3edb Author: Po-Chuan Hsieh AuthorDate: 2023-04-27 15:28:04 +0000 Commit: Po-Chuan Hsieh 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 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.