git: 5f1b229c65c0 - main - www/py-wcag-contrast-ratio: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Apr 2023 09:35:14 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5f1b229c65c03259663c16b158f94d9eef71f678
commit 5f1b229c65c03259663c16b158f94d9eef71f678
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2023-04-11 09:31:54 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2023-04-11 09:31:54 +0000
www/py-wcag-contrast-ratio: Add new port
A Python library for computing contrast ratios, as required by WCAG 2.0.
https://github.com/gsnedders/wcag-contrast-ratio
---
www/Makefile | 1 +
www/py-wcag-contrast-ratio/Makefile | 16 ++++++++++++++++
www/py-wcag-contrast-ratio/distinfo | 3 +++
www/py-wcag-contrast-ratio/pkg-descr | 1 +
4 files changed, 21 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 9bab08c3c89f..707e47291172 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1815,6 +1815,7 @@
SUBDIR += py-wagtail-localize
SUBDIR += py-wagtail-transfer
SUBDIR += py-waitress
+ SUBDIR += py-wcag-contrast-ratio
SUBDIR += py-webargs
SUBDIR += py-webassets
SUBDIR += py-webob
diff --git a/www/py-wcag-contrast-ratio/Makefile b/www/py-wcag-contrast-ratio/Makefile
new file mode 100644
index 000000000000..89cc3be41543
--- /dev/null
+++ b/www/py-wcag-contrast-ratio/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= wcag-contrast-ratio
+DISTVERSION= 0.9
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Library for computing contrast ratios, as required by WCAG 2.0
+WWW= https://github.com/gsnedders/wcag-contrast-ratio
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-wcag-contrast-ratio/distinfo b/www/py-wcag-contrast-ratio/distinfo
new file mode 100644
index 000000000000..7fff369874b2
--- /dev/null
+++ b/www/py-wcag-contrast-ratio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681196320
+SHA256 (wcag-contrast-ratio-0.9.tar.gz) = 69192b8e5c0a7d0dc5ff1187eeb3e398141633a4bde51c69c87f58fe87ed361c
+SIZE (wcag-contrast-ratio-0.9.tar.gz) = 2131
diff --git a/www/py-wcag-contrast-ratio/pkg-descr b/www/py-wcag-contrast-ratio/pkg-descr
new file mode 100644
index 000000000000..4db6f2634420
--- /dev/null
+++ b/www/py-wcag-contrast-ratio/pkg-descr
@@ -0,0 +1 @@
+A Python library for computing contrast ratios, as required by WCAG 2.0.